Template:Artifact data store: Difference between revisions
Jump to navigation
Jump to search
m (add modcount) |
(new charge-related parameters and storage) |
||
Line 11: | Line 11: | ||
|Mods=List (</br>) of Page | |Mods=List (</br>) of Page | ||
|ModCount=Integer | |ModCount=Integer | ||
|CapacitorStartCharge=String | |||
|CapacitorMax=Integer | |||
|CapacitorRate=Integer | |||
|ChargeConsumeBroadcast=Integer | |||
|ChargeConsumeElectrical=Integer | |||
|ChargeConsumeHydraulic=Integer | |||
|ChargeProduceBroadcast=Boolean | |||
|ChargeProduceElectric=Integer | |||
|ChargeProduceHydraulic=Integer | |||
|ChargeProduceSolar=Integer | |||
|UnidentifiedImage=String | |UnidentifiedImage=String | ||
|UnidentifiedName=Wikitext | |UnidentifiedName=Wikitext | ||
Line 78: | Line 88: | ||
| 0 | | 0 | ||
| Number of mods on the object, if any | | 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 | |||
|- | |||
| 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 | |||
|- | |||
| chargeproducesolar | |||
| integer | |||
| NULL | |||
| the amount of solar charge this object generates per turn when in the presence of sunlight | |||
|- | |- | ||
| unknownimage | | unknownimage | ||
Line 120: | Line 180: | ||
|Mods={{{mods|}}} | |Mods={{{mods|}}} | ||
|ModCount={{{modcount|0}}} | |ModCount={{{modcount|0}}} | ||
|CapacitorStartCharge={{{capacitorcharge|}}} | |||
|CapacitorMax={{{capacitormax|}}} | |||
|CapacitorRate={{{capacitorrate|}}} | |||
|ChargeConsumeBroadcast={{{chargeconsumebroadcast|}}} | |||
|ChargeConsumeElectrical={{{chargeconsumeelectrical|}}} | |||
|ChargeConsumeHydraulic={{{chargeconsumehydraulic|}}} | |||
|ChargeProduceBroadcast={{{chargeproducebroadcast|}}} | |||
|ChargeProduceElectric={{{chargeproduceelectric|}}} | |||
|ChargeProduceHydraulic={{{chargeproducehydraulic|}}} | |||
|ChargeProduceSolar={{{chargeproducesolar|}}} | |||
|UnidentifiedImage={{{unidentifiedimage|}}} | |UnidentifiedImage={{{unidentifiedimage|}}} | ||
|UnidentifiedName={{{unidentifiedname|}}} | |UnidentifiedName={{{unidentifiedname|}}} |
Revision as of 18:19, 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 |
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 |
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 |