Page 1 of 1

LuaEntityPrototype.inventory_size

Posted: Sat Oct 15, 2016 10:25 am
by Mooncat
Request:
Add the inventory_size property for LuaEntityPrototype so we know the inventory size of chest prototypes without the need of getting any chest on the map. :)

Re: LuaEntityPrototype.inventory_size

Posted: Fri Feb 17, 2017 6:52 am
by Rseding91
Added for 0.15: get_inventory_size on LuaEntityPrototype that uses the same inventory indexes as get_inventory.

Re: LuaEntityPrototype.inventory_size

Posted: Fri Feb 17, 2017 5:24 pm
by Mooncat
Thanks! :D <3