public static bool IsJewel(string itemBase) { if (Jewels.Contains(itemBase)) { return(true); } return(false); }
public static string GetItemType(string itemBase) { if (Bows.Contains(itemBase)) { return("Bow"); } if (Claws.Contains(itemBase)) { return("Claw"); } if (OneHandedAxes.Contains(itemBase)) { return("One Hand Axe"); } if (OneHandedMaces.Contains(itemBase)) { return("One Hand Mace"); } if (OneHandedSwords.Contains(itemBase)) { return("One Hand Sword"); } if (TwoHandedAxes.Contains(itemBase)) { return("Two Hand Axe"); } if (TwoHandedMaces.Contains(itemBase)) { return("Two Hand Mace"); } if (Sceptres.Contains(itemBase)) { return("Sceptre"); } if (Daggers.Contains(itemBase)) { return("Dagger"); } if (Staves.Contains(itemBase)) { return("Staff"); } if (Belts.Contains(itemBase)) { return("Belt"); } if (Amulets.Contains(itemBase)) { return("Amulet"); } if (Rings.Contains(itemBase)) { return("Ring"); } if (Boots.Contains(itemBase)) { return("Boots"); } if (Gloves.Contains(itemBase)) { return("Gloves"); } if (BodyArmors.Contains(itemBase)) { return("Body Armour"); } if (Wands.Contains(itemBase)) { return("Wand"); } if (Helmets.Contains(itemBase)) { return("Helmet"); } if (Shields.Contains(itemBase)) { return("Shield"); } if (Jewels.Contains(itemBase)) { return("Jewel"); } if (itemBase == "Gem") { return(itemBase); } if (Quivers.Contains(itemBase)) { return("Quiver"); } return("No type found"); }