Armor Object Functions for Mocha


integer obj.armor_value;
void set_armor_value (object obj, integer value);
Determine or set the armor value for an armor object. Armor value must be in the range 0 to 10. The actual adjustment to armor class gained by wearing the armor depends on the location on which the armor is worn.

integer obj.armor_min_size;
integer obj.armor_max_size;
void set_armor_size (object obj, integer min_size, integer max_size);
Determine or set the size range for a piece of armor. A minimum size of 0 indicates that the armor can be used by anyone, regardless of their size.


Return to Mocha Object Functions Page

Return to Mocha's Main Page