Template:Armor material table

From RimWorld Wiki
Revision as of 01:53, 13 March 2020 by Harakoni (talk | contribs)
Jump to navigation Jump to search
  {{#vardefine:value|}
Material Sharp Blunt Heat Item HP Market Value
Silver Expression error: Unexpected * operator.% Expression error: Unexpected * operator.% Expression error: Unexpected * operator.% Expression error: Missing operand for *. Silver Expression error: Missing operand for *.
Gold Expression error: Unexpected * operator.% Expression error: Unexpected * operator.% Expression error: Unexpected * operator.% Expression error: Missing operand for *. Silver Expression error: Missing operand for *.
Steel Expression error: Unexpected * operator.% Expression error: Unexpected * operator.% Expression error: Unexpected * operator.% Expression error: Missing operand for *. Silver Expression error: Missing operand for *.
Plasteel Expression error: Unexpected * operator.% Expression error: Unexpected * operator.% Expression error: Unexpected * operator.% Expression error: Missing operand for *. Silver Expression error: Missing operand for *.
Uranium Expression error: Unexpected * operator.% Expression error: Unexpected * operator.% Expression error: Unexpected * operator.% Expression error: Missing operand for *. Silver Expression error: Missing operand for *.

Assuming Normal quality, for the effect of other qualities, see Quality.

To use; first define scalar values then place template. Example values are for Plate armor

{{#vardefine:armorsharp|0.73}}
{{#vardefine:armorblunt|0.73}}
{{#vardefine:armorheat|0.73}}
{{#vardefine:HP|290}}
{{#vardefine:value|535}}
{{Armor material table}}

Which would result in:

  {{#vardefine:value|}
Material Sharp Blunt Heat Item HP Market Value
Silver Expression error: Unexpected * operator.% Expression error: Unexpected * operator.% Expression error: Unexpected * operator.% Expression error: Missing operand for *. Silver 535
Gold Expression error: Unexpected * operator.% Expression error: Unexpected * operator.% Expression error: Unexpected * operator.% Expression error: Missing operand for *. Silver 5350
Steel Expression error: Unexpected * operator.% Expression error: Unexpected * operator.% Expression error: Unexpected * operator.% Expression error: Missing operand for *. Silver 1016.5
Plasteel Expression error: Unexpected * operator.% Expression error: Unexpected * operator.% Expression error: Unexpected * operator.% Expression error: Missing operand for *. Silver 4815
Uranium Expression error: Unexpected * operator.% Expression error: Unexpected * operator.% Expression error: Unexpected * operator.% Expression error: Missing operand for *. Silver 3210

Assuming Normal quality, for the effect of other qualities, see Quality.


There is a way to pull this data straight from the infobox and not require the initial definitions, but it is not currently supported by this template.