Difference between revisions of "User:Harakoni/ArmorQualityStuffableMaterial"

From RimWorld Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{#vardefine:name| {{{ 1 | Duster }}} }}
+
<noinclude>{{#vardefine:name| duster }}</noinclude>
{{#vardefine:matName| {{{ 2 | Thrumbofur }}} }}
+
{{#vardefine:matName| {{{ 1 | Thrumbofur }}} }}
{{#vardefine:armSharp| {{ #expr: {{Q|{{#var:name}}|Armor Factor - Sharp}}*{{Q|{{#var:matName}}|Armor - Sharp Factor}} *100 round 2}} }}
+
{{#vardefine:armSharp| {{ #expr: {{#show:{{#var:name}}|?Armor Factor - Sharp}}*{{#show:{{#var:matName}}|?Armor - Sharp Factor}}*100 round 2}} }}
{{#vardefine:armBlunt| {{ #expr: {{Q|{{#var:name}}|Armor Factor - Blunt}}*{{Q|{{#var:matName}}|Armor - Blunt Factor}} *100 round 2}} }}
+
{{#vardefine:armBlunt| {{ #expr: {{#show:{{#var:name}}|?Armor Factor - Blunt}}*{{#show:{{#var:matName}}|?Armor - Blunt Factor}}*100 round 2}} }}
{{#vardefine:armHeat|  {{ #expr: {{Q|{{#var:name}}|Armor Factor - Heat}}*{{Q|{{#var:matName}}|Armor - Heat Factor}} *100 round 2}} }}
+
{{#vardefine:armHeat|  {{ #expr: {{#show:{{#var:name}}|?Armor Factor - Heat}} *{{#show:{{#var:matName}}|?Armor - Heat Factor}} *100 round 2}} }}
  
{{#vardefine:insulHeat| {{formatnum:{{Q|{{#var:name}}|Insulation Factor - Heat}}|R}}}}
+
{{#vardefine:insulHeat| {{formatnum:{{#show:{{#var:name}}|?Insulation Factor - Heat}}|R}}}}
{{#vardefine:insulCold| {{formatnum:{{Q|{{#var:name}}|Insulation Factor - Cold}}|R}}}}
+
{{#vardefine:insulCold| {{formatnum:{{#show:{{#var:name}}|?Insulation Factor - Cold}}|R}}}}
  
{{#vardefine:matHP|       {{Q|{{#var:matName}}|Max Hit Points Factor}} }}
+
{{#vardefine:layer|{{#show:{{#var:name}}|?Layer|link=none}} }}
{{#vardefine:matInsulCold|{{Q|{{#var:matName}}|Insulation - Cold Factor}} }}
+
{{#vardefine:layerDisplay|
{{#vardefine:matInsulHeat|{{Q|{{#var:matName}}|Insulation - Heat Factor}} }}
+
{{!}}{{#if:{{#pos:{{#var:layer|}}|Skin }}| [[File:check.png|24px]] | [[File:ex.png|24px]] }}
{{#vardefine:matValue|   {{Q|{{#var:matName}}|Market Value Base}} }}
+
{{!}}{{#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:matInsulCold|{{#show:{{#var:matName}}|?Insulation - Cold Factor}} }}
 +
{{#vardefine:matInsulHeat|{{#show:{{#var:matName}}|?Insulation - Heat Factor}} }}
  
 
{{#vardefine:value|    {{formatnum: {{Market Value Calculator|{{#var:name}}|{{#var:matName}}}}|R}}}}
 
{{#vardefine:value|    {{formatnum: {{Market Value Calculator|{{#var:name}}|{{#var:matName}}}}|R}}}}
Line 41: Line 50:
 
|  +{{ #expr: 0.8*{{#var:insulHeat|}}*{{#var:matInsulHeat|}}  round 2}}&deg;C
 
|  +{{ #expr: 0.8*{{#var:insulHeat|}}*{{#var:matInsulHeat|}}  round 2}}&deg;C
 
|  -{{ #expr: 0.8*{{#var:insulCold|}}*{{#var:matInsulCold|}}  round 2}} &deg;C
 
|  -{{ #expr: 0.8*{{#var:insulCold|}}*{{#var:matInsulCold|}}  round 2}} &deg;C
| {{ #expr:{{Q|{{#var:name}}|Max Hit Points Base}}*{{#var:matHP|}}}}
+
| {{#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 61: Line 67:
 
|  +{{ #expr: 0.9*{{#var:insulHeat|}}*{{#var:matInsulHeat|}}  round 2}}&deg;C
 
|  +{{ #expr: 0.9*{{#var:insulHeat|}}*{{#var:matInsulHeat|}}  round 2}}&deg;C
 
|  -{{ #expr: 0.9*{{#var:insulCold|}}*{{#var:matInsulCold|}}  round 2}}&deg;C
 
|  -{{ #expr: 0.9*{{#var:insulCold|}}*{{#var:matInsulCold|}}  round 2}}&deg;C
| {{ #expr:{{Q|{{#var:name}}|Max Hit Points Base}}*{{#var:matHP|}}}}
+
| {{#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 79: Line 82:
 
|  +{{ #expr: 1.0*{{#var:insulHeat|}}*{{#var:matInsulHeat|}}  round 2}}&deg;C
 
|  +{{ #expr: 1.0*{{#var:insulHeat|}}*{{#var:matInsulHeat|}}  round 2}}&deg;C
 
|  -{{ #expr: 1.0*{{#var:insulCold|}}*{{#var:matInsulCold|}}  round 2}}&deg;C
 
|  -{{ #expr: 1.0*{{#var:insulCold|}}*{{#var:matInsulCold|}}  round 2}}&deg;C
| {{ #expr:{{Q|{{#var:name}}|Max Hit Points Base}}*{{#var:matHP|}}}}
+
| {{#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 97: Line 97:
 
|  +{{ #expr: 1.1*{{#var:insulHeat|}}*{{#var:matInsulHeat|}}  round 2}}&deg;C
 
|  +{{ #expr: 1.1*{{#var:insulHeat|}}*{{#var:matInsulHeat|}}  round 2}}&deg;C
 
|  -{{ #expr: 1.1*{{#var:insulCold|}}*{{#var:matInsulCold|}}  round 2}}&deg;C
 
|  -{{ #expr: 1.1*{{#var:insulCold|}}*{{#var:matInsulCold|}}  round 2}}&deg;C
| {{ #expr:{{Q|{{#var:name}}|Max Hit Points Base}}*{{#var:matHP|}}}}
+
| {{#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 115: Line 112:
 
|  +{{ #expr: 1.2*{{#var:insulHeat|}}*{{#var:matInsulHeat|}}  round 2}}&deg;C
 
|  +{{ #expr: 1.2*{{#var:insulHeat|}}*{{#var:matInsulHeat|}}  round 2}}&deg;C
 
|  -{{ #expr: 1.2*{{#var:insulCold|}}*{{#var:matInsulCold|}}  round 2}}&deg;C
 
|  -{{ #expr: 1.2*{{#var:insulCold|}}*{{#var:matInsulCold|}}  round 2}}&deg;C
| {{ #expr:{{Q|{{#var:name}}|Max Hit Points Base}}*{{#var:matHP|}}}}
+
| {{#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 133: Line 127:
 
|  +{{ #expr: 1.5*{{#var:insulHeat|}}*{{#var:matInsulHeat|}}  round 2}}&deg;C
 
|  +{{ #expr: 1.5*{{#var:insulHeat|}}*{{#var:matInsulHeat|}}  round 2}}&deg;C
 
|  -{{ #expr: 1.5*{{#var:insulCold|}}*{{#var:matInsulCold|}}  round 2}}&deg;C
 
|  -{{ #expr: 1.5*{{#var:insulCold|}}*{{#var:matInsulCold|}}  round 2}}&deg;C
| {{ #expr:{{Q|{{#var:name}}|Max Hit Points Base}}*{{#var:matHP|}}}}
+
| {{#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 151: Line 142:
 
|  +{{ #expr: 1.8*{{#var:insulHeat|}}*{{#var:matInsulHeat|}}  round 2}}&deg;C
 
|  +{{ #expr: 1.8*{{#var:insulHeat|}}*{{#var:matInsulHeat|}}  round 2}}&deg;C
 
|  -{{ #expr: 1.8*{{#var:insulCold|}}*{{#var:matInsulCold|}}  round 2}}&deg;C
 
|  -{{ #expr: 1.8*{{#var:insulCold|}}*{{#var:matInsulCold|}}  round 2}}&deg;C
| {{ #expr:{{Q|{{#var:name}}|Max Hit Points Base}}*{{#var:matHP|}}}}
+
| {{#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:38, 22 September 2021











Quality Name Armor
Sharp
Armor
Blunt
Armor
Heat
Insulation
Heat
Insulation
Cold
HP Coverage Occupies
Skin
Occupies
Middle
Occupies
Outer
Occupies
Head
Market
Value
Duster Awful Thrumbofur duster 37.44% 6.48% 27% +14.96°C -16.32 °C 400 Torso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm, Left Leg, Right Leg Ex.png Ex.png Check.png Ex.png 575 Silver
Duster Poor Thrumbofur duster 49.92% 8.64% 36% +16.83°C -18.36°C 400 Torso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm, Left Leg, Right Leg Ex.png Ex.png Check.png Ex.png 435 Silver
Duster Normal Thrumbofur duster 62.4% 10.8% 45% +18.7°C -20.4°C 400 Torso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm, Left Leg, Right Leg Ex.png Ex.png Check.png Ex.png 435 Silver
Duster Good Thrumbofur duster 71.76% 12.42% 51.75% +20.57°C -22.44°C 400 Torso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm, Left Leg, Right Leg Ex.png Ex.png Check.png Ex.png 540 Silver
Duster Excellent Thrumbofur duster 81.12% 14.04% 58.5% +22.44°C -24.48°C 400 Torso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm, Left Leg, Right Leg Ex.png Ex.png Check.png Ex.png 810 Silver
Duster Masterwork Thrumbofur duster 90.48% 15.66% 65.25% +28.05°C -30.6°C 400 Torso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm, Left Leg, Right Leg Ex.png Ex.png Check.png Ex.png 2030 Silver
Duster Legendary Thrumbofur duster 112.32% 19.44% 81% +33.66°C -36.72°C 400 Torso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm, Left Leg, Right Leg Ex.png Ex.png Check.png Ex.png 5030 Silver