Difference between revisions of "Template:Armor material table"

From RimWorld Wiki
Jump to navigation Jump to search
(Attempting to implement Market Value template)
Line 14: Line 14:
 
| {{ #expr: {{Q|Silver|Armor - Heat Factor}}*{{#var:armorheat|}}*100}}%
 
| {{ #expr: {{Q|Silver|Armor - Heat Factor}}*{{#var:armorheat|}}*100}}%
 
| {{ #expr: {{Q|Silver|Max Hit Points Factor}}*{{#var:HP|}}}}
 
| {{ #expr: {{Q|Silver|Max Hit Points Factor}}*{{#var:HP|}}}}
| {{icon|silver|{{ #expr: {{Q|Silver|Market Value Base}}*{{#var:value|}}}}}}
+
| {{icon|silver|{{Market Value | {{ #expr: {{Q|Silver|Market Value Base}}*{{#var:value|}}}}}}}}
 +
 +
| {{icon|silver|{{Market Value | {{ #expr: 1.0*{{#var:value|}}}}}}}}
 
|-
 
|-
  
Line 22: Line 24:
 
| {{ #expr: {{Q|Gold|Armor - Heat Factor}}*{{#var:armorheat|}}*100}}%
 
| {{ #expr: {{Q|Gold|Armor - Heat Factor}}*{{#var:armorheat|}}*100}}%
 
| {{ #expr: {{Q|Gold|Max Hit Points Factor}}*{{#var:HP|}}}}
 
| {{ #expr: {{Q|Gold|Max Hit Points Factor}}*{{#var:HP|}}}}
| {{icon|silver|{{ #expr: {{Q|Gold|Market Value Base}}*{{#var:value|}}}}}}
+
| {{icon|silver|{{Market Value | {{ #expr: {{Q|Gold|Market Value Base}}*{{#var:value|}}}}}}}}
 
|-
 
|-
  
Line 30: Line 32:
 
| {{ #expr: {{Q|Steel|Armor - Heat Factor}}*{{#var:armorheat|}}*100}}%
 
| {{ #expr: {{Q|Steel|Armor - Heat Factor}}*{{#var:armorheat|}}*100}}%
 
| {{ #expr: {{Q|Steel|Max Hit Points Factor}}*{{#var:HP|}}}}
 
| {{ #expr: {{Q|Steel|Max Hit Points Factor}}*{{#var:HP|}}}}
| {{icon|silver|{{ #expr: {{Q|Steel|Market Value Base}}*{{#var:value|}}}}}}
+
| {{icon|silver||{{Market Value | {{ #expr: {{Q|Steel|Market Value Base}}*{{#var:value|}}}}}}}}
 
|-
 
|-
  
Line 38: Line 40:
 
| {{ #expr: {{Q|Plasteel|Armor - Heat Factor}}*{{#var:armorheat|}}*100}}%
 
| {{ #expr: {{Q|Plasteel|Armor - Heat Factor}}*{{#var:armorheat|}}*100}}%
 
| {{ #expr: {{Q|Plasteel|Max Hit Points Factor}}*{{#var:HP|}}}}
 
| {{ #expr: {{Q|Plasteel|Max Hit Points Factor}}*{{#var:HP|}}}}
| {{icon|silver|{{ #expr: {{Q|Plasteel|Market Value Base}}*{{#var:value|}}}}}}
+
| {{icon|silver||{{Market Value | {{ #expr: {{Q|Plasteel|Market Value Base}}*{{#var:value|}}}}}}}}
 
|-
 
|-
  
Line 46: Line 48:
 
| {{ #expr: {{Q|Uranium|Armor - Heat Factor}}*{{#var:armorheat|}}*100}}%
 
| {{ #expr: {{Q|Uranium|Armor - Heat Factor}}*{{#var:armorheat|}}*100}}%
 
| {{ #expr: {{Q|Uranium|Max Hit Points Factor}}*{{#var:HP|}}}}
 
| {{ #expr: {{Q|Uranium|Max Hit Points Factor}}*{{#var:HP|}}}}
| {{icon|silver|{{ #expr: {{Q|Uranium|Market Value Base}}*{{#var:value|}}}}}}
+
| {{icon|silver||{{Market Value | {{ #expr: {{Q|Uranium|Market Value Base}}*{{#var:value|}}}}}}}}
 
|-
 
|-
 
|}
 
|}
 
<sup>Assuming Normal quality, for the effect of other qualities, see [[Quality]].</sup>
 
<sup>Assuming Normal quality, for the effect of other qualities, see [[Quality]].</sup>

Revision as of 13:18, 27 April 2020

Material Sharp Blunt Heat Item HP Market Value
Silver Armor material table Expression error: Unexpected * operator.% Expression error: Unexpected * operator.% Expression error: Unexpected * operator.% Expression error: Missing operand for *. Silver Expression error: Unexpected < operator. Silver Expression error: Unexpected < operator.
Gold Armor material table Expression error: Unexpected * operator.% Expression error: Unexpected * operator.% Expression error: Unexpected * operator.% Expression error: Missing operand for *. Silver Expression error: Unexpected < operator.
Steel Armor material table Expression error: Unexpected * operator.% Expression error: Unexpected * operator.% Expression error: Unexpected * operator.% Expression error: Missing operand for *. Silver
Plasteel Armor material table Expression error: Unexpected * operator.% Expression error: Unexpected * operator.% Expression error: Unexpected * operator.% Expression error: Missing operand for *. Silver
Uranium Armor material table Expression error: Unexpected * operator.% Expression error: Unexpected * operator.% Expression error: Unexpected * operator.% Expression error: Missing operand for *. Silver

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