Mindustry Wiki
Advertisement

This template contains various independently retrievable data items about Stone for version 4.0 in the form of parameter values of a variable template of choice, in a standardized fashion. If you want to contribute version 3.5, use Template:Item data

Stone
N/A


Itempages

Parameters

Parameter Value Description
1 Stone Necessary: Used for identification (Name of item).
disp_name Name of the item
Only necessary if the value differs from Stone.
image Image of the item
Only necessary if the value differs from Stone or {{{disp_name}}}. Put only the image name without the image format. And make sure the image in in "png" format
Traits of the item
caption A common raw material. Used for separating and refining into other materials, or melting into lava. Official caption Only if available!
id {{{id}}} Itemcode Number in inventory list.
Uses to display picture (as I named Item's picture ID_-_NAME_OF_ITEM)
Only if available!
type Items Main categories. Valid values: Items, Liquids, Units, Blocks. No need to key-in this because the data already designated templates for each main type.
type2 Second categories. Valid values: Weapon, Production, Distribution, Power, Defense, Crafting, Units. You can discuss with us in Discord to know which second type is. This specially used for Blocks type.
General Information
explosiveness 0 value indicator of explosiveness of the items/liquids
flammability 0 value indicator of flammability of the items/liquids
radioactivity 0 value indicator of radioactivity of the items/liquids
fluxpower value indicator of flux power of the items/liquids
hardness 3 value indicator of hardness of the items
heatcap value indicator of heat capacity of the liquids
temp value indicator of temperature of the liquids
viscosity value indicator of viscosity of the liquids
health value indicator of health of the units/blocks
size Size of the units/blocks
speed Speed of a drone
Unlock/Build cost
buildcoststone Build cost using or unlocks by Stone.png Stone
buildcosttungsten Build cost using or unlocks by File:Tungsten.png Tungsten
buildcostlead Build cost using or unlocks by Lead.png Lead
buildcostcarbide Build cost using or unlocks by File:Carbide.png Carbide
buildcosttitanium Build cost using or unlocks by Titanium.png Titanium
buildcostsilicon Build cost using or unlocks by Silicon.png Silicon
buildcost<items> Build cost using or unlocks by [[File:buildcost<items>.png|20px|link=buildcost<items>]] [[buildcost<items>]] Use this to add more parameter in this Template:Item data 4.0 by change the name <item> if I (SNN95) not list it here.
Info
liquidcap Liquid Capacity
itemcap Item Capacity Just key-in the number without "items"
unitmoved Unit Moved Just key-in the number without "pixels/second"
inputliquid Input Liquid
liquiduse Liquid Use Just key-in the number without "liquid unit/second"
Drillables
drillable1 Drillable 1 What is the drillable resources/surfaces no. 1
drillable2 Drillable 2 What is the drillable resources/surfaces no. 2
drillable3 Drillable 3 What is the drillable resources/surfaces no. 3
drillable4 Drillable 4 What is the drillable resources/surfaces no. 4
drillable5 Drillable 5 What is the drillable resources/surfaces no. 5
drillable6 Drillable 6 What is the drillable resources/surfaces no. 6
basedrillspeed Base drill speed Key-in the number without "items/second"
Input Items
inputitems Input Items Use this if Stone just using a type of item in crafting.
inputitem1 Input Items no. 1
inputitem2 Input Items no. 2
inputitem3 Input Items no. 3
inputitem4 Input Items no. 4
inputitem<no.> Input Items no. X Use (copy 'n paste) this to add more "Input item"
range Range
inaccuracy Inaccuracy Just key-in the number without "degrees"
shots No. of shots
reload Reload
targetair Target air? "yes" or "no"? For weapons
fuelburntime Fuel burn time Just key-in no. of seconds without "seconds"
prodspeed Production speed Just key-in no. of items/second without "items/second"
Output Items
outputitems Output items Use this if Stone just output a type of item in crafting.
outputitem1 Output item no. 1
outputitem2 Output item no. 2
outputitem3 Output item no. 3
outputitem4 Output item no. 4
outputitem5 Output item no. 5
outputitem6 Output item no. 6
outputitem7 Output item no. 7
outputitem8 Output item no. 8
outputitem<no.> Output item no. X Use (copy 'n paste) this to add more "Output item"
powercap Max power can be store before use Anything used power to activate using this parameter
powerrange Power range Just key-in the no. without "blocks"
powertransfer Power transfer Just key-in the no. without "power units/second"
msxpowergen Max power generation Just key-in the no. without "power units/second"
gensecsitem Generate seconds per item
liquidcappower Max liquid capacity can be store before use
fuelliquid Fuel liquid
liquidfueluse Max liquid per second Just key-in the no. without "liquid units/second"

All item data templates v4.0 use the same parameter.

Retrieval of data items

{{Item data Stone|Tooltip/Item/Data|as_base}}, using parameter selection template Template:Tooltip/Item/Data/4.0, gives the parameter as_base, etc.

For retrieval of more data items it is more efficient to prepare a template for that, to be used as follows:

{{Item data Stone|template name|..|..|..|..}}

So that this data template needs to be called only once.(See the first two rows of the first table in m:Help:Array#Summary of counts for template limits.) The default template is Template:Item data 4.0, producing this page.

The four parameters are optional, they are passed on to the prepared template as parameters 2-5.

A parameter being undefined or empty typically means the same, see below. {{data ..|pst2|..}} gives the empty string and the text "{{{..}}}", respectively. Therefore, an application checking the parameter has to check both. Checking whether a result is equal to e.g. the text "{{{popinc}}}" cannot be done directly with #ifeq in a template which itself has also a parameter with that name, because if that is defined, there would be a comparison with the value instead of the text itself. Instead, it can be checked whether the first character of the result is "{", e.g.: {{#ifeq:{{padleft:|1|{{data {{{continent}}}|pst2|popinc}}}}|{|..|..}}. Until here the documentation is automatically generated by Template:Item_data 4.0.

Advertisement