Prototype/EquipmentGrid: Difference between revisions
Jump to navigation
Jump to search
(→equipment_categories: desc) |
(Note 255 instance limit) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Prototype parent|PrototypeBase}} | |||
The prototype of an equipment grid, for example the one used in a [[power armor]]. | The prototype of an equipment grid, for example the one used in a [[power armor]]. Only 255 instances of this prototype may be defined. | ||
{{Prototype TOC|equipment-grid}} | |||
== Mandatory properties == | == Mandatory properties == | ||
Inherits all properties from [[Prototype]]. | Inherits all properties from [[PrototypeBase]]. | ||
{{Prototype property|equipment_categories|[[Types/table|table]] of [[Types/string|string]]}} | |||
An array of [[Prototype/EquipmentCategory]] names. Only [[Prototype/Equipment]] with at least one of these categories can be inserted into the grid. | |||
{{Prototype property|width|[[Types/uint32|uint32]]}} | |||
{{Prototype property|height|[[Types/uint32|uint32]]}} | |||
=== | == Optional properties == | ||
{{Prototype property|locked|[[Types/bool|bool]]|false|optional=true}} | |||
Whether this locked from user interaction which means that the user cannot put equipment into or take equipment from this equipment grid. |
Latest revision as of 12:55, 23 April 2021
Prototype definitions » PrototypeBase » Prototype/EquipmentGrid
The prototype of an equipment grid, for example the one used in a power armor. Only 255 instances of this prototype may be defined.
Prototype/EquipmentGrid — equipment-grid | ||
equipment_categories | :: | table of string |
height | :: | uint32 |
width | :: | uint32 |
locked | :: | bool (optional) |
Inherited from PrototypeBase | ||
name | :: | string |
type | :: | string |
localised_description | :: | LocalisedString (optional) |
localised_name | :: | LocalisedString (optional) |
order | :: | Order (optional) |
Mandatory properties
Inherits all properties from PrototypeBase.
equipment_categories
Type: table of 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: uint32
height
Type: uint32
Optional properties
locked
Type: bool
Default: false
Whether this locked from user interaction which means that the user cannot put equipment into or take equipment from this equipment grid.