Page 1 of 1

[Rseding91] [2.0.28] No event when equipment is removed by a bot

Posted: Mon Jan 13, 2025 6:55 pm
by half a cat
I believe that the on_equipment_removed event should be triggered whenever equipment is removed from an equipment grid. However, it is not triggered when a bot removes equipment from an equipment grid. As far as I can tell, no other event is triggered, either. This is a problem for mods that want to detect when equipment has changed.

The attached save has an example where a bot will remove equipment from a character entity's equipment grid, and no event will be triggered. The save is only to demonstrate the situation; it does not use any mods that handle events. The same problem happens with equipment grids in a tank or a locomotive.

Expected behavior:

When a bot removes equipment from an equipment grid, an on_equipment_removed event is created. The event is the same as if a player removes equipment.

Observed behavior:

No event is created.

Re: [Rseding91] [2.0.28] No event when equipment is removed by a bot

Posted: Mon Jan 13, 2025 7:52 pm
by Rseding91
Thanks for the report. This is now fixed for the next release.