event when an inserter puts something into an equipment grid?
Posted: Sun Apr 07, 2019 12:11 am
We have an event that fires when a player puts an item into an equipment grid, but there isn't a corresponding event when anything other than a player does so.
This prevents mods that watch the equipment grid from performing magic (swapping out equipment, fiddling with energy, tracking installed equipment, etc.)
At a minimum, perhaps 'script_raised_placed_equipment' and 'script_raised_removed_equipment', to handle the case of spawning a vehicle, then immediately populating its equipment grid?
This prevents mods that watch the equipment grid from performing magic (swapping out equipment, fiddling with energy, tracking installed equipment, etc.)
At a minimum, perhaps 'script_raised_placed_equipment' and 'script_raised_removed_equipment', to handle the case of spawning a vehicle, then immediately populating its equipment grid?