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.
[Rseding91] [2.0.28] No event when equipment is removed by a bot
-
- Inserter
- Posts: 31
- Joined: Sun Jul 16, 2023 4:03 pm
- Contact:
[Rseding91] [2.0.28] No event when equipment is removed by a bot
- Attachments
-
- test-equipment.zip
- (2.24 MiB) Downloaded 2 times
Re: [Rseding91] [2.0.28] No event when equipment is removed by a bot
Thanks for the report. This is now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.