Prototype/EquipmentGrid: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Set prototype parent)
m (words)
Line 12: Line 12:
'''Type''': [[Types/table]] of [[Types/string]]
'''Type''': [[Types/table]] of [[Types/string]]


An array of equipment-category names. Only equipment with this category can be inserted into the grid.
An array of [[Prototype/EquipmentCategory]] names. Only [[Prototype/Equipment]] with at least one of these categories can be inserted into the grid.


=== width ===
=== width ===

Revision as of 20:45, 27 July 2019

Template:Prototype parent

Basics

Prototype type: equipment-grid

The prototype of an equipment grid, for example the one used in a power armor. Extends PrototypeBase.

Mandatory properties

Inherits all properties from PrototypeBase.

equipment_categories

Type: Types/table of Types/string

An array of Prototype/EquipmentCategory names. Only Prototype/Equipment with at least one of these categories can be inserted into the grid.

width

Type: Types/uint32

height

Type: Types/uint32

Optional properties

locked

Type: Types/bool