Prototype/Module: Difference between revisions
Jump to navigation
Jump to search
Converted to SMW format |
Deadlock989 (talk | contribs) |
||
| Line 8: | Line 8: | ||
{{Prototype property|category|[[Types/string|string]]}} | {{Prototype property|category|[[Types/string|string]]}} | ||
The name of a module category. | The name of a module category. Used when upgrading modules. Must match the name of a registered [[Prototype/ModuleCategory]]. | ||
{{Prototype property|tier|[[Types/uint32|uint32]]}} | {{Prototype property|tier|[[Types/uint32|uint32]]}} | ||
Revision as of 10:47, 5 August 2019
Template:Prototype parent A module.
Mandatory properties
This prototype inherits all the properties from Prototype/Item.
Template:Prototype property The name of a module category. Used when upgrading modules. Must match the name of a registered Prototype/ModuleCategory.
Optional properties
Template:Prototype property Array of recipe names this module can be used on. If empty, the module can be used on all recipes.
Template:Prototype property
Mandatory when limitation is present. The locale key of the message that is shown when the player attempts to use the module on a recipe it can't be used on. The locale key will be prefixed with item-limitation. (the "category" of the locale) by the game.