Difference between revisions of "User:Harakoni/ArmorQuality"

From RimWorld Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{#vardefine:name| {{{ 1 | Marine armor }}} }}
+
{{#vardefine:name| {{{ 1 | Gunlink }}} }}
 
{{#vardefine:armSharp|  {{formatnum:{{Q|{{#var:name}}|Armor - Sharp}}|R}}}}
 
{{#vardefine:armSharp|  {{formatnum:{{Q|{{#var:name}}|Armor - Sharp}}|R}}}}
 
{{#vardefine:armBlunt|  {{formatnum:{{Q|{{#var:name}}|Armor - Blunt}}|R}}}}
 
{{#vardefine:armBlunt|  {{formatnum:{{Q|{{#var:name}}|Armor - Blunt}}|R}}}}
Line 24: Line 24:
 
|-
 
|-
 
</noinclude>
 
</noinclude>
! {{Icon Small|{{#var:name}}|32}}
+
! {{#ifeq: {{#ifexist: {{#show: {{#var:name}} | ?image | link = none }}| TRUE | FALSE}}| FALSE |  [[File:ex.png|32px]]|{{Icon Small|{{#var:name}}|32}}}}
 
!style="text-align:right;" |'''Awful [[{{#var:name}}]]'''
 
!style="text-align:right;" |'''Awful [[{{#var:name}}]]'''
 
|  {{ #expr: 0.6*{{#var:armSharp|}} round 2}}
 
|  {{ #expr: 0.6*{{#var:armSharp|}} round 2}}
Line 43: Line 43:
  
  
! {{Icon Small|{{#var:name}}|32}}
+
! {{#ifeq: {{#ifexist: {{#show: {{#var:name}} | ?image | link = none }}| TRUE | FALSE}}| FALSE |  [[File:ex.png|32px]]|{{Icon Small|{{#var:name}}|32}}}}
 
!style="text-align:right;" |'''Poor [[{{#var:name}}]]'''
 
!style="text-align:right;" |'''Poor [[{{#var:name}}]]'''
 
|  {{ #expr: 0.8*{{#var:armSharp|}} round 2}}
 
|  {{ #expr: 0.8*{{#var:armSharp|}} round 2}}
Line 60: Line 60:
  
  
! {{Icon Small|{{#var:name}}|32}}
+
! {{#ifeq: {{#ifexist: {{#show: {{#var:name}} | ?image | link = none }}| TRUE | FALSE}}| FALSE |  [[File:ex.png|32px]]|{{Icon Small|{{#var:name}}|32}}}}
 
!style="text-align:right;" |'''Normal [[{{#var:name}}]]'''
 
!style="text-align:right;" |'''Normal [[{{#var:name}}]]'''
 
|  {{ #expr: 1.0*{{#var:armSharp|}} round 2}}
 
|  {{ #expr: 1.0*{{#var:armSharp|}} round 2}}
Line 77: Line 77:
  
  
! {{Icon Small|{{#var:name}}|32}}
+
! {{#ifeq: {{#ifexist: {{#show: {{#var:name}} | ?image | link = none }}| TRUE | FALSE}}| FALSE |  [[File:ex.png|32px]]|{{Icon Small|{{#var:name}}|32}}}}
 
!style="text-align:right;" |'''Good [[{{#var:name}}]]'''
 
!style="text-align:right;" |'''Good [[{{#var:name}}]]'''
 
|  {{ #expr: 1.15*{{#var:armSharp|}} round 2}}
 
|  {{ #expr: 1.15*{{#var:armSharp|}} round 2}}
Line 94: Line 94:
  
  
! {{Icon Small|{{#var:name}}|32}}
+
! {{#ifeq: {{#ifexist: {{#show: {{#var:name}} | ?image | link = none }}| TRUE | FALSE}}| FALSE |  [[File:ex.png|32px]]|{{Icon Small|{{#var:name}}|32}}}}
 
!style="text-align:right;" |'''Excellent [[{{#var:name}}]]'''
 
!style="text-align:right;" |'''Excellent [[{{#var:name}}]]'''
 
|  {{ #expr: 1.3*{{#var:armSharp|}} round 2}}
 
|  {{ #expr: 1.3*{{#var:armSharp|}} round 2}}
Line 111: Line 111:
  
  
! {{Icon Small|{{#var:name}}|32}}
+
! {{#ifeq: {{#ifexist: {{#show: {{#var:name}} | ?image | link = none }}| TRUE | FALSE}}| FALSE |  [[File:ex.png|32px]]|{{Icon Small|{{#var:name}}|32}}}}
 
!style="text-align:right;" |'''Masterwork [[{{#var:name}}]]'''
 
!style="text-align:right;" |'''Masterwork [[{{#var:name}}]]'''
 
|  {{ #expr: 1.45*{{#var:armSharp|}} round 2}}
 
|  {{ #expr: 1.45*{{#var:armSharp|}} round 2}}
Line 128: Line 128:
  
  
! {{Icon Small|{{#var:name}}|32}}
+
! {{#ifeq: {{#ifexist: {{#show: {{#var:name}} | ?image | link = none }}| TRUE | FALSE}}| FALSE |  [[File:ex.png|32px]]|{{Icon Small|{{#var:name}}|32}}}}
 
!style="text-align:right;" |'''Legendary [[{{#var:name}}]]'''
 
!style="text-align:right;" |'''Legendary [[{{#var:name}}]]'''
 
|  {{ #expr: 1.8*{{#var:armSharp|}} round 2}}
 
|  {{ #expr: 1.8*{{#var:armSharp|}} round 2}}

Revision as of 04:50, 11 November 2020





Quality Armor
Sharp
Armor
Blunt
Armor
Heat
Insulation
Heat
Insulation
Cold
HP Coverage Occupies
Skin
Occupies
Middle
Occupies
Shell
Occupies
Head
Market
Value
Gunlink Awful Gunlink 0 0 0 +0°C -0°C 100 Head, Left Ear, Right Ear Ex.png Ex.png Ex.png Ex.png 173 Silver
Gunlink Poor Gunlink 0 0 0 +0°C -0°C 100 Head, Left Ear, Right Ear Ex.png Ex.png Ex.png Ex.png 129 Silver
Gunlink Normal Gunlink 0 0 0 +0°C =0°C 100 Head, Left Ear, Right Ear Ex.png Ex.png Ex.png Ex.png 129 Silver
Gunlink Good Gunlink 0 0 0 +0°C -0°C 100 Head, Left Ear, Right Ear Ex.png Ex.png Ex.png Ex.png 162 Silver
Gunlink Excellent Gunlink 0 0 0 +0°C -0°C 100 Head, Left Ear, Right Ear Ex.png Ex.png Ex.png Ex.png 245 Silver
Gunlink Masterwork Gunlink 0 0 0 +0°C -0°C 100 Head, Left Ear, Right Ear Ex.png Ex.png Ex.png Ex.png 605 Silver
Gunlink Legendary Gunlink 0 0 0 +0°C -0°C 100 Head, Left Ear, Right Ear Ex.png Ex.png Ex.png Ex.png 3030 Silver