LuaEntityPrototype.inventory_size

User avatar
Mooncat
Smart Inserter
Smart Inserter
Posts: 1197
Joined: Wed May 18, 2016 4:55 pm
Contact:

LuaEntityPrototype.inventory_size

Post 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. :)
Rseding91
Factorio Staff
Factorio Staff
Posts: 14913
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: LuaEntityPrototype.inventory_size

Post by Rseding91 »

Added for 0.15: get_inventory_size on LuaEntityPrototype that uses the same inventory indexes as get_inventory.
If you want to get ahold of me I'm almost always on Discord.
User avatar
Mooncat
Smart Inserter
Smart Inserter
Posts: 1197
Joined: Wed May 18, 2016 4:55 pm
Contact:

Re: LuaEntityPrototype.inventory_size

Post by Mooncat »

Thanks! :D <3
Post Reply

Return to “Implemented mod requests”