ArmorClassDefinition ​
Inherits: DatabaseResource < Resource
ArmorClassDefinition defines the kinds of armor (plate, leather, cloth): a name and a color. It is a label that proficiencies, conditions and items read. What a character needs to wear a class is a ProficiencyDefinition (a level needed to equip), not a field of the class.
Properties ​
Color | color | Color.WHITE |
Array[ArmorClassBonus] | bonuses | [] |
Methods ​
bool | is_valid() |
Array[Dictionary] | validate() |
String | get_id() |
Dictionary | get_armor_info() |
String | get_description_text() |
Property descriptions ​
Visual Properties
Color color = Color.WHITE ​
Color associated with this armor type
Bonuses Of The Class
Array[ArmorClassBonus] bonuses = [] ​
The effects the wearer gets for wearing pieces of this class, in the way of a set bonus: each bonus says how many worn pieces of the class it needs. Empty = the class gives nothing by itself
Method descriptions ​
bool is_valid() ​
Validation methods
Array[Dictionary] validate() ​
Checks the settings. Gives the problems found (empty when it is fine).
String get_id() ​
Get ID from filename
Dictionary get_armor_info() ​
Info methods
String get_description_text() ​
The description of the armor class.