Returns the durability warning status of an equipped item. Looking up the status returned by this function in the
INVENTORY_ALERT_COLORS table provides color values, used in the default UI to highlight parts of the DurabiltyFrame (i.e. the "armored man" image) that appears when durability is low.
See also Inventory functions.
status- Alert status for the item in the given slot (
0- No alert; the slot is empty, contains an item whose durability is above critical levels, or contains an item without a durability value
1- The item's durability is dangerously low
2- The item's durability is at zero (the item is broken)