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

From RimWorld Wiki
Jump to navigation Jump to search
Line 17: Line 17:
  
 
==Examples==
 
==Examples==
  <nowiki>{{Apparel Protection Chart|set1armor1=100}}</nowiki>
+
  <nowiki>{{Apparel Protection Chart|set1name= Flak Vest | set1armor1=100}}</nowiki>
{{Apparel Protection Chart|set1armor1=100}}
+
{{Apparel Protection Chart|set1name= Flak Vest | set1armor1=100}}
 
 
<nowiki>{{Apparel Protection Chart|set1armor1=100|set1armor2=100}}</nowiki>
 
{{Apparel Protection Chart|set1armor1=100|set1armor2=100}}
 
  
 
  <nowiki>{{Apparel Protection Chart|set1name= Flak Vest and Devil Duster | set1armor1=42| set1armor2=100| set2name= Marine armor | set2armor1= 106 }}</nowiki>
 
  <nowiki>{{Apparel Protection Chart|set1name= Flak Vest and Devil Duster | set1armor1=42| set1armor2=100| set2name= Marine armor | set2armor1= 106 }}</nowiki>
{{Apparel Protection Chart|set1name= Flak Vest and Devil Duster | set1armor1=42| set1armor2=100| set2name= Marine armor | set2armor1= 106 }}
+
{{Apparel Protection Chart|set1name= Flak Vest and Devilstrand Duster | set1armor1=42| set1armor2=100| set2name= Cataphract armor | set2armor1= 120 }}

Revision as of 14:17, 23 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 = The title for the first armor set to put in the legend
  • set1armor1 = The armor rating of the 1st layer of the first armor set.
  • set1armor2 = The armor rating of the 2nd layer of the first armor set.
  • set1armor3 = The armor rating of the 3rd layer of the first armor set.
  • set1armor4 = The armor rating of the 4th layer of the first armor set.
  • set2name = The title for the second armor set to put in the legend
  • set2armor1 = The armor rating of the 1st layer of the second armor set.
  • set2armor2 = The armor rating of the 2nd layer of the second armor set.
  • set2armor3 = The armor rating of the 3rd layer of the second armor set.
  • set2armor4 = The armor rating of the 4th layer of the second armor set.

Examples

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