GetClothingValue
Revision as of 08:14, 20 June 2008 by imported>Vswe (Added Search Terms)
Returns the "clothing value" of currently worn clothing and armor, ranging from 0 to 100. The value of each item is scaled according to the percentage of coverage used by that inventory slot (so an expensive robe will have more effect than expensive shoes). This function is best used as a condition for various dialogue options, allowing NPCs to react favorably or poorly to how someone is dressed.
The following game settings are used to determine the clothing value. Jewelry, armor, and regular clothes are all handled independently: fClothingArmorBase, fClothingArmorScale, fClothingBase, fClothingClassScale, fClothingJewelryBase, fClothingJewelryScale.