Difference between revisions of "Template:Apparel Stats Table"

From RimWorld Wiki
Jump to navigation Jump to search
Line 45: Line 45:
  
 
! '''Good'''
 
! '''Good'''
| {{ #expr: 1.15*{{#var:armorsharp|}}}}%
+
| {{#ifexpr: {{ #expr: 1.15*{{#var:armorsharp|}}}} < 200 |{{#expr: 1.8*{{#var:armorsharp|}}}}|200}}%
| {{ #expr: 1.15*{{#var:armorblunt|}}}}%
+
| {{#ifexpr: {{ #expr: 1.15*{{#var:armorblunt|}}}} < 200 |{{#expr: 1.8*{{#var:armorblunt|}}}}|200}}%
| {{ #expr: 1.15*{{#var:armorheat|}}}}%
+
| {{#ifexpr: {{ #expr: 1.15*{{#var:armorheat|}}}} < 200 |{{#expr: 1.8*{{#var:armorheat|}}}}|200}}%
 
| {{ #expr: 1*{{#var:HP|}}}}
 
| {{ #expr: 1*{{#var:HP|}}}}
 
| -{{ #expr: 1.1*{{#var:insulationcold|}}}}&deg;C
 
| -{{ #expr: 1.1*{{#var:insulationcold|}}}}&deg;C
Line 55: Line 55:
  
 
! '''Excellent'''
 
! '''Excellent'''
| {{ #expr: 1.3*{{#var:armorsharp|}}}}%
+
| {{#ifexpr: {{ #expr: 1.3*{{#var:armorsharp|}}}} < 200 |{{#expr: 1.3*{{#var:armorsharp|}}}}|200}}%
| {{ #expr: 1.3*{{#var:armorblunt|}}}}%
+
| {{#ifexpr: {{ #expr: 1.3*{{#var:armorblunt|}}}} < 200 |{{#expr: 1.3*{{#var:armorblunt|}}}}|200}}%
| {{ #expr: 1.3*{{#var:armorheat|}}}}%
+
| {{#ifexpr: {{ #expr: 1.3*{{#var:armorheat|}}}} < 200 |{{#expr: 1.3*{{#var:armorheat|}}}}|200}}%
 
| {{ #expr: 1*{{#var:HP|}}}}
 
| {{ #expr: 1*{{#var:HP|}}}}
 
| -{{ #expr: 1.2*{{#var:insulationcold|}}}}&deg;C
 
| -{{ #expr: 1.2*{{#var:insulationcold|}}}}&deg;C
Line 63: Line 63:
 
| {{icon|silver| {{#ifexpr: {{ #expr: 1.5*{{#var:value|}}}} < {{ #expr: 1000+{{#var:value|}}}} | {{ #expr: 1.5*{{#var:value|}}}} | {{ #expr: 1000+{{#var:value|}}}}}}  }}
 
| {{icon|silver| {{#ifexpr: {{ #expr: 1.5*{{#var:value|}}}} < {{ #expr: 1000+{{#var:value|}}}} | {{ #expr: 1.5*{{#var:value|}}}} | {{ #expr: 1000+{{#var:value|}}}}}}  }}
 
|-
 
|-
 
 
 
  
 
! '''Masterwork'''
 
! '''Masterwork'''
| {{ #expr: 1.45*{{#var:armorsharp|}}}}%
+
| {{#ifexpr: {{ #expr: 1.45*{{#var:armorsharp|}}}} < 200 |{{#expr: 1.45*{{#var:armorsharp|}}}}|200}}%
| {{ #expr: 1.45*{{#var:armorblunt|}}}}%
+
| {{#ifexpr: {{ #expr: 1.45*{{#var:armorblunt|}}}} < 200 |{{#expr: 1.45*{{#var:armorblunt|}}}}|200}}%
| {{ #expr: 1.45*{{#var:armorheat|}}}}%
+
| {{#ifexpr: {{ #expr: 1.45*{{#var:armorheat|}}}} < 200 |{{#expr: 1.45*{{#var:armorheat|}}}}|200}}%
 
| {{ #expr: 1*{{#var:HP|}}}}
 
| {{ #expr: 1*{{#var:HP|}}}}
 
| -{{ #expr: 1.5*{{#var:insulationcold|}}}}&deg;C
 
| -{{ #expr: 1.5*{{#var:insulationcold|}}}}&deg;C

Revision as of 11:46, 15 March 2020

Quality Table

Quality Sharp Blunt Heat Item HP Insulation - Cold Insulation - Heat Market Value
Awful Expression error: Missing operand for *.% Expression error: Missing operand for *.% Expression error: Missing operand for *.% Expression error: Missing operand for *. -Expression error: Missing operand for *.°C +Expression error: Missing operand for *.°C Silver Expression error: Missing operand for *.
Poor Expression error: Missing operand for *.% Expression error: Missing operand for *.% Expression error: Missing operand for *.% Expression error: Missing operand for *. -Expression error: Missing operand for *.°C +Expression error: Missing operand for *.°C Silver Expression error: Missing operand for *.
Normal Expression error: Missing operand for *.% Expression error: Missing operand for *.% Expression error: Missing operand for *.% Expression error: Missing operand for *. -Expression error: Missing operand for *.°C +Expression error: Missing operand for *.°C Silver Expression error: Missing operand for *.
Good Expression error: Unexpected < operator.% Expression error: Unexpected < operator.% Expression error: Unexpected < operator.% Expression error: Missing operand for *. -Expression error: Missing operand for *.°C +Expression error: Missing operand for *.°C Silver Expression error: Unexpected < operator.
Excellent Expression error: Unexpected < operator.% Expression error: Unexpected < operator.% Expression error: Unexpected < operator.% Expression error: Missing operand for *. -Expression error: Missing operand for *.°C +Expression error: Missing operand for *.°C Silver Expression error: Unexpected < operator.
Masterwork Expression error: Unexpected < operator.% Expression error: Unexpected < operator.% Expression error: Unexpected < operator.% Expression error: Missing operand for *. -Expression error: Missing operand for *.°C +Expression error: Missing operand for *.°C Silver Expression error: Unexpected < operator.
Legendary Expression error: Unexpected < operator.% Expression error: Unexpected < operator.% Expression error: Unexpected < operator.% Expression error: Missing operand for *. -Expression error: Missing operand for *.°C +Expression error: Missing operand for *.°C Silver Expression error: Unexpected < operator.

Does not currently support apparel with different materials.