PrototypeBase: Difference between revisions
Jump to navigation
Jump to search
Set prototype parent |
Converted to SMW format |
||
Line 1: | Line 1: | ||
{{Prototype parent}} | {{Prototype parent}} | ||
The abstract base for all prototypes. All prototypes inherit from this prototype. | The abstract base for all prototypes. All prototypes inherit from this prototype. | ||
== Mandatory properties == | == Mandatory properties == | ||
{{Prototype_property|type|[[Types/string|string]]}} | |||
Specification of the type of the prototype. | Specification of the type of the prototype. | ||
For a list of all available types and their properties, see [[prototype definitions]]. For a list of all types used in vanilla, see [[data.raw]]. | For a list of all available types and their properties, see [[prototype definitions]]. For a list of all types used in vanilla, see [[data.raw]]. | ||
{{Prototype_property|name|[[Types/string|string]]}} | |||
Unique textual identification of the prototype. | Unique textual identification of the prototype. | ||
Line 24: | Line 17: | ||
== Optional properties == | == Optional properties == | ||
{{Prototype_property|order|[[Types/Order|Order]]|optional=true}} | |||
Used to order items in inventory, recipes and GUI's. | Used to order items in inventory, recipes and GUI's. | ||
May not exceed a length of 200 characters. | May not exceed a length of 200 characters. | ||
{{Prototype_property|localised_name|[[Types/LocalisedString|LocalisedString]]|optional=true}} | |||
{{Prototype_property|localised_description|[[Types/LocalisedString|LocalisedString]]|optional=true}} | |||
Revision as of 13:36, 26 July 2019
Template:Prototype parent The abstract base for all prototypes. All prototypes inherit from this prototype.
Mandatory properties
Template:Prototype property Specification of the type of the prototype.
For a list of all available types and their properties, see prototype definitions. For a list of all types used in vanilla, see data.raw.
Template:Prototype property Unique textual identification of the prototype.
For a list of all names used in vanilla, see data.raw.
May not contain .
, may not exceed a length of 200 characters.
Optional properties
Template:Prototype property Used to order items in inventory, recipes and GUI's.
May not exceed a length of 200 characters.