namespace DFEngine.Content.Items { /// /// Class that contains data for a character's equipment. /// public class Equipment : Inventory { /// /// The base maximum number of items this inventory can contain. /// public const int BaseCapacity = 29; /// /// Creates a new instance of the class. /// public Equipment() : base(InventoryType.EQUIPPED, BaseCapacity) { } /// /// Returns the equipped item at the specified inventory position. /// /// The item's equip type.S public Item this[ItemEquip equip] => Items.First(i => i.Info.Equip == equip); } }