Template:Extra info: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(store new values in cargo)
(updated cursed text)
Line 37: Line 37:
-->{{#ifeq: {{{omniphaseprojectile|}}} | yes |<li>[[Omniphase]] projectiles}}<!--
-->{{#ifeq: {{{omniphaseprojectile|}}} | yes |<li>[[Omniphase]] projectiles}}<!--
-->{{#if: {{{shotcooldown|}}} |<li>Must cooldown for {{dice tooltip| {{{shotcooldown}}} }} turns after use}}<!--
-->{{#if: {{{shotcooldown|}}} |<li>Must cooldown for {{dice tooltip| {{{shotcooldown}}} }} turns after use}}<!--
-->{{#ifeq: {{{cursed|}}} | yes |<li>Cannot be unequipped}}<!--
-->{{#ifeq: {{{cursed|}}} | yes |<li>[[Item Properties#Cannot be removed once equipped|Cannot be removed once equipped]]}}<!--
-->{{#ifeq: {{{empsensitive|}}} | yes |<li>[[EMP]] Sensitive}}<!--
-->{{#ifeq: {{{empsensitive|}}} | yes |<li>[[EMP]] Sensitive}}<!--
-->{{#ifeq: {{{exoticfood|}}} | yes |<li>Exotic food}}<!--
-->{{#ifeq: {{{exoticfood|}}} | yes |<li>Exotic food}}<!--
Line 103: Line 103:
| cursed
| cursed
| yes
| yes
| Cannot be unequipped
| [[Item Properties#Cannot be removed once equipped|Cannot be removed once equipped]]
|-
|-
| empsensitive
| empsensitive

Revision as of 14:03, 22 September 2019

This template defines the table "ExtraInfo". View table.To be used only in the Extra variable in Template:Character and Template:Item.

variable possible values output
aquatic yes This creature is aquatic.
isswarmer (if swarmbonus not specified) yes Swarmer: This creature receives +1 to its to-hit and penetration rolls for each other swarmer beyond the first who is adjacent to its target.
swarmbonus (and isswarmer is specified) ye Swarm Alpha: As long as this creature is adjacent to its target, it grants +{{{swarmbonus}}} to the swarm bonuses of each other swarmer who is adjacent to its target.
flyover yes Can be flown over.
solid yes/no Can/cannot be walked on/through
twohanded yes Requires two hands to wield
metal yes Made out of Metal
lightprojectile yes Light projectiles
shotcooldown dice string (ex: 1d4) Cooldown turns required between missile weapon shots
penetratingammo yes Projectile penetrates through targets
omniphaseprojectile yes Projectile is omniphase (can hit creatures regardless of phase)
cursed yes Cannot be removed once equipped
empsensitive yes EMP Sensitive
exoticfood yes Exotic food
destroyonunequip yes Destroyed when unequipped
spectacles yes Corrects vision
carrybonus integer +(number) to max carry weight
savemodifier, savemodifieramt string,int (number) vs. (savemodifier)
reflect int Reflects {{{reflect}}}% of damage, rounded up
movespeedbonus int {{{movespeedbonus}}} Movespeed
uniquechara yes This creature is unique
extrainfo any other info that does not fit