Template:Artifact data store: Difference between revisions
Jump to navigation
Jump to search
(new charge-related parameters and storage) |
(add mechanical power) |
||
Line 17: | Line 17: | ||
|ChargeConsumeElectrical=Integer | |ChargeConsumeElectrical=Integer | ||
|ChargeConsumeHydraulic=Integer | |ChargeConsumeHydraulic=Integer | ||
|ChargeConsumeMechanical=Integer | |||
|ChargeProduceBroadcast=Boolean | |ChargeProduceBroadcast=Boolean | ||
|ChargeProduceElectric=Integer | |ChargeProduceElectric=Integer | ||
|ChargeProduceHydraulic=Integer | |ChargeProduceHydraulic=Integer | ||
|ChargeProduceMechanical=Integer | |||
|ChargeProduceSolar=Integer | |ChargeProduceSolar=Integer | ||
|UnidentifiedImage=String | |UnidentifiedImage=String | ||
Line 118: | Line 120: | ||
| NULL | | NULL | ||
| the maximum amount of charge this object can receive each turn from a hydraulic grid, if applicable | | the maximum amount of charge this object can receive each turn from a hydraulic grid, if applicable | ||
|- | |||
| chargeconsumemechanical | |||
| integer | |||
| NULL | |||
| the maximum amount of charge this object can receive each turn from a mechanical power source, if applicable | |||
|- | |- | ||
| chargeproducebroadcast | | chargeproducebroadcast | ||
Line 133: | Line 140: | ||
| NULL | | NULL | ||
| the amount of hydraulic charge this object generates each turn for a hydraulic grid | | the amount of hydraulic charge this object generates each turn for a hydraulic grid | ||
|- | |||
| chargeproducemechanical | |||
| integer | |||
| NULL | |||
| the amount of mechanical charge this object generates each turn as a mechanical power source | |||
|- | |- | ||
| chargeproducesolar | | chargeproducesolar | ||
Line 186: | Line 198: | ||
|ChargeConsumeElectrical={{{chargeconsumeelectrical|}}} | |ChargeConsumeElectrical={{{chargeconsumeelectrical|}}} | ||
|ChargeConsumeHydraulic={{{chargeconsumehydraulic|}}} | |ChargeConsumeHydraulic={{{chargeconsumehydraulic|}}} | ||
|ChargeConsumeMechanical={{{chargeconsumemechanical|}}} | |||
|ChargeProduceBroadcast={{{chargeproducebroadcast|}}} | |ChargeProduceBroadcast={{{chargeproducebroadcast|}}} | ||
|ChargeProduceElectric={{{chargeproduceelectric|}}} | |ChargeProduceElectric={{{chargeproduceelectric|}}} | ||
|ChargeProduceHydraulic={{{chargeproducehydraulic|}}} | |ChargeProduceHydraulic={{{chargeproducehydraulic|}}} | ||
|ChargeProduceMechanical={{{chargeproducemechanical|}}} | |||
|ChargeProduceSolar={{{chargeproducesolar|}}} | |ChargeProduceSolar={{{chargeproducesolar|}}} | ||
|UnidentifiedImage={{{unidentifiedimage|}}} | |UnidentifiedImage={{{unidentifiedimage|}}} |
Latest revision as of 20:21, 10 January 2022
This template defines the table "ArtifactData". 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 |
---|---|---|---|
complexity | integer | NULL | Artifact complexity |
bits | string | NULL | Bits that compose the artifact (required to build it / obtained when disassembling it) |
tinkertier | string | NULL | The tinker tier |
canbuild | boolean | NULL | Yes if this artifact can be built by the player using Tinkering |
candisassemble | boolean | NULL | Yes if this artifact can be disassembled |
chargeused | integer | NULL | Amount of charge units used by the artifact to function |
chargeperdram | integer | NULL | Amount of charge derived from a dram of liquid, for liquid-fueled artifacts and energy cells |
maxcharge | integer | NULL | Maximum charge held |
mods | listofpage | NULL | A list of item mods on the object, if present |
modcount | integer | 0 | Number of mods on the object, if any |
capacitorstartcharge | string | NULL | integer or dice string representing the starting charge of the object's capacitor, if any |
capacitormax | integer | NULL | max charge held by the object's capacitor, if applicable |
capacitorrate | integer | NULL | rate of recharge per turn for the object's capacitor, if applicable |
chargeconsumebroadcast | integer | NULL | the maximum amount of charge this object can receive each turn from a broadcast power source, if applicable |
chargeconsumeelectrical | integer | NULL | the maximum amount of charge this object can receive each turn from an electrical power grid, if applicable |
chargeconsumehydraulic | integer | NULL | the maximum amount of charge this object can receive each turn from a hydraulic grid, if applicable |
chargeconsumemechanical | integer | NULL | the maximum amount of charge this object can receive each turn from a mechanical power source, if applicable |
chargeproducebroadcast | boolean | NULL | true if this object generates broadcast power. The amount of power output depends on other input power source(s) to the object. |
chargeproduceelectric | integer | NULL | the amount of electric charge this object generates each turn for a power grid |
chargeproducehydraulic | integer | NULL | the amount of hydraulic charge this object generates each turn for a hydraulic grid |
chargeproducemechanical | integer | NULL | the amount of mechanical charge this object generates each turn as a mechanical power source |
chargeproducesolar | integer | NULL | the amount of solar charge this object generates per turn when in the presence of sunlight |
unknownimage | string | NULL | The sprite shown when this object is not identified |
unknownname | wikitext | NULL | The name of this object when unidentified |
unknownnamestripped | string | NULL | Stripped version of the name |
unknownaltname | wikitext | NULL | The name of this object when it is partially but not fully identified |
unknownaltnamestripped | string | NULL | Stripped version of above |
id | string | NULL | Object ID |