Template:Apparel Protection Chart/doc

From RimWorld Wiki
Jump to navigation Jump to search

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.
  • xAxisMax = 140 for maximum length

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 }}