Commit 4f4d1d7c authored by Julia Santos's avatar Julia Santos

Fixed bug where the flavor text thinks Banana is still missing when trying to repot plants

parent 3a26c58d
......@@ -438,6 +438,7 @@ func _in_desk(): # looking at desk
if !lockedNotepad: # only if notepad has been retrieved
zoom_in()
inventoryUI.show()
deselect.show()
desk.show()
bedroom.hide()
......
......@@ -613,6 +613,7 @@ __meta__ = {
}
[node name="Cutscenes" type="Node2D" parent="."]
visible = false
z_index = 2
[node name="0" parent="Cutscenes" instance=ExtResource( 42 )]
......
......@@ -10,12 +10,11 @@ func passEvent(handler):
connect("notebook_puzzle", handler,"_enter_notebook_plants")
func mouseInteraction():
.mouseInteraction()
if !quests.hasQuest("Feed Banana"):
flavorText = "I need to water and repot these plants, but I don't know where to start.."
else:
flavorText = "Plants later. Banana first. I don't even wanna know how long she's been trapped out here, poor thing..."
.mouseInteraction()
func objInteraction(selected): # when an object is used on it
var flavor = control.interaction(inventory.get_item_text(selected), self.get_name())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment