for my mod i request to know how many energy was inside removed equipment items. Is there possible to add some optional arguments to get result.
Ideas:
- add event: on_player_pre_removed_equipment: equipment: LuaEquipment, grid: LuaEquipmentGrid, owner: LuaEntity
- add event value: energy: array of table { name: string, energy: int }
This API extension can be also used for other modes handling with bateries, may need also extension to add charged equipment items.
Thanks for reaction,
DeznekCZ