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

From RimWorld Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
==Parameters==
 
==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.
 
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
+
* set1name = The title for the first armor set to put in the legend
set2armor1
+
* set1armor1 = The armor rating of the 1st layer of the first armor set.
set2armor2
+
* set1armor2 = The armor rating of the 2nd layer of the first armor set.
set2armor3
+
* set1armor3 = The armor rating of the 3rd layer of the first armor set.
set2armor4
+
* 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==
 
==Examples==
 
  <nowiki>{{Apparel Protection Chart|set1armor1=100}}</nowiki>
 
  <nowiki>{{Apparel Protection Chart|set1armor1=100}}</nowiki>

Revision as of 09:12, 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 = 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|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 }}