Template:Extra info: Difference between revisions

gas immunity tracking
(temporary removed cargo store)
(gas immunity tracking)
 
(84 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly><!--
<noinclude>{{#cargo_declare:_table=ExtraInfo|Info=Text|JoinKey=String|ObjectID=String}}</noinclude><includeonly><!--
 
  Cargo Storage
 
-->{{#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 9: Line 68:
-->{{#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: {{{carrybonus|}}} |<li>{{{carrybonus}}} to max carry weight}}<!--
-->{{#ifeq: {{{refractive|}}} | yes |<li>[[Refract]]s light-based attacks}}<!--
-->{{#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:{{{reflect|}}}|<li>Reflects {{{reflect}}}% of damage, rounded up}}<!--
-->{{#if: {{{movespeedbonus|}}}|<li>{{{movespeedbonus}}} Movespeed}}<!--
-->{{#if: {{{movespeedbonus|}}}|<li>{{{movespeedbonus}}} Movespeed}}<!--
-->{{#if:{{{extrainfo|}}}|<li>{{{extrainfo}}} }}
-->{{#ifeq: {{{uniquechara|}}}|yes|<li>This creature is unique}}<!--
</ul></includeonly><noinclude><!----
-->{{#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
Line 29: Line 157:
!possible values
!possible values
!output
!output
|-
|weight
|int
|Weighs {{{weight}}} lbs
|-
|-
|aquatic
|aquatic
Line 39: Line 171:
|-
|-
|swarmbonus (and isswarmer is specified)
|swarmbonus (and isswarmer is specified)
| ye
| 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.
|-
|-
Line 56: Line 188:
| metal
| metal
| yes
| yes
| Made out of [[Item Properties#Metal|Metal]]
| Made out of [[Metal|Metal]]
|-
|-
| lightprojectile
| lightprojectile
| yes
| 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
| yes
| yes
| Cannot be unequipped
| [[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
| yes
| yes
| [[EMP]] Sensitive
| [[Properties#EMP_Sensitive|EMP sensitive]]
|-
| powerloadsensitive
| yes
| [[Overloaded|Power load-sensitive]]
|-
|-
| exoticfood
| exoticfood
Line 81: Line 241:
| yes
| yes
| [[Corrected vision|Corrects vision]]
| [[Corrected vision|Corrects vision]]
|-
| refractive
| yes
| [[Refract]]s light-based attacks
|-
| flashprotection
| yes
| Protects against [[visual flash effects]]
|-
|-
| carrybonus
| carrybonus
| integer
| integer
| +(number) to max carry weight
| +(number)% to max carry weight
|-
|-
| savemodifier, savemodifieramt
| savemodifier, savemodifieramt
Line 97: Line 265:
| int
| int
| {{{movespeedbonus}}} Movespeed
| {{{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
| extrainfo
| any other info that does not fit
| any other info that does not fit
|}[[Category:Cargo Store Templates]]</noinclude>
|
|}
== 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>