void Brew() { potionType = recipeBook.GetBrewingResult(ingredients); ingredients.Clear(); Debug.Log("Potion type is " + potionType); gameObject.GetComponent <Potion>().ChangeColor(potionType); }