public void removePhialFromInventory(PhialType type) { PhialInventory.Remove(type); }
public int getCountOfPhialsOfSortInInventory( PhialType type) { int count = 0; foreach (PhialType itemInList in PhialInventory) { if(itemInList ==type) { count++; } } return count; }
///PHIALS public void addPhialToinventory(PhialType type) { if(PhialInventory.Count<phialSizeMax) { PhialInventory.Add(type); } }
public bool checkIfPhialIsInInventory(PhialType type) { if(PhialInventory.Contains(type)) { return true; } return false; }
public static BaseRecipe getRecipe(PhialType type) { return Recipes.Instance().GetSingleRecipe(type.ToString()); }