Template:Artifact data store

From Caves of Qud Wiki
Jump to navigation Jump to search

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