Template:Mutation/doc

From Caves of Qud Wiki
< Template:Mutation
Revision as of 18:58, 26 June 2019 by Teamtoto (talk | contribs) (Better documentation)
Jump to navigation Jump to search
Parameter Explanation Data type
title The name of the mutation. string
image The image. Mutations usually don't have one unless they are body part replacing. 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
av the base armor value at level 1 int
dv The base dodge value at level 1 int
exclusions the mutations that cannot be selected when this one is. Wikilinks to the associated mutations
code The creation code that is used for the build code. string
id The name of the object in Mutations.xml string
agility/strength/willpower/toughness/agility/intelligence The stats the mutations affect. (+/-)(int)
acid/electric/cold/heat The elemental resistances/weaknesses the mutation has. (+/-)(int)
realitydistort If the mutation is affected by normality effects. true/false
desc The short description of the mutation. The whole string, with color codes included

Usage:

{{Mutation
| title = Burrowing Claws
| image = none
| type = Physical
| cost = 2
| av = 1
| dv = 0
| id = Burrowing Claws
| exclusions = [[Flaming Hands]], [[Freezing Hands]]
| code = bb
| desc = ya dig?
| footer = These attributes assume that the mutation is level 1.
}}
Burrowing Claws
Category

Physical

Cost

2

ExclusionsOther mutations that cannot be
selected with this mutation

[[Flaming Hands]], [[Freezing Hands]]

ID?Use this ID to wish for the mutation
(example: mutation:Burrowing Claws)

Burrowing Claws

Burrowing Claws

ya dig?