I'm trying to figure out why grid.equipment doesn't work. In the Factorio LuaEquipmentGrid section of the Factorio API (https://lua-api.factorio.com/latest/cla ... tGrid.html) there is a list of functions and parameters, but I can't index the equipment parameter. whenever I try it gives me the following error: "LuaEntity doesn't contain key equipment". Does anyone know why or how to fix this?
I know I got the equipment grid because when I try grid.shield, it gives me a value corresponding to the shield health.
Help with LuaEquipmentGrid equipment
Re: Help with LuaEquipmentGrid equipment
Nevermind, I figured it out. I forgot to change something