public void OnMouseUp() { if (equipIngredient.equippedObject != null) { AddIngredient(equipIngredient.equippedObject); if (MonsterSpawner.inTutorial && (!YarnBarTending.multipleIngredients || (currentDrink.GetAmount() == 4 && dataStorage.currentDay == 0) || (currentDrink.GetAmount() == 3 && dataStorage.currentDay == 1) || (currentDrink.GetAmount() == 3 && dataStorage.currentDay == 2))) { equipIngredient.equippedObject.GetComponent <HoverHighlight>().isEnabled = false; equipIngredient.equippedObject.GetComponent <ClickIngredient>().isEnabled = false; equipIngredient.ClickOnObject(equipIngredient.equippedObject); YarnBarTending.EnableDialogueFunctions(); YarnBarTending.multipleIngredients = false; } } }