Template:Physical properties data store: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(store throwability in cargo) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
|HeatResist=Integer | |HeatResist=Integer | ||
|LightRadius=Integer | |LightRadius=Integer | ||
|Throwable=Boolean | |||
|Seeping=Boolean | |Seeping=Boolean | ||
|Inhaled=Boolean | |Inhaled=Boolean | ||
|Volume=Integer | |||
|LiquidGenType=String | |LiquidGenType=String | ||
|LiquidGenRate=String | |LiquidGenRate=String | ||
Line 46: | Line 48: | ||
| NULL | | NULL | ||
| Light radius of the object if it is a light source | | Light radius of the object if it is a light source | ||
|- | |||
| throwable | |||
| boolean | |||
| NULL | |||
| Whether this is considered a thrown object by the game | |||
|- | |- | ||
| seeping | | seeping | ||
Line 56: | Line 63: | ||
| 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 73: | Line 85: | ||
|HeatResist={{{heat|}}} | |HeatResist={{{heat|}}} | ||
|LightRadius={{{lightradius|}}} | |LightRadius={{{lightradius|}}} | ||
|Throwable={{{throwable|}}} | |||
|Seeping={{{seeping|}}} | |Seeping={{{seeping|}}} | ||
|Inhaled={{{inhaled|}}} | |Inhaled={{{inhaled|}}} | ||
|Volume={{{volume|}}} | |||
|LiquidGenType={{{liquidgentype|}}} | |LiquidGenType={{{liquidgentype|}}} | ||
|LiquidGenRate={{{liquidgenrate|}}} | |LiquidGenRate={{{liquidgenrate|}}} | ||
|JoinKey={{FULLPAGENAME}} | |JoinKey={{FULLPAGENAME}} | ||
}}</includeonly> | }}</includeonly> |
Latest revision as of 22:41, 18 January 2024
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 |
throwable | boolean | NULL | Whether this is considered a thrown object by the game |
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) |