Difference between revisions of "Template:Armor material table"

From RimWorld Wiki
Jump to navigation Jump to search
Line 12: Line 12:
 
| [[Silver]]
 
| [[Silver]]
 
| {{ #expr: {{Q|Silver|Armor - Sharp Factor}}*{{#var:armorsharp|}}*100}}%
 
| {{ #expr: {{Q|Silver|Armor - Sharp Factor}}*{{#var:armorsharp|}}*100}}%
| {{ #expr: 0.36*{{#var:armorblunt|}}*100}}%
+
| {{ #expr: {{Q|Silver|Armor - Blunt Factor}}*{{#var:armorblunt|}}*{{#var:armorblunt|}}*100}}%
| {{ #expr: 0.36*{{#var:armorheat|}}*100}}%
+
| {{ #expr: {{Q|Silver|Armor - Heat Factor}}*{{#var:armorheat|}}*100}}%
 
| {{ #expr: 0.7*{{#var:HP|}}}}
 
| {{ #expr: 0.7*{{#var:HP|}}}}
 
| {{icon|silver|{{ #expr: 1*{{#var:value|}}}}}}
 
| {{icon|silver|{{ #expr: 1*{{#var:value|}}}}}}
Line 19: Line 19:
  
 
| [[Gold]]
 
| [[Gold]]
| {{ #expr: 0.72*{{#var:armorsharp|}}*100}}%
+
| {{ #expr: {{Q|Gold|Armor - Sharp Factor}}*{{#var:armorsharp|}}*100}}%
| {{ #expr: 0.36*{{#var:armorblunt|}}*100}}%
+
| {{ #expr: {{Q|Gold|Armor - Blunt Factor}}*{{#var:armorblunt|}}*100}}%
| {{ #expr: 0.36*{{#var:armorheat|}}*100}}%
+
| {{ #expr: {{Q|Gold|Armor - Heat Factor}}*{{#var:armorheat|}}*100}}%
 
| {{ #expr: 0.6*{{#var:HP|}}}}
 
| {{ #expr: 0.6*{{#var:HP|}}}}
 
| {{icon|silver|{{ #expr: 10*{{#var:value|}}}}}}
 
| {{icon|silver|{{ #expr: 10*{{#var:value|}}}}}}
Line 27: Line 27:
  
 
| [[Steel]]
 
| [[Steel]]
| {{ #expr: 0.90*{{#var:armorsharp|}}*100}}%
+
| {{ #expr: {{Q|Steel|Armor - Sharp Factor}}*{{#var:armorsharp|}}*100}}%
| {{ #expr: 0.45*{{#var:armorblunt|}}*100}}%
+
| {{ #expr: {{Q|Steel|Armor - Blunt Factor}}*{{#var:armorblunt|}}*100}}%
| {{ #expr: 0.72*{{#var:armorheat|}}*100}}%
+
| {{ #expr: {{Q|Steel|Armor - Heat Factor}}*{{#var:armorheat|}}*100}}%
 
| {{ #expr: 1*{{#var:HP|}}}}
 
| {{ #expr: 1*{{#var:HP|}}}}
 
| {{icon|silver|{{ #expr: 1.9*{{#var:value|}}}}}}
 
| {{icon|silver|{{ #expr: 1.9*{{#var:value|}}}}}}
Line 35: Line 35:
  
 
| [[Plasteel]]
 
| [[Plasteel]]
| {{ #expr: 1.26*{{#var:armorsharp|}}*100}}%
+
| {{ #expr: {{Q|Plasteel|Armor - Sharp Factor}}*{{#var:armorsharp|}}*100}}%
| {{ #expr: 0.63*{{#var:armorblunt|}}*100}}%
+
| {{ #expr: {{Q|Plasteel|Armor - Blunt Factor}}*{{#var:armorblunt|}}*100}}%
| {{ #expr: 1.08*{{#var:armorheat|}}*100}}%
+
| {{ #expr: {{Q|Plasteel|Armor - Heat Factor}}*{{#var:armorheat|}}*100}}%
 
| {{ #expr: 2.8*{{#var:HP|}}}}
 
| {{ #expr: 2.8*{{#var:HP|}}}}
 
| {{icon|silver|{{ #expr: 9*{{#var:value|}}}}}}
 
| {{icon|silver|{{ #expr: 9*{{#var:value|}}}}}}
Line 43: Line 43:
  
 
| [[Uranium]]
 
| [[Uranium]]
| {{ #expr: 1.08*{{#var:armorsharp|}}*100}}%
+
| {{ #expr: {{Q|Uranium|Armor - Sharp Factor}}*{{#var:armorsharp|}}*100}}%
| {{ #expr: 0.54*{{#var:armorblunt|}}*100}}%  
+
| {{ #expr: {{Q|Uranium|Armor - Blunt Factor}}*{{#var:armorblunt|}}*100}}%  
| {{ #expr: 0.90*{{#var:armorheat|}}*100}}%
+
| {{ #expr: {{Q|Uranium|Armor - Heat Factor}}*{{#var:armorheat|}}*100}}%
 
| {{ #expr: 2.5*{{#var:HP|}}}}
 
| {{ #expr: 2.5*{{#var:HP|}}}}
 
| {{icon|silver|{{ #expr: 6*{{#var:value|}}}}}}
 
| {{icon|silver|{{ #expr: 6*{{#var:value|}}}}}}

Revision as of 02:38, 13 March 2020

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.