Template:Physical properties data store: Difference between revisions
Jump to navigation
Jump to search
(Data storage template for PhysicalProperties cargo table) |
No edit summary |
||
Line 22: | Line 22: | ||
! description | ! description | ||
|- | |- | ||
| | | acid | ||
| integer | | integer | ||
| NULL | | NULL | ||
| Acid resistance of the item or character | | Acid resistance of the item or character | ||
|- | |- | ||
| | | electric | ||
| integer | | integer | ||
| NULL | | NULL | ||
| Electic resistance of the item or character | | Electic resistance of the item or character | ||
|- | |- | ||
| | | cold | ||
| integer | | integer | ||
| NULL | | NULL | ||
| Cold resistance of the item or character | | Cold resistance of the item or character | ||
|- | |- | ||
| | | heat | ||
| integer | | integer | ||
| NULL | | NULL | ||
Line 68: | Line 68: | ||
|} | |} | ||
</noinclude><includeonly>{{#cargo_store:_table=PhysicalProperties | </noinclude><includeonly>{{#cargo_store:_table=PhysicalProperties | ||
|AcidResist={{{ | |AcidResist={{{acid|}}} | ||
|ElectricResist={{{ | |ElectricResist={{{electric|}}} | ||
|ColdResist={{{ | |ColdResist={{{cold|}}} | ||
|HeatResist={{{ | |HeatResist={{{heat|}}} | ||
|LightRadius={{{lightradius|}}} | |LightRadius={{{lightradius|}}} | ||
|Seeping={{{seeping|}}} | |Seeping={{{seeping|}}} |
Revision as of 20:44, 24 September 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 |
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) |