DefineClassName

DefineClassName
str DefineClassName (int Index, int Modifier)

code contained in Inventory/system/HUD_Funcs.dh

Properties:

 * Index - Pointer to the ItemList
 * Modifier - Pointer to the ModifierList

Description:
Creates and returns a compound string by checking the ItemList[n].CLASS flags. All classes have individual string definitions but some class combinations will return unique strings. Individual class strings are combined with StrParam
 * CLASS_FOOD - "Edible"
 * CLASS_WEAPON - "Weapon"
 * CLASS_INGREDIENT - "Craft Item"
 * CLASS_EQUIPPABLE - "Equipment"
 * CLASS_USABLE - "Item"
 * CLASS_CONSUMABLE - "Consumable"
 * CLASS_KEY - "Key"