The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/prototypes/PrototypeBase.html
This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.
The abstract base for prototypes. PrototypeBase defines the common features of prototypes, such as localization and order.
|PrototypeBase — |
Specification of the type of the prototype.
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.
Used to order prototypes in inventory, recipes and GUI's.
May not exceed a length of 200 characters.
Overwrites the name set in the locale file. Can be used to easily set a procedurally-generated name because the LocalisedString format allows to insert parameters into the name directly from the Lua script.