Given I have a Longsword
Given I have a Dagger
Given I have a Battle axe
GIven I have a Mace
When I equip any of them
Then the item is equipped in the melee weapon slot
Given I have Leather Armor
Given I have Plate Mail
When I equip any of them
Then the item is equipped in the chest armor slot
AC:
Equipment slots are defined by EQUIP_IDX_x
Item IDs 0-11 are freed
New field is added to Item.h
Notes:
did something similar with monster effects/item effects constants
m_llEquipment can be indexed on anything, and the rest of the code will "just handle it".
Given I have a Longsword Given I have a Dagger Given I have a Battle axe GIven I have a Mace When I equip any of them Then the item is equipped in the melee weapon slot
Given I have Leather Armor Given I have Plate Mail When I equip any of them Then the item is equipped in the chest armor slot
AC:
Notes: