Page 1 of 1

Provide a way to access ghost's inventory

Posted: Thu Oct 31, 2024 2:17 pm
by Atria
Right now what I ask for LuaEntity.get_inventory(defines.inventory.chest) of ghost entity (which ghost is a chest) I get nil.

However this is possible to do in the game (for example to set a inventory bar or set construction requests to fill certain slots).

Allow mods to access ghost entity inventory same as players can do in game, please.