Difference between revisions of "Template:Apparel Protection Compare Chart"

From RimWorld Wiki
Jump to navigation Jump to search
Line 38: Line 38:
 
|height=150
 
|height=150
 
|type=line
 
|type=line
|colors = {{{color|red, blue, d9ef8b, a6d96a, 66bd63, 1a9850, 006837, black}}}
+
|colors = {{{color|red, blue, #d9ef8b, #a6d96a, #66bd63, #1a9850, #006837, black}}}
 
|xAxisTitle={{{damageType|Weapon}}} AP
 
|xAxisTitle={{{damageType|Weapon}}} AP
 
|xAxisMin = 0
 
|xAxisMin = 0

Revision as of 15:54, 6 December 2024

Documentation icon Template documentation[view] [edit] [history] [purge]

Parameters

It takes 2 sets of 4 parameters:

  • set1name: the title for the 1st armor set to put in the legend
  • set1armor1: the armor rating at normal quality for the 1st (outermost) layer of the 1st set
  • set1armor2: the armor rating at normal quality for the 2nd layer of the 1st set
  • set1armor3: the armor rating at normal quality for the 3rd layer of the 1st set
  • set1armor4: the armor rating at normal quality for the 4th layer of the 1st set

Replace set1 with set2 to assign the parameters for the 2nd set.

This template is dependent on Template:Apparel AP Calculation

Example

{{Apparel Protection Compare Chart|set1name=Flak Vest and Devilstrand Duster | set1armor1=42| set1armor2=100| set2name=Marine Armor | set2armor1= 106 | damageType=Sharp }}