Difference between revisions of "User:Harakoni/ArmorQuality"

From RimWorld Wiki
Jump to navigation Jump to search
Line 5: Line 5:
 
{{#vardefine:insulHeat| {{formatnum:{{Q|{{#var:name}}|Insulation - Heat Base|0.0}}|R}}}}
 
{{#vardefine:insulHeat| {{formatnum:{{Q|{{#var:name}}|Insulation - Heat Base|0.0}}|R}}}}
 
{{#vardefine:insulCold| {{formatnum:{{Q|{{#var:name}}|Insulation - Cold Base|0.0}}|R}}}}
 
{{#vardefine:insulCold| {{formatnum:{{Q|{{#var:name}}|Insulation - Cold Base|0.0}}|R}}}}
 +
 +
{{#vardefine:layer|{{#show:{{#var:name}}|?Layer|link=none}} }}
 +
{{#vardefine:layerDisplay|
 +
{{!}}{{#if:{{#pos:{{#var:layer|}}|Skin }}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
 +
{{!}}{{#if:{{#pos:{{#var:layer|}}|Middle}}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
 +
{{!}}{{#if:{{#pos:{{#var:layer|}}|Outer}}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
 +
{{!}}{{#if:{{#pos:{{#var:layer|}}|Headgear}}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
 +
}}
 +
{{#vardefine: hp| {{ #expr:{{#show:{{#var:name}}|?Max Hit Points Base}}*{{#show:{{#var:matName}}|?Max Hit Points Factor}} }} }}
 +
{{#vardefine: coverage| {{#show:{{#var:name|}}|?Coverage}} }}
 +
 
{{#vardefine:value|    {{formatnum:{{Q|{{#var:name}}|Market Value Base}}|R}}}}
 
{{#vardefine:value|    {{formatnum:{{Q|{{#var:name}}|Market Value Base}}|R}}}}
 
<noinclude>
 
<noinclude>
Line 33: Line 44:
 
|  +{{ #expr: 0.8*{{#var:insulHeat|}}  round 2}}&deg;C
 
|  +{{ #expr: 0.8*{{#var:insulHeat|}}  round 2}}&deg;C
 
|  -{{ #expr: 0.8*{{#var:insulCold|}}  round 2}}&deg;C
 
|  -{{ #expr: 0.8*{{#var:insulCold|}}  round 2}}&deg;C
| {{Q|{{#var:name}}|Max Hit Points Base}}
+
| {{#var:hp}}
| {{Q|{{#var:name|}}|Coverage}}
+
| {{#var:coverage}}
|{{#if:{{#pos:{{Q|{{#var:name|}}|Layer}}|Skin }}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
+
{{#var:layerDisplay|}}
|{{#if:{{#pos:{{Q|{{#var:name|}}|Layer}}|Middle}}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
 
|{{#if:{{#pos:{{Q|{{#var:name|}}|Layer}}|Outer}}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
 
|{{#if:{{#pos:{{Q|{{#var:name|}}|Layer}}|Headgear}}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
 
 
| {{Market Value | {{ #expr: 0.5*{{#var:value|}}}}}}{{icon|silver|}}
 
| {{Market Value | {{ #expr: 0.5*{{#var:value|}}}}}}{{icon|silver|}}
 
|-
 
|-
Line 53: Line 61:
 
|  +{{ #expr: 0.9*{{#var:insulHeat|}}  round 2}}&deg;C
 
|  +{{ #expr: 0.9*{{#var:insulHeat|}}  round 2}}&deg;C
 
|  -{{ #expr: 0.9*{{#var:insulCold|}}  round 2}}&deg;C
 
|  -{{ #expr: 0.9*{{#var:insulCold|}}  round 2}}&deg;C
| {{Q|{{#var:name}}|Max Hit Points Base}}
+
| {{#var:hp}}
| {{Q|{{#var:name|}}|Coverage}}
+
| {{#var:coverage}}
|{{#if:{{#pos:{{Q|{{#var:name|}}|Layer}}|Skin }}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
+
{{#var:layerDisplay|}}
|{{#if:{{#pos:{{Q|{{#var:name|}}|Layer}}|Middle}}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
 
|{{#if:{{#pos:{{Q|{{#var:name|}}|Layer}}|Outer}}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
 
|{{#if:{{#pos:{{Q|{{#var:name|}}|Layer}}|Headgear}}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
 
 
| {{Market Value | {{ #expr: 0.75*{{#var:value|}}}}}}{{icon|silver|}}
 
| {{Market Value | {{ #expr: 0.75*{{#var:value|}}}}}}{{icon|silver|}}
 
|-
 
|-
Line 71: Line 76:
 
|  +{{ #expr: 1.0*{{#var:insulHeat|}}  round 2}}&deg;C
 
|  +{{ #expr: 1.0*{{#var:insulHeat|}}  round 2}}&deg;C
 
|  -{{ #expr: 1.0*{{#var:insulCold|}}  round 2}}&deg;C
 
|  -{{ #expr: 1.0*{{#var:insulCold|}}  round 2}}&deg;C
| {{Q|{{#var:name}}|Max Hit Points Base}}
+
| {{#var:hp}}
| {{Q|{{#var:name|}}|Coverage}}
+
| {{#var:coverage}}
|{{#if:{{#pos:{{Q|{{#var:name|}}|Layer}}|Skin }}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
+
{{#var:layerDisplay|}}
|{{#if:{{#pos:{{Q|{{#var:name|}}|Layer}}|Middle}}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
 
|{{#if:{{#pos:{{Q|{{#var:name|}}|Layer}}|Outer}}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
 
|{{#if:{{#pos:{{Q|{{#var:name|}}|Layer}}|Headgear}}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
 
 
| {{Market Value | {{ #expr: 1.00*{{#var:value|}}}}}}{{icon|silver|}}
 
| {{Market Value | {{ #expr: 1.00*{{#var:value|}}}}}}{{icon|silver|}}
 
|-
 
|-
Line 89: Line 91:
 
|  +{{ #expr: 1.1*{{#var:insulHeat|}}  round 2}}&deg;C
 
|  +{{ #expr: 1.1*{{#var:insulHeat|}}  round 2}}&deg;C
 
|  -{{ #expr: 1.1*{{#var:insulCold|}}  round 2}}&deg;C
 
|  -{{ #expr: 1.1*{{#var:insulCold|}}  round 2}}&deg;C
| {{Q|{{#var:name}}|Max Hit Points Base}}
+
| {{#var:hp}}
| {{Q|{{#var:name|}}|Coverage}}
+
| {{#var:coverage}}
|{{#if:{{#pos:{{Q|{{#var:name|}}|Layer}}|Skin }}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
+
{{#var:layerDisplay|}}
|{{#if:{{#pos:{{Q|{{#var:name|}}|Layer}}|Middle}}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
 
|{{#if:{{#pos:{{Q|{{#var:name|}}|Layer}}|Outer}}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
 
|{{#if:{{#pos:{{Q|{{#var:name|}}|Layer}}|Headgear}}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
 
 
| {{Market Value | {{#ifexpr: {{ #expr: 1.25*{{#var:value|}}}} < {{ #expr: 500+{{#var:value|}}}} | {{ #expr: 1.25*{{#var:value|}}}} | {{ #expr: 500+{{#var:value|}}}}}}  }}{{icon|silver|}}
 
| {{Market Value | {{#ifexpr: {{ #expr: 1.25*{{#var:value|}}}} < {{ #expr: 500+{{#var:value|}}}} | {{ #expr: 1.25*{{#var:value|}}}} | {{ #expr: 500+{{#var:value|}}}}}}  }}{{icon|silver|}}
 
|-
 
|-
Line 107: Line 106:
 
|  +{{ #expr: 1.2*{{#var:insulHeat|}}  round 2}}&deg;C
 
|  +{{ #expr: 1.2*{{#var:insulHeat|}}  round 2}}&deg;C
 
|  -{{ #expr: 1.2*{{#var:insulCold|}}  round 2}}&deg;C
 
|  -{{ #expr: 1.2*{{#var:insulCold|}}  round 2}}&deg;C
| {{Q|{{#var:name}}|Max Hit Points Base}}
+
| {{#var:hp}}
| {{Q|{{#var:name|}}|Coverage}}
+
| {{#var:coverage}}
|{{#if:{{#pos:{{Q|{{#var:name|}}|Layer}}|Skin }}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
+
{{#var:layerDisplay|}}
|{{#if:{{#pos:{{Q|{{#var:name|}}|Layer}}|Middle}}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
 
|{{#if:{{#pos:{{Q|{{#var:name|}}|Layer}}|Outer}}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
 
|{{#if:{{#pos:{{Q|{{#var:name|}}|Layer}}|Headgear}}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
 
 
| {{Market Value | {{#ifexpr: {{ #expr: 1.5*{{#var:value|}}}} < {{ #expr: 1000+{{#var:value|}}}} | {{ #expr: 1.5*{{#var:value|}}}} | {{ #expr: 1000+{{#var:value|}}}}}}  }}{{icon|silver|}}
 
| {{Market Value | {{#ifexpr: {{ #expr: 1.5*{{#var:value|}}}} < {{ #expr: 1000+{{#var:value|}}}} | {{ #expr: 1.5*{{#var:value|}}}} | {{ #expr: 1000+{{#var:value|}}}}}}  }}{{icon|silver|}}
 
|-
 
|-
Line 125: Line 121:
 
|  +{{ #expr: 1.5*{{#var:insulHeat|}}  round 2}}&deg;C
 
|  +{{ #expr: 1.5*{{#var:insulHeat|}}  round 2}}&deg;C
 
|  -{{ #expr: 1.5*{{#var:insulCold|}}  round 2}}&deg;C
 
|  -{{ #expr: 1.5*{{#var:insulCold|}}  round 2}}&deg;C
| {{Q|{{#var:name}}|Max Hit Points Base}}
+
| {{#var:hp}}
| {{Q|{{#var:name|}}|Coverage}}
+
| {{#var:coverage}}
|{{#if:{{#pos:{{Q|{{#var:name|}}|Layer}}|Skin }}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
+
{{#var:layerDisplay|}}
|{{#if:{{#pos:{{Q|{{#var:name|}}|Layer}}|Middle}}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
 
|{{#if:{{#pos:{{Q|{{#var:name|}}|Layer}}|Outer}}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
 
|{{#if:{{#pos:{{Q|{{#var:name|}}|Layer}}|Headgear}}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
 
 
| {{Market Value | {{#ifexpr: {{ #expr: 2.5*{{#var:value|}}}} < {{ #expr: 2000+{{#var:value|}}}} | {{ #expr: 2.5*{{#var:value|}}}} | {{ #expr: 2000+{{#var:value|}}}}}}  }}{{icon|silver|}}
 
| {{Market Value | {{#ifexpr: {{ #expr: 2.5*{{#var:value|}}}} < {{ #expr: 2000+{{#var:value|}}}} | {{ #expr: 2.5*{{#var:value|}}}} | {{ #expr: 2000+{{#var:value|}}}}}}  }}{{icon|silver|}}
 
|-
 
|-
Line 143: Line 136:
 
|  +{{ #expr: 1.8*{{#var:insulHeat|}}  round 2}}&deg;C
 
|  +{{ #expr: 1.8*{{#var:insulHeat|}}  round 2}}&deg;C
 
|  -{{ #expr: 1.8*{{#var:insulCold|}}  round 2}}&deg;C
 
|  -{{ #expr: 1.8*{{#var:insulCold|}}  round 2}}&deg;C
| {{Q|{{#var:name}}|Max Hit Points Base}}
+
| {{#var:hp}}
| {{Q|{{#var:name|}}|Coverage}}
+
| {{#var:coverage}}
|{{#if:{{#pos:{{Q|{{#var:name|}}|Layer}}|Skin }}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
+
{{#var:layerDisplay|}}
|{{#if:{{#pos:{{Q|{{#var:name|}}|Layer}}|Middle}}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
 
|{{#if:{{#pos:{{Q|{{#var:name|}}|Layer}}|Outer}}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
 
|{{#if:{{#pos:{{Q|{{#var:name|}}|Layer}}|Headgear}}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
 
 
| {{Market Value | {{#ifexpr: {{ #expr: 5*{{#var:value|}}}} < {{ #expr: 3000+{{#var:value|}}}} | {{ #expr: 5*{{#var:value|}}}} | {{ #expr: 3000+{{#var:value|}}}}}}  }}{{icon|silver|}}
 
| {{Market Value | {{#ifexpr: {{ #expr: 5*{{#var:value|}}}} < {{ #expr: 3000+{{#var:value|}}}} | {{ #expr: 5*{{#var:value|}}}} | {{ #expr: 3000+{{#var:value|}}}}}}  }}{{icon|silver|}}
 
|-
 
|-
 
<noinclude>[[Category: Harakoni page]]</noinclude>
 
<noinclude>[[Category: Harakoni page]]</noinclude>

Revision as of 11:41, 22 September 2021








Quality Name Armor
Sharp
Armor
Blunt
Armor
Heat
Insulation
Heat
Insulation
Cold
HP Coverage Occupies
Skin
Occupies
Middle
Occupies
Shell
Occupies
Head
Market
Value
Marine armor Awful Marine armor 63.6 27 32.4 +7.2°C -25.6°C Expression error: Missing operand for *. Torso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm, Left Leg, Right Leg Ex.png Check.png Check.png Ex.png 1015 Silver
Marine armor Poor Marine armor 84.8 36 43.2 +8.1°C -28.8°C Expression error: Missing operand for *. Torso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm, Left Leg, Right Leg Ex.png Check.png Check.png Ex.png 765 Silver
Marine armor Normal Marine armor 106 45 54 +9°C -32°C Expression error: Missing operand for *. Torso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm, Left Leg, Right Leg Ex.png Check.png Check.png Ex.png 765 Silver
Marine armor Good Marine armor 121.9 51.75 62.1 +9.9°C -35.2°C Expression error: Missing operand for *. Torso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm, Left Leg, Right Leg Ex.png Check.png Check.png Ex.png 955 Silver
Marine armor Excellent Marine armor 137.8 58.5 70.2 +10.8°C -38.4°C Expression error: Missing operand for *. Torso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm, Left Leg, Right Leg Ex.png Check.png Check.png Ex.png 1430 Silver
Marine armor Masterwork Marine armor 153.7 65.25 78.3 +13.5°C -48°C Expression error: Missing operand for *. Torso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm, Left Leg, Right Leg Ex.png Check.png Check.png Ex.png 3430 Silver
Marine armor Legendary Marine armor 190.8 81 97.2 +16.2°C -57.6°C Expression error: Missing operand for *. Torso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm, Left Leg, Right Leg Ex.png Check.png Check.png Ex.png 6430 Silver