Template:Mutation/doc: Difference between revisions
Jump to navigation
Jump to search
(Add variants parameter) |
mNo edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
{{Mutation | {{Mutation | ||
| title = {{PAGENAME}} | | title = {{PAGENAME}} | ||
| image = | | image = | ||
| type = | | type = | ||
| cost = | | cost = | ||
| slots = | | slots = | ||
| canequipslots = | |||
| id = | | id = | ||
| exclusions = | | exclusions = | ||
Line 13: | Line 14: | ||
| realitydistort = | | realitydistort = | ||
| npconly = | | npconly = | ||
| deprecated = | |||
}} | }} | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 25: | Line 27: | ||
|- | |- | ||
|image | |image | ||
|The image | |The image that represents the mutation | ||
|mutation name.png/none | |mutation name.png/none | ||
|- | |- | ||
Line 35: | Line 37: | ||
|How many mutation points it costs to buy. | |How many mutation points it costs to buy. | ||
|int | |int | ||
|- | |||
|slots | |||
|which body slots this mutation takes up | |||
|comma-delimited list | |||
|- | |||
|canequipslots | |||
|whether equipment can be worn over the top of the mutated body slot | |||
|yes/no | |||
|- | |- | ||
|exclusions | |exclusions | ||
Line 41: | Line 51: | ||
|- | |- | ||
|variants | |variants | ||
|Character creation variants for this mutation (such as | |Character creation variants for this mutation (such as <code>Horns, Horn, Antlers, Casque</code>) | ||
| | |comma-delimited list | ||
|- | |- | ||
|code | |code | ||
Line 61: | Line 71: | ||
|- | |- | ||
|npconly | |npconly | ||
| | |set this to "yes" if this mutation is <b><u>not</u></b> available to the player during character creation | ||
| yes/no | |||
|- | |||
|deprecated | |||
|has this mutation been removed from the game? | |||
| yes/no | | yes/no | ||
|} | |} | ||
Line 69: | Line 83: | ||
{{Mutation | {{Mutation | ||
| title = Burrowing Claws | | title = Burrowing Claws | ||
| image = | | image = burrowing claws mutation.png | ||
| type = Physical | | type = Physical | ||
| cost = 2 | | cost = 2 | ||
Line 79: | Line 93: | ||
}} | }} | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{suppress categories| | |||
{{Mutation | {{Mutation | ||
| title = Burrowing Claws | | title = Burrowing Claws | ||
| image = | | image = burrowing claws mutation.png | ||
| type = Physical | | type = Physical | ||
| cost = 2 | | cost = 2 | ||
Line 89: | Line 104: | ||
| code = bb | | code = bb | ||
| desc = ya dig? | | desc = ya dig? | ||
}} | |||
}} | }} |
Latest revision as of 15:51, 11 October 2021
{{Mutation
| title = {{PAGENAME}}
| image =
| type =
| cost =
| slots =
| canequipslots =
| id =
| exclusions =
| variants =
| code =
| desc =
| realitydistort =
| npconly =
| deprecated =
}}
Parameter | Explanation | Data type |
---|---|---|
title | The name of the mutation. | string |
image | The image that represents the mutation | mutation name.png/none |
type | The category of mutation it is in. Auto adds the mutation to that category in the wiki. | Physical/Mental/Physical defect/Mental defect |
cost | How many mutation points it costs to buy. | int |
slots | which body slots this mutation takes up | comma-delimited list |
canequipslots | whether equipment can be worn over the top of the mutated body slot | yes/no |
exclusions | the mutations that cannot be selected when this one is. | Wikilinks to the associated mutations |
variants | Character creation variants for this mutation (such as Horns, Horn, Antlers, Casque )
|
comma-delimited list |
code | The creation code that is used for the build code. | string |
id | The name of the object in Mutations.xml | string |
realitydistort | If the mutation is affected by normality effects. | yes/no |
desc | The short description of the mutation. | The whole string, with color codes included |
npconly | set this to "yes" if this mutation is not available to the player during character creation | yes/no |
deprecated | has this mutation been removed from the game? | yes/no |
Usage:
{{Mutation
| title = Burrowing Claws
| image = burrowing claws mutation.png
| type = Physical
| cost = 2
| slots = Hands
| id = Burrowing Claws
| exclusions = Flaming Hands, Freezing Hands
| code = bb
| desc = ya dig?
}}
Burrowing Claws
Category
|
Physical |
---|---|
Cost
|
2 |
Body LocationThe body part(s) where this
mutation can be located |
Hands |
ExclusionsOther mutations that cannot be
selected with this mutation |
|
ID?Use this ID to wish for the mutation
(example: mutation:Burrowing Claws ) |
Burrowing Claws |
Burrowing Claws
ya dig?