Template:Physical properties data store: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
|Seeping=Boolean
|Seeping=Boolean
|Inhaled=Boolean
|Inhaled=Boolean
|Volume=Integer
|LiquidGenType=String
|LiquidGenType=String
|LiquidGenRate=String
|LiquidGenRate=String
Line 56: Line 57:
| NULL
| NULL
| If this is a gas, whether the gas is [[respiration]]-based
| If this is a gas, whether the gas is [[respiration]]-based
|-
| volume
| integer
| NULL
| Max volume of liquid held by the object
|-
|-
| liquidgentype
| liquidgentype
Line 75: Line 81:
|Seeping={{{seeping|}}}
|Seeping={{{seeping|}}}
|Inhaled={{{inhaled|}}}
|Inhaled={{{inhaled|}}}
|Volume={{{volume|}}}
|LiquidGenType={{{liquidgentype|}}}
|LiquidGenType={{{liquidgentype|}}}
|LiquidGenRate={{{liquidgenrate|}}}
|LiquidGenRate={{{liquidgenrate|}}}
|JoinKey={{FULLPAGENAME}}
|JoinKey={{FULLPAGENAME}}
}}</includeonly>
}}</includeonly>

Revision as of 00:21, 7 October 2021

This template defines the table "PhysicalProperties". View table.

This template should be called exclusively from the Template:Item and Template:Character pages. The template has no actual output, it simply stores the data in cargo.

parameter type default description
acid integer NULL Acid resistance of the item or character
electric integer NULL Electic resistance of the item or character
cold integer NULL Cold resistance of the item or character
heat integer NULL Heat resistance of the item or character
lightradius integer NULL Light radius of the object if it is a light source
seeping boolean NULL If this is a gas, whether the gas seeps through walls
inhaled boolean NULL If this is a gas, whether the gas is respiration-based
volume integer NULL Max volume of liquid held by the object
liquidgentype string NULL The type of liquid generated by this object, if applicable (i.e. LiquidProducer part)
liquidgenrate string NULL The number of turns it takes this object to generate one dram of liquid, if applicable (can be a number or a range such as 20-40)