LuaEquipmentGrid link to which item contains the grid?

Things that we aren't going to implement
Post Reply
sparr
Smart Inserter
Smart Inserter
Posts: 1330
Joined: Fri Feb 14, 2014 5:52 pm
Contact:

LuaEquipmentGrid link to which item contains the grid?

Post by sparr »

When the on_player_placed_equipment event fires, we get the equipment and the grid it was placed into. I want to know what item that grid is attached to (armor, vehicle, etc). At least its name/prototype, preferably also the LuaItemStack if it's an inventory item like armor or LuaEntity if it's a vehicle.


Post Reply

Return to “Won't implement”