Template:Extra info: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(Created page with "<noinclude>{{#cargo_declare:_table=ExtraInfo|Info=List (</br>) of String}}</noinclude><includeonly><!-- Cargo Storage -->{{#cargo_store:_table=ExtraInfo|Info={{#ifeq: {{{is...")
 
(gas immunity tracking)
 
(90 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>{{#cargo_declare:_table=ExtraInfo|Info=List (</br>) of String}}</noinclude><includeonly><!--
<noinclude>{{#cargo_declare:_table=ExtraInfo|Info=Text|JoinKey=String|ObjectID=String}}</noinclude><includeonly><!--


   Cargo Storage
   Cargo Storage
-->{{#cargo_store:_table=ExtraInfo|Info={{#ifeq: {{{isswarmer|}}}|yes|{{#if:{{{swarmbonus|}}}|Swarm Alpha: +{{{swarmbonus}}}</br>|Swarmer</br>}}}}{{#ifeq: {{{aquatic|}}}|yes|Aquatic</br>}}{{#ifeq: {{{flyover|}}}|yes|Flyover</br>}}{{#switch:{{{solid|}}}|yes=Solid</br>|no=Not Solid</br>}}{{#ifeq: {{{twohanded|}}}| yes |Two Handed</br>}} {{#ifeq: {{{metal|}}} | yes |Metal</br>}} {{#ifeq: {{{lightprojectile|}}} | yes |Light Projectiles</br>}} {{#ifeq: {{{cursed|}}} | yes |Not Unequippable</br>}} {{#ifeq: {{{empsensitive|}}} | yes |EMP Sensitive</br>}} {{#ifeq: {{{exoticfood|}}} | yes |Exotic food</br>}}{{#ifeq: {{{destroyonunequip|}}} | yes | Destroyed when unequipped</br>}}{{#ifeq: {{{spectacles|}}} | yes | Corrects Vision</br>}}{{{{extra|}}} }}<!--
 
-->{{#cargo_store:_table=ExtraInfo|Info={{#ifeq: {{{isswarmer|}}}|yes|{{#if:{{{swarmbonus|}}}|Swarm Alpha: +{{{swarmbonus}}},,, |Swarmer,,, }}
}} {{#ifeq: {{{aquatic|}}}|yes|Aquatic,,,
}} {{#ifeq: {{{flyover|}}}|yes|Flyover,,,
}} {{#switch:{{{solid|}}}|yes=Solid,,, |no=NotSolid,,,
}} {{#ifeq: {{{twohanded|}}}| yes |Two Handed,,,
}} {{#ifeq: {{{metal|}}} | yes |Metal,,,
}} {{#ifeq: {{{lightprojectile|}}} | yes |Light Projectiles,,,
}} {{#ifeq: {{{penetratingammo|}}} | yes |Penetrating Ammo,,,
}} {{#ifeq: {{{omniphaseprojectile|}}} | yes |Omniphase Projectiles,,,
}} {{#if: {{{shotcooldown|}}} |Shot cooldown {{{shotcooldown}}},,,
}} {{#ifeq: {{{cursed|}}} | yes |Cursed,,,
}} {{#ifeq: {{{filtersgas|}}} | yes |Filters gas,,,
}} {{#ifeq: {{{gasimmuneconfusion|}}} | yes | Confusion gas immune,,,
}} {{#ifeq: {{{gasimmunesleep|}}} | yes | Sleep gas immune,,,
}} {{#ifeq: {{{empsensitive|}}} | yes |EMP Sensitive,,,
}} {{#ifeq: {{{powerloadsensitive|}}} | yes |Power load-sensitive,,,
}} {{#ifeq: {{{exoticfood|}}} | yes |Exotic food,,,
}} {{#ifeq: {{{destroyonunequip|}}} | yes | Destroyed when unequipped,,,
}} {{#ifeq: {{{spectacles|}}} | yes |Corrects Vision,,,
}} {{#ifeq: {{{refractive|}}} | yes |Refractive,,,
}} {{#ifeq: {{{flashprotection|}}} | yes |Flash protection,,,
}} {{#if: {{{carrybonus|}}} |{{{carrybonus}}}% to max carry weight,,,
}} {{#if: {{{movespeedbonus|}}}|{{{movespeedbonus}}} Movespeed,,,
}} {{#if: {{{savemodifier|}}}|{{{savemodifieramt}}} on saves vs. {{{savemodifier}}},,,
}} {{#switch: {{{uniquechara|}}}|yes=Unique,,,
}} {{#switch: {{{pettable|}}}|yes=Pettable,,,|no=NoPettable,,,
}} {{#if: {{{flametemperature|}}}|{{{flametemperature}}} flame temperature,,,
}} {{#if: {{{bleedliquid|}}}|{{{bleedliquid}}} blood,,,
}} {{#if: {{{liquidburst|}}}|{{{liquidburst}}} liquid burst,,,
}} {{#if: {{{hidden|}}}|Hidden at {{{hidden}}},,,
}} {{#ifeq: {{{energycellrequired|}}}|yes|energy cell required,,,
}} {{#ifeq: {{{energyammoloader|}}}|yes|EnergyAmmoLoader,,,
}} {{#if: {{{temponenter|}}}|{{{temponenter}}}Temp on enter,,,
}} {{#ifeq: {{{isoccluding|}}}| yes| Occluding,,,
}} {{#ifeq: {{{waterritualable|}}}| yes| Ritualable,,,
}} {{#ifeq: {{{iscurrency|}}}| yes| Currency,,,
}} {{#ifeq: {{{noprone|}}}| yes| NoKnockdown,,,
}} {{#if: {{{phase|}}} | {{{phase}}} phase type,,,
}} {{#ifeq: {{{realitydistortionbased|}}} | yes |Reality distortion-based,,,
}} {{#if: {{{leakswhenbroken|}}} |Leaks {{{leakswhenbroken}}}% per turn when broken,,,
}} {{#if: {{{mutatedplant|}}} |Mutated plant,,,
}} {{#if: {{{animatable|}}} |Animatable,,,
}} {{#if: {{{enclosing|}}} |Enclosing,,,
}} {{#if: {{{shrinelike|}}} |Shrinelike,,,
}} {{#if: {{{hurtbyfungicide|}}} |{{#switch:{{{hurtbyfungicide}}}|1=normal|2=significant}} damage by fungicide,,,
}} {{#if: {{{hurtbydefoliant|}}} |{{#switch:{{{hurtbydefoliant}}}|1=normal|2=significant}} damage by defoliant,,,
}} {{#ifeq: {{{hasmentalshield|}}} | yes | mental shield,,,
}} {{#ifeq: {{{unreplicable|}}} | yes |Unreplicable,,,
}} {{#if: {{{bodytype|}}} | bodytype:,,,
}}{{{extrainfo|}}}
| JoinKey  = {{FULLPAGENAME}}
| ObjectID = {{#var:id|}} }}<!--
 
Water ritual skill storage
 
-->{{#if: {{{waterritualskill|}}} | {{Water ritual skill|id = {{#var:id|}}|skill = {{{waterritualskill|}}} }} }}<!--


   Content Start
   Content Start
Line 8: Line 64:
--><ul><!--
--><ul><!--
-->{{#ifeq:{{{aquatic|}}}|yes|<li>This creature is aquatic.}}<!--
-->{{#ifeq:{{{aquatic|}}}|yes|<li>This creature is aquatic.}}<!--
-->{{#ifeq:{{{isswarmer|}}}|yes|{{#if:{{{swarmbonus|}}}|<li>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.|<li>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.}}<!--
-->{{#ifeq:{{{isswarmer|}}}|yes|{{#if:{{{swarmbonus|}}}|<li>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.|<li>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.}} }}<!--
-->{{#ifeq: {{{flyover|}}}|yes|<li>Can be [[flying|flown]] over}}<!--
-->{{#ifeq: {{{flyover|}}}|yes|<li>Can be [[flying|flown]] over}}<!--
-->{{#switch:{{{solid|}}}|yes=<li>Cannot be walked on/through|no=<li>Can be walked on/through}}<!--
-->{{#switch:{{{solid|}}}|yes=<li>Cannot be walked on/through|no=<li>Can be walked on/through}}<!--
-->{{#ifeq: {{{twohanded|}}}| yes |<li>Requires two hands to wield}}<!--
-->{{#ifeq: {{{twohanded|}}}| yes |<li>Requires two hands to wield}}<!--
-->{{#ifeq: {{{metal|}}} | yes |<li>Made out of [[Item Properties#Metal|Metal]]}}<!--
-->{{#ifeq: {{{metal|}}} | yes |<li>Made out of [[Metal|Metal]]}}<!--
-->{{#ifeq: {{{lightprojectile|}}} | yes |<li>Light projectiles}}<!--
-->{{#ifeq: {{{lightprojectile|}}} | yes |<li>Light projectiles}}<!--
-->{{#ifeq: {{{cursed|}}} | yes |<li>Cannot be unequipped}}<!--
-->{{#ifeq: {{{penetratingammo|}}} | yes |<li>Projectiles penetrate through targets}}<!--
-->{{#ifeq: {{{empsensitive|}}} | yes |<li>[[EMP]] Sensitive}}<!--
-->{{#ifeq: {{{omniphaseprojectile|}}} | yes |<li>[[Omniphase]] projectiles}}<!--
-->{{#if: {{{shotcooldown|}}} |<li>Must cooldown for {{dice tooltip|{{{shotcooldown}}}}} turns after use}}<!--
-->{{#ifeq: {{{cursed|}}} | yes |<li>[[Item Properties#Cannot be removed once equipped|Cannot be removed once equipped]]}}<!--
-->{{#ifeq: {{{filtersgas|}}} | yes |<li>Acts as a gas mask}}<!--
-->{{#ifeq: {{{gasimmuneconfusion|}}} | yes |<li>Immune to [[confusion gas]]}}<!--
-->{{#ifeq: {{{gasimmunesleep|}}} | yes |<li>Immune to [[sleep gas]]}}<!--
-->{{#ifeq: {{{empsensitive|}}} | yes |<li>[[Properties#EMP_Sensitive|EMP sensitive]]}}<!--
-->{{#ifeq: {{{powerloadsensitive|}}} | yes |<li>[[Overloaded|Power load-sensitive]]}}<!--
-->{{#ifeq: {{{exoticfood|}}} | yes |<li>Exotic food}}<!--
-->{{#ifeq: {{{exoticfood|}}} | yes |<li>Exotic food}}<!--
-->{{#ifeq: {{{destroyonunequip|}}} | yes |<li>Destroyed when unequipped}}<!--
-->{{#ifeq: {{{destroyonunequip|}}} | yes |<li>Destroyed when unequipped}}<!--
-->{{#ifeq: {{{spectacles|}}} | yes |<li>[[Corrected vision|Corrects vision]]}}<!--
-->{{#ifeq: {{{spectacles|}}} | yes |<li>[[Corrected vision|Corrects vision]]}}<!--
-->{{#if:{{{extra|}}}|<li>{{{extra}}} }}
-->{{#ifeq: {{{refractive|}}} | yes |<li>[[Refract]]s light-based attacks}}<!--
</ul></includeonly><noinclude><!----
-->{{#ifeq: {{{flashprotection|}}} | yes |<li>Protects against [[visual flash effects]]}}<!--
-->{{#if: {{{carrybonus|}}} |<li>{{{carrybonus}}}% to max carry weight}}<!--
-->{{#if:{{{reflect|}}}|<li>Reflects {{{reflect}}}% of damage, rounded up}}<!--
-->{{#if: {{{movespeedbonus|}}}|<li>{{{movespeedbonus}}} Movespeed}}<!--
-->{{#ifeq: {{{uniquechara|}}}|yes|<li>This creature is unique}}<!--
-->{{#switch: {{{pettable|}}}|yes=<li>This creature is pettable|no=<li>This creature is not pettable}}<!--
-->{{#if:{{{flametemperature|}}}|<li>Bursts into flames at {{{flametemperature}}}T}}<!--
-->{{#if:{{{liquidburst|}}}|<li>Explodes into [[{{{liquidburst}}}]] on death}}<!--
-->{{#if:{{{bleedliquid|}}}|<li>Bleeds [[{{{bleedliquid}}}]] }}<!--
-->{{#if: {{{hidden|}}}|<li>[[Hidden]] at difficulty {{{hidden}}}}}<!--
-->{{#ifeq: {{{energycellrequired|}}}|yes|<li>An [[Energy cell]] is required to power this item}}<!--
-->{{#if: {{{temponenter|}}}|<li>{{{temponenter}}}° temperature change caused by projectile entering cell }}<!--
-->{{#if: {{{temponhit|}}}|<li>{{{temponhit}}}° temperature change caused on hit {{#if: {{{temponhitmax|}}}|(limit {{{temponhitmax}}}°)}} }}<!--
-->{{#if: {{{capacitorcharge|}}}|<li>Has a [[capacitor]] ({{{capacitorrate}}} recharge per turn up to max {{{capacitormax}}}; starts with {{dice tooltip|{{{capacitorcharge}}}}} charge) }}<!--
-->{{#if: {{{chargeconsumebroadcast|}}}|<li>Can receive [[broadcast power]], up to {{{chargeconsumebroadcast}}} charge per turn }}<!--
-->{{#if: {{{chargeconsumeelectrical|}}}|<li>Can receive electrical grid power, up to {{{chargeconsumeelectrical}}} charge per turn }}<!--
-->{{#if: {{{chargeconsumehydraulic|}}}|<li>Can receive [[hydraulic power]], up to {{{chargeconsumehydraulic}}} charge per turn }}<!--
-->{{#if: {{{chargeconsumemechanical|}}}|<li>Can receive transmitted [[mechanical power]], up to {{{chargeconsumemechanical}}} charge per turn }}<!--
-->{{#if: {{{chargeproducebroadcast|}}}|<li>Produces [[broadcast power]] in its vicinity }}<!--
-->{{#if: {{{chargeproduceelectric|}}}|<li>Produces {{{chargeproduceelectric}}} charge on its electrical grid per turn }}<!--
-->{{#if: {{{chargeproducehydraulic|}}}|<li>Produces {{{chargeproducehydraulic}}} charge on its [[hydraulic power]] grid per turn }}<!--
-->{{#if: {{{chargeproducemechanical|}}}|<li>Produces {{{chargeproducemechanical}}} charge as [[mechanical power]] per turn }}<!--
-->{{#if: {{{chargeproducesolar|}}}|<li>Can absorb up to {{{chargeproducesolar}}} charge per turn from solar power }}<!--
-->{{#ifeq: {{{isoccluding|}}}| yes |<li>This object is [[occluding]]
}}<!--
-->{{#if: {{{leakswhenbroken|}}} |<li>Leaks when broken ({{{leakswhenbroken}}}% per turn)}}<!--
-->{{#ifeq: {{{waterritualable|}}}| yes|<li>Can perform the [[Water Ritual]]{{#switch: {{{waterritualskill|NULL}}}
| false =, but teaches no skill
| NULL =, and teaches their main faction's skill
| , and teaches [[{{SkillID to name|{{{waterritualskill}}} }}]] }} }}<!--
-->{{#ifeq: {{{iscurrency|}}}| yes|<li>Has a fixed price while trading
}}<!--
-->{{#ifeq: {{{noprone|}}}| yes| <li>Cannot be knocked [[prone]]
}}<!--
-->{{#if: {{{phase|}}}| <li>Is [[phase|{{{phase}}}]] }}<!--
-->{{#ifeq: {{{realitydistortionbased|}}} | yes | <li>[[Reality distortion]]-based }}<!--
-->{{#if:{{{poisononhit|}}}|<li>{{{poisononhit}}} }}<!--
-->{{#if:{{{weight|}}} |<li>{{#ifeq:{{{weight}}}|0|Weightless|Weighs {{{weight}}} {{#ifeq:{{{weight}}}|1|lb|lbs}} }} }}<!--
-->{{#if: {{{animatable|}}} |<li>Can be [[animated]]}}<!--
-->{{#if: {{{enclosing|}}} |<li>Is an [[enclosed|enclosing]] object}}<!--
-->{{#if: {{{shrinelike|}}} |<li>Can be [[desecrated]]}}<!--
-->{{#if: {{{hurtbyfungicide|}}} |<li> Damaged {{#switch:{{{hurtbyfungicide}}}|1=normally|2=significantly}} by [[fungicide]]}}<!--
-->{{#if: {{{hurtbydefoliant|}}} |<li> Damaged {{#switch:{{{hurtbydefoliant}}}|1=normally|2=significantly}} by [[defoliant]]
}}<!--
-->{{#if: {{{savemodifier|}}}|<li> {{{savemodifieramt}}} on [[saves]] vs. {{{savemodifier}}}}}<!--
-->{{#if: {{{unreplicable|}}}|<li> Cannot be replicated by [[metamorphic polygel]]}}<!--
-->{{#ifeq: {{{hasmentalshield|}}} | yes |<li> Has a [[mental shield]]
}}<!--
-->{{#if:{{{extrainfo|}}}|<li>{{{extrainfo}}} }}</ul><!--
 
  Body type is at the bottom since it takes more formatting
 
-->{{#if: {{{bodytype|}}}
|<div class="searchaux"><div style="padding:1em 0em;"><hr></div><b>Limbs* ({{{bodytype}}}):</b>
<ul><li>Body [[List of Body Parts#Body|(Body)]]</li><li>Floating Nearby [[List of Body Parts#Floating_Nearby|(Floating Nearby)]]</li>
{{#invoke:CargoQuery|main
|table=Anatomies=A
| where = Name="{{{bodytype}}}"
|fields=CONCAT("<li>", COALESCE(CONCAT(Laterality, " "), ""), Type, " [[List of Body Parts#", BaseType, "{{!}}(",BaseType,")]]", (CASE WHEN childType <> "" THEN CONCAT("<ul><li>", COALESCE(CONCAT(childLaterality, " "), ""), childType, " [[List of Body Parts#", childBaseType, "{{!}}(", childBaseType, ")]]</ul>") ELSE "" END))=Page
| orderBy=BaseType
| template=single query result
| limit = 20
| default = Oops, this anatomy doesn't exist![[Category:Pages with missing anatomies]]
}}</ul>
<small>* Excludes limbs granted via mutations</small></div>}}
</includeonly><noinclude><!----


   Documentation Start
   Documentation Start


-->All of these variables only take "yes", except for Solid, which takes both yes/no. To be used only in the Extra variable in [[Template:Character]] and [[Template:Item]].
-->To be used only in the Extra variable in [[Template:Character]] and [[Template:Item]].
{| class="wikitable"
{| class="wikitable"
!variable
!variable
!possible values
!output
!output
|-
|weight
|int
|Weighs {{{weight}}} lbs
|-
|-
|aquatic
|aquatic
| yes
|This creature is aquatic.
|This creature is aquatic.
|-
|-
|isswarmer (if swarmbonus not specified)
|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.
|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)
|swarmbonus (and isswarmer is specified)
| yes
|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.
|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
| flyover
| yes
| Can be [[flying|flown]] over.
| Can be [[flying|flown]] over.
|-
|-
| solid
| solid
| yes/no
| Can/cannot be walked on/through
| Can/cannot be walked on/through
|-
|-
| twohanded
| twohanded
| yes
| Requires two hands to wield
| Requires two hands to wield
|-
|-
| metal
| metal
| Made out of [[Item Properties#Metal|Metal]]
| yes
| Made out of [[Metal|Metal]]
|-
|-
| lightprojectile
| lightprojectile
| yes
| Light projectiles
| 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
| cursed
| Cannot be unequipped
| yes
| [[Item Properties#Cannot be removed once equipped|Cannot be removed once equipped]]
|-
| filtersgas
| yes
| Acts as a gas mask (see [[fitted with filters]])
|-
| gasimmuneconfusion
| yes
| Immune to [[confusion gas]]
|-
| gasimmunesleep
| yes
| Immune to [[sleep gas]]
|-
|-
| empsensitive
| empsensitive
| [[EMP]] Sensitive
| yes
| [[Properties#EMP_Sensitive|EMP sensitive]]
|-
| powerloadsensitive
| yes
| [[Overloaded|Power load-sensitive]]
|-
|-
| exoticfood
| exoticfood
| yes
| Exotic food
| Exotic food
|-
|-
| destroyonunequip
| destroyonunequip
| yes
| Destroyed when unequipped
| Destroyed when unequipped
|-
|-
| spectacles
| spectacles
| yes
| [[Corrected vision|Corrects vision]]
| [[Corrected vision|Corrects vision]]
|}[[Category:Cargo Store Templates]]</noinclude>
|-
| refractive
| yes
| [[Refract]]s light-based attacks
|-
| flashprotection
| yes
| Protects against [[visual flash effects]]
|-
| 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
|-
| isoccluding
| yes
| This object is [[occluding]]
|-
| leakswhenbroken
| int
| Leaks when broken ({{{leakswhenbroken}}}% per turn)
|-
|uniquechara
|yes
| This creature is unique
|-
|pettable
|yes/no
| This creature is/is not pettable
|-
|liquidburst
| liquid name
| Explodes into (liquid) on death
|-
|flametemperature
| int
| Bursts into flames at (number)T
|-
|bleedliquid
| liquid name
| Bleeds (liquid)
|-
|energycellrequired
| yes
| An [[Energy cell]] is required to power this item
|-
|energyammoloader
| yes
| True if this item has the EnergyAmmoLoader part (used for some mod logic)
|-
|waterritualable
| yes
| This creature can perform the [[Water Ritual]]
|-
|iscurrency
| yes
| This item has a fixed price while trading
|-
|noprone
| yes
| Cannot be knocked [[prone]]
|-
| phase
| out of phase, omniphase, nullphase
| Is (phase type)
|-
| realitydistortionbased
| yes
| [[Reality distortion]]-based
|-
| temponenter
| dice string
| {{{temponenter}}}° temperature change caused by projectile entering cell
|-
| temponhit, temponhitmax
| dice string
| {{{temponhit}}}° temperature change caused on hit (limit {{{temponhitmax}}}°)
|-
| capacitorcharge, capacitormax, capacitorrate
| dice string, integer, integer
| Has a [[capacitor]] ({{{capacitorrate}}} recharge per turn up to max {{{capacitormax}}}; starts with {{{capacitorcharge}}} charge)
|-
| chargeconsumebroadcast
| integer
| Can receive broadcast power, up to {{{chargeconsumebroadcast}}} charge per turn
|-
| chargeconsumeelectrical
| integer
| Can receive electrical grid power, up to {{{chargeconsumeelectrical}}} charge per turn
|-
| chargeconsumehydraulic
| integer
| Can receive hydraulic grid power, up to {{{chargeconsumehydraulic}}} charge per turn
|-
| chargeconsumemechanical
| integer
| Can receive mechanical power, up to {{{chargeconsumemechanical}}} charge per turn
|-
| chargeproducebroadcast
| boolean
| Produces broadcast power in its vicinity
|-
| chargeproduceelectric
| integer
| Produces {{{chargeproduceelectric}}} charge on its electrical grid per turn
|-
| chargeproducehydraulic
| integer
| Produces {{{chargeproducehydraulic}}} charge on its hydraulic grid per turn
|-
| chargeproducemechanical
| integer
| Produces {{{chargeproducemechanical}}} charge as mechanical power per turn
|-
| chargeproducesolar
| integer
| Can absorbs up to {{{chargeproducesolar}}} charge per turn from solar power
|-
| poisononhit
| string
| (string describing poison on hit effect)
|-
| mutatedplant
| yes
| ''(not shown in infobox, but stored in cargo as "Mutated plant" - this info is needed for conditional defoliant gas damage behavior)''
|-
| animatable
| yes
| Can be [[animated]]
|-
| enclosing
| yes
| Is an [[enclosed|enclosing]] object.
|-
| shrinelike
| yes
| Can be [[desecrated]]
|-
| hurtbyfungicide and hurtbydefoliant
| 1 or 2
| Damaged normally/significantly from fungicide/defoliant
|-
| unreplicable
| yes
| Cannot be replicated by [[metamorphic polygel]]
|-
| hasmentalshield
| yes
| Has a [[mental shield]]
|-
| extrainfo
| any other info that does not fit
|
|}
== Example ==
<pre>extra = {{Extra info|weight = 200 | noprone = yes | hasmentalshield = yes | bodytype = SlugWithHands}}</pre>
{{#invoke:infobox|infobox
|image=none
| rows={{infobox row|field=<div style="padding:1em;"><b> Extra info:</b>{{Extra info|weight = 200 | noprone = yes | hasmentalshield = yes | bodytype = SlugWithHands}} }} }}
[[Category:Cargo Store Templates]]</noinclude>

Latest revision as of 22:02, 19 January 2024

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
weight int Weighs {{{weight}}} lbs
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) yes 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
filtersgas yes Acts as a gas mask (see fitted with filters)
gasimmuneconfusion yes Immune to confusion gas
gasimmunesleep yes Immune to sleep gas
empsensitive yes EMP sensitive
powerloadsensitive yes Power load-sensitive
exoticfood yes Exotic food
destroyonunequip yes Destroyed when unequipped
spectacles yes Corrects vision
refractive yes Refracts light-based attacks
flashprotection yes Protects against visual flash effects
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
isoccluding yes This object is occluding
leakswhenbroken int Leaks when broken ({{{leakswhenbroken}}}% per turn)
uniquechara yes This creature is unique
pettable yes/no This creature is/is not pettable
liquidburst liquid name Explodes into (liquid) on death
flametemperature int Bursts into flames at (number)T
bleedliquid liquid name Bleeds (liquid)
energycellrequired yes An Energy cell is required to power this item
energyammoloader yes True if this item has the EnergyAmmoLoader part (used for some mod logic)
waterritualable yes This creature can perform the Water Ritual
iscurrency yes This item has a fixed price while trading
noprone yes Cannot be knocked prone
phase out of phase, omniphase, nullphase Is (phase type)
realitydistortionbased yes Reality distortion-based
temponenter dice string {{{temponenter}}}° temperature change caused by projectile entering cell
temponhit, temponhitmax dice string {{{temponhit}}}° temperature change caused on hit (limit {{{temponhitmax}}}°)
capacitorcharge, capacitormax, capacitorrate dice string, integer, integer Has a capacitor ({{{capacitorrate}}} recharge per turn up to max {{{capacitormax}}}; starts with {{{capacitorcharge}}} charge)
chargeconsumebroadcast integer Can receive broadcast power, up to {{{chargeconsumebroadcast}}} charge per turn
chargeconsumeelectrical integer Can receive electrical grid power, up to {{{chargeconsumeelectrical}}} charge per turn
chargeconsumehydraulic integer Can receive hydraulic grid power, up to {{{chargeconsumehydraulic}}} charge per turn
chargeconsumemechanical integer Can receive mechanical power, up to {{{chargeconsumemechanical}}} charge per turn
chargeproducebroadcast boolean Produces broadcast power in its vicinity
chargeproduceelectric integer Produces {{{chargeproduceelectric}}} charge on its electrical grid per turn
chargeproducehydraulic integer Produces {{{chargeproducehydraulic}}} charge on its hydraulic grid per turn
chargeproducemechanical integer Produces {{{chargeproducemechanical}}} charge as mechanical power per turn
chargeproducesolar integer Can absorbs up to {{{chargeproducesolar}}} charge per turn from solar power
poisononhit string (string describing poison on hit effect)
mutatedplant yes (not shown in infobox, but stored in cargo as "Mutated plant" - this info is needed for conditional defoliant gas damage behavior)
animatable yes Can be animated
enclosing yes Is an enclosing object.
shrinelike yes Can be desecrated
hurtbyfungicide and hurtbydefoliant 1 or 2 Damaged normally/significantly from fungicide/defoliant
unreplicable yes Cannot be replicated by metamorphic polygel
hasmentalshield yes Has a mental shield
extrainfo any other info that does not fit

Example

extra = {{Extra info|weight = 200 | noprone = yes | hasmentalshield = yes | bodytype = SlugWithHands}}
Extra info
Extra info:

Limbs* (SlugWithHands): * Excludes limbs granted via mutations