Template:Character/doc

From Caves of Qud Wiki
< Template:Character
Revision as of 23:26, 2 October 2021 by Egocarib (talk | contribs) (update docs)
Jump to navigation Jump to search
Template-info.png Documentation

Usage Example:

{{Character
| title = {{Qud text|Jotun, Who Parts Limbs}}
| image = jotun who parts limbs.png
| lv = 17
| hp = 165
| av = 6
| dv = 10
| ma = 3
| id = Troll King 1
| colorstr = &M
| renderstr = T
| corpse = Troll Corpse
| corpsechance = 90
| role = Hero
| extra = {{Extra info|swarmbonus = 2 | uniquechara = yes}}
| inheritingfrom = Troll King
| quickness = 100
| movespeed = 100
| strength = 34+1
| agility = 24
| toughness = 29+2
| intelligence = 12
| willpower = 14
| ego = 19
| strengthmult = 1.5
| toughnessmult = 1.5
| acid = 0
| electric = 25
| cold = 50
| heat = 0
| xpvalue = 1000
| xptier = 3
| faction = {{creature faction|{{FactionID to name|Trolls}}|100}}
| demeanor = neutral
| gender = male
| inventory = {{inventory|Battle Axe3th|1|no|100}}{{inventory|Battle Axe4th|1|no|100}}{{inventory|ThrowingAxe|16|no|100}}{{inventory|Copper Trollking Key|1|no|100}}
| skills = {{SkillID to name|Axe}} </br>{{SkillID to name|Axe_Expertise}} </br>{{SkillID to name|Axe_Dismember}} </br>{{SkillID to name|Axe_Cleave}} </br>{{SkillID to name|Axe_HookAndDrag}} </br>{{SkillID to name|Tactics_Charge}} </br>{{SkillID to name|Dual_Wield_Offhand_Strikes}} </br>{{SkillID to name|Dual_Wield_Ambidexterity}} </br>{{SkillID to name|Cudgel}}
| mutations = {{creature mutation|{{MutationID to name|DarkVision}}|3|19}}
| desc = The troll called Jotun slumps beneath the weight of =pronouns.possessive= broad and cragged back. Soaking fibers of inky, unkempt hair enswathe the great, pale rocks that are =pronouns.possessive= shoulders. Crossed over =pronouns.possessive= chest are two carbide axes, their shafts knurled and rotting with rust. Jotun's rumpled eyelids lay half-shut over the discs of =pronouns.possessive= sluggish eyes as =pronouns.subjective= =verb:recline:afterpronoun= in =pronouns.possessive= bath of convalessence.
| categories = Unique Characters
}}

Additional supported parameters include:

quickness defaults to 100
movespeed defaults to 100
id object ID of the character (used for wishing)
gender example: Female
pronouns example: She/Her
inventory one or more objects using Template:Inventory.
equipment one or more objects using Template:Inventory. Be sure to specify the equipped parameter for these.
skills skill list delimited by </br>. For example: Tactful</br>Gadget Inspector</br>Disassemble
mutations one or more things using the Template:Creature mutation template.
corpse ID of the corpse object associated with this character
corpsechance percent chance for the corpse to drop (1-100)
harvestedinto the thing this can be harvested into.
lightradius the radius of light emitted by this creature or object
chairlevel the Chair Level of this chair. Affects the power of sitting.
chargeuse amount of energy required per use
chargefunction what the charge is used for
energycellrequired whether an energy cell is required to power this object
role The character role. For example: Hero, NPC, or Minion.
extra Any extra information. Sheba uses this.
isswarmer If part="Swarmer" exists. yes/no
swarmbonus if isswarmer, the ExtraBonus if there is one. This determines if it's Swarmer or Swarm Alpha. Integer
supportedmods the list of mods this object supports (comma-delimited)
desc description. Will be automatically prettified using Template:Qud look. Variables surrounded in = will be replaced with their respective words according to the gender and/or pronouns specified using Template:Grammar. If no gender is specified, it will default to nonspecified. (they/them/their)