Shiptest 13 - Modules - TypesVar Details - Proc Details

clothing

Vars

armor_listThese 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().
clothing_traitsTrait modification, lazylist of traits to add/take away, on equipment/drop in the correct slot
durability_listThese 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_protectWhat level of bright light protection item has.
moth_edibleIf this can be eaten by a moth

Procs

armor_to_protection_classRounds armor_value to nearest 10, divides it by 10 and then expresses it in roman numerals up to 10
attach_clothing_traitsInserts a trait (or multiple traits) into the clothing traits list
detach_clothing_traitsRemoves a trait (or multiple traits) from the clothing traits list

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().

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:

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