Prototype/Module: Difference between revisions
Jump to navigation
Jump to search
(Set prototype parent) |
(Converted to SMW format) |
||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/Item}} | {{Prototype parent|Prototype/Item}} | ||
A [[module]]. | |||
{{Prototype TOC|module}} | |||
Prototype | |||
== Mandatory properties == | == Mandatory properties == | ||
This prototype inherits all the properties from [[Prototype/Item]]. | This prototype inherits all the properties from [[Prototype/Item]]. | ||
{{Prototype property|category|[[Types/string|string]]}} | |||
The name of a module category. | The name of a module category. | ||
{{Prototype property|tier|[[Types/uint32|uint32]]}} | |||
{{Prototype property|effect|[[Types/Effect|Effect]]}} | |||
== Optional properties == | == Optional properties == | ||
{{Prototype property|limitation|[[Types/table|table]] of [[Types/string|string]]|optional=true}} | |||
Array of recipe names this module can be used on. If empty, the module can be used on all recipes. | Array of recipe names this module can be used on. If empty, the module can be used on all recipes. | ||
{{Prototype property|limitation_message_key|[[Types/string|string]]|optional=true}} | |||
Mandatory when <code>limitation</code> 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 <code>item-limitation.</code> (the "category" of the locale) by the game. | Mandatory when <code>limitation</code> 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 <code>item-limitation.</code> (the "category" of the locale) by the game. |
Revision as of 16:01, 26 July 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.
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.