Difference between revisions of "Template:Apparel Protection Chart/doc"

From RimWorld Wiki
Jump to navigation Jump to search
Line 2: Line 2:
  
 
==Parameters==
 
==Parameters==
It takes 4 parameters, each a different armor value that will then be applied as different layers per [[Apparel#Protection]]
+
It takes two sets of 4 parameters, each a different armor value that will then be applied as different layers per [[Apparel#Protection]], and a name for each set.
 +
set1name
 +
set1armor1
 +
set1armor2
 +
set1armor3
 +
set1armor4
  
 +
set2name
 +
set2armor1
 +
set2armor2
 +
set2armor3
 +
set2armor4
 
==Examples==
 
==Examples==
  <nowiki>{{Apparel Protection Chart|100}}</nowiki>
+
  <nowiki>{{Apparel Protection Chart|set1armor1=100}}</nowiki>
{{Apparel Protection Chart|100}}
+
{{Apparel Protection Chart|set1armor1=100}}
  
  <nowiki>{{Apparel Protection Chart|100|100}}</nowiki>
+
  <nowiki>{{Apparel Protection Chart|set1armor1=100|set1armor2=100}}</nowiki>
{{Apparel Protection Chart|100|100}}
+
{{Apparel Protection Chart|set1armor1=100|set1armor2=100}}
  
  <nowiki>{{Apparel Protection Chart|100|100|100|100}}</nowiki>
+
  <nowiki>{{Apparel Protection Chart|set1name= Flak Vest and Devil Duster | set1armor1=42| set1armor2=100| set2name= Marine armor | set2armor1= 106 }}</nowiki>
{{Apparel Protection Chart|100|100|100|100}}
+
{{Apparel Protection Chart|set1name= Flak Vest and Devil Duster | set1armor1=42| set1armor2=100| set2name= Marine armor | set2armor1= 106 }}

Revision as of 09:10, 22 March 2021

Displayed the effective damage percentage (i.e. what percentage of given attacks damage would get through the layer) for a range of APs.

Parameters

It takes two sets of 4 parameters, each a different armor value that will then be applied as different layers per Apparel#Protection, and a name for each set. set1name set1armor1 set1armor2 set1armor3 set1armor4

set2name set2armor1 set2armor2 set2armor3 set2armor4

Examples

{{Apparel Protection Chart|set1armor1=100}}
{{Apparel Protection Chart|set1armor1=100|set1armor2=100}}
{{Apparel Protection Chart|set1name= Flak Vest and Devil Duster | set1armor1=42| set1armor2=100| set2name= Marine armor | set2armor1= 106 }}