AlderArts/foe — pull request #185 by kspriv (2014-12-31 08:36:35+00:00)
Title: Changes to player inventory and fixed a bit

Your Inventory.ItemByType was adding items to the ItemsByType object by their item.Type(), but retrieving them by item.EquipType. This made things screwy for cases that EquipType didn't match item.Type().

e.i. See armor shop for example. Only 1 armor was ever displayed, because each new armor overwrote the array of armors since they were being added under ItemType.FullArmor, but being looked up by ItemType.TopArmor/BotArmor.