I'm trying to create a command that spawns a Spidertron and fills it with equipment, but I don't understand how to 'access' the equipment grid.
I hoped it would be similar to how you insert items into power armor (https://wiki.factorio.com/Console#Add_i ... _inventory)
When I looked at the defines here https://lua-api.factorio.com/latest/def ... .inventory, I only found those..
Code: Select all
defines.inventory.spider_trunk
defines.inventory.spider_ammo
defines.inventory.spider_trash
P.S.
I'm NOT a modder. I'm just trying to this console thingy. It took me a while to figure this out, Is there some fast way to inspect entities through the console.. something like
Code: Select all
/c tojson(entity)