PrototypeBase: Difference between revisions
(Overhaul incoming) |
(Added prototype type to page) |
||
Line 1: | Line 1: | ||
{{about|the abstract base of all prototypes|a list of all available prototype types|prototype definitions|a list of vanilla prototypes|data.raw}} | {{about|the abstract base of all prototypes|a list of all available prototype types|prototype definitions|a list of vanilla prototypes|data.raw}} | ||
== Basics == | == Basics == | ||
This type is abstract and cannot be created directly. | |||
The abstract base for all prototypes. All prototypes inherit from this prototype. | The abstract base for all prototypes. All prototypes inherit from this prototype. | ||
Revision as of 16:27, 21 January 2019
This article is about the abstract base of all prototypes. For a list of all available prototype types, see prototype definitions. For a list of vanilla prototypes, see data.raw.
Basics
This type is abstract and cannot be created directly.
The abstract base for all prototypes. All prototypes inherit from this prototype.
Mandatory properties
type
Type: Types/string
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.
name
Type: Types/string
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
order
Type: Types/Order
Used to order items in inventory, recipes and GUI's.
May not exceed a length of 200 characters.
localised_name
Type: Types/LocalisedString
localised_description
Type: Types/LocalisedString