@@ -41,6 +41,7 @@ func _unselected_ing(ingredient): # when an ingredient is unselected, remove it
print(ingredients.size())
print(ingredients)
updateUI()
dialogue.playText()
func updateUI(): # whenever there's a change in selections, enables/disables ingredients depending on what food can or cannot be eaten with each other
if ingredients.size() >= 1 and ingredients[0] != "Granola bar": # if anything aside from the granola bar is selected, disable the granola bar, as the granola bar can only be eaten alone