clothing
Vars | |
armor_list | These are armor values that protect the wearer, taken from the clothing's armor datum. List updates on examine because it's currently only used to print armor ratings to chat in Topic(). |
---|---|
blood_overlay_type | sets the icon path of the onmob blood overlay created by this object. syntax is "[var]blood" |
clothing_traits | Trait modification, lazylist of traits to add/take away, on equipment/drop in the correct slot |
durability_list | These are armor values that protect the clothing, taken from its armor datum. List updates on examine because it's currently only used to print armor ratings to chat in Topic(). |
flash_protect | What level of bright light protection item has. |
moth_edible | If this can be eaten by a moth |
Procs | |
armor_to_protection_class | Rounds armor_value to nearest 10, divides it by 10 and then expresses it in roman numerals up to 10 |
attach_clothing_traits | Inserts a trait (or multiple traits) into the clothing traits list |
detach_clothing_traits | Removes a trait (or multiple traits) from the clothing traits list |
setup_blood_overlay | sets up the proper bloody overlay for a clothing object, using species data |
Var Details
armor_list
These are armor values that protect the wearer, taken from the clothing's armor datum. List updates on examine because it's currently only used to print armor ratings to chat in Topic().
blood_overlay_type
sets the icon path of the onmob blood overlay created by this object. syntax is "[var]blood"
clothing_traits
Trait modification, lazylist of traits to add/take away, on equipment/drop in the correct slot
durability_list
These are armor values that protect the clothing, taken from its armor datum. List updates on examine because it's currently only used to print armor ratings to chat in Topic().
flash_protect
What level of bright light protection item has.
moth_edible
If this can be eaten by a moth
Proc Details
armor_to_protection_class
Rounds armor_value to nearest 10, divides it by 10 and then expresses it in roman numerals up to 10
Rounds armor_value to nearest 10, divides it by 10 and then expresses it in roman numerals up to 10 Arguments:
- armor_value - Number we're converting
attach_clothing_traits
Inserts a trait (or multiple traits) into the clothing traits list
If worn, then we will also give the wearer the trait as if equipped
This is so you can add clothing traits without worrying about needing to equip or unequip them to gain effects
detach_clothing_traits
Removes a trait (or multiple traits) from the clothing traits list
If worn, then we will also remove the trait from the wearer as if unequipped
This is so you can add clothing traits without worrying about needing to equip or unequip them to gain effects
setup_blood_overlay
sets up the proper bloody overlay for a clothing object, using species data