Add removed LuaEquipment instance to events
Posted: Sun Feb 19, 2023 9:49 pm
For my mod I'm currently missing a way to recover the fuel's burnt_result when a player removes a burner-powered equipment from an equipment grid. There are on_player_removed_equipment and on_equipment_removed events, but they only contain the prototype of the removed equipment (and count), not the instance(s) containing the relevant burner instance.
And yes, there are mods using burner-powered equipment which is even spitting out fuel containers.
And yes, there are mods using burner-powered equipment which is even spitting out fuel containers.