public ItemSubClass(int id, string description, string previewNoteLeft = "", string previewNoteRight = "", ItemInventoryType[] lockedInventoryType = null, ItemMaterial material = null) { Id = id; Description = description; PreviewNoteLeft = previewNoteLeft; PreviewNoteRight = previewNoteRight; LockedInventoryType = lockedInventoryType; Material = material; }
public static ItemSubClass[] GetConsumableList() { return(new[] { new ItemSubClass(0, "Consumable", material: ItemMaterial.GetConsumable()), new ItemSubClass(1, "Potion", material: ItemMaterial.GetConsumable()), new ItemSubClass(2, "Elixir", material: ItemMaterial.GetConsumable()), new ItemSubClass(3, "Flask", material: ItemMaterial.GetConsumable()), new ItemSubClass(4, "Scroll", material: ItemMaterial.GetConsumable()), new ItemSubClass(5, "Food & Drink", material: ItemMaterial.GetConsumable()), new ItemSubClass(6, "Item Enhancement", material: ItemMaterial.GetConsumable()), new ItemSubClass(7, "Bandage", material: ItemMaterial.GetConsumable()), new ItemSubClass(8, "Other", material: ItemMaterial.GetConsumable()) }); }
public static ItemSubClass[] GetArmorList() { var armorType = ItemInventoryType.GetArmor(); var relicType = ItemInventoryType.GetArmor(); return(new[] { new ItemSubClass(1, "Cloth", lockedInventoryType: armorType, material: ItemMaterial.GetCloth()), new ItemSubClass(2, "Leather", lockedInventoryType: armorType, material: ItemMaterial.GetLeather()), new ItemSubClass(3, "Mail", lockedInventoryType: armorType, material: ItemMaterial.GetChain()), new ItemSubClass(4, "Plate", lockedInventoryType: armorType, material: ItemMaterial.GetPlate()), new ItemSubClass(6, "Shield", lockedInventoryType: ItemInventoryType.GetShield(), material: ItemMaterial.GetPlate()), new ItemSubClass(7, "Libram", lockedInventoryType: relicType), new ItemSubClass(8, "Idol", lockedInventoryType: relicType), new ItemSubClass(9, "Totem", lockedInventoryType: relicType), new ItemSubClass(10, "Sigil", lockedInventoryType: relicType), new ItemSubClass(0, "Miscellaneous", lockedInventoryType: ItemInventoryType.GetAllInventoryTypes()) }); }