Page 1 of 1

event when an inserter puts something into an equipment grid?

Posted: Sun Apr 07, 2019 12:11 am
by mrudat
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?

Re: event when an inserter puts something into an equipment grid?

Posted: Mon Apr 08, 2019 3:32 pm
by Rseding91
As far as I know, inserters don't ever put stuff into equipment grids. If they are, then something is broken because they aren't meant to.