Prototype/BlueprintBook: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
Honktown (talk | contribs)
m Mandatory values: "dynamic" inventory size
Tag: Reverted
Honktown (talk | contribs)
m Mandatory values: better dynamic description?
Tag: Reverted
Line 7: Line 7:
Blueprint books must have a stack size of 1.
Blueprint books must have a stack size of 1.


{{Prototype property|inventory_size|[[Types/ItemStackIndex|ItemStackIndex]] or [[Types/string|"dynamic"]]}}
{{Prototype property|inventory_size|[[Types/ItemStackIndex|ItemStackIndex]] or [[Types/string|string]]}}
The inventory size of the item. If "dynamic", the size of the LuaInventory object is the last occupied blueprint / book slot.
The inventory size of the item. The only accepted string is "dynamic". If "dynamic", the size of the LuaInventory object is the last occupied blueprint / book slot.

Revision as of 01:19, 25 March 2023

Template:Prototype parent A blueprint book.

Template:Prototype TOC

Mandatory values

Blueprint books must have a stack size of 1.

Template:Prototype property The inventory size of the item. The only accepted string is "dynamic". If "dynamic", the size of the LuaInventory object is the last occupied blueprint / book slot.