Template:Physical properties data store

From Caves of Qud Wiki
Revision as of 20:27, 24 September 2021 by Egocarib (talk | contribs) (Data storage template for PhysicalProperties cargo table)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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
acidresist integer NULL Acid resistance of the item or character
electricresist integer NULL Electic resistance of the item or character
coldresist integer NULL Cold resistance of the item or character
heatresist 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
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)