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 ...@@ -438,6 +438,7 @@ func _in_desk(): # looking at desk
if !lockedNotepad: # only if notepad has been retrieved if !lockedNotepad: # only if notepad has been retrieved
zoom_in() zoom_in()
inventoryUI.show() inventoryUI.show()
deselect.show()
desk.show() desk.show()
bedroom.hide() bedroom.hide()
......
...@@ -613,6 +613,7 @@ __meta__ = { ...@@ -613,6 +613,7 @@ __meta__ = {
} }
[node name="Cutscenes" type="Node2D" parent="."] [node name="Cutscenes" type="Node2D" parent="."]
visible = false
z_index = 2 z_index = 2
[node name="0" parent="Cutscenes" instance=ExtResource( 42 )] [node name="0" parent="Cutscenes" instance=ExtResource( 42 )]
......
...@@ -10,12 +10,11 @@ func passEvent(handler): ...@@ -10,12 +10,11 @@ func passEvent(handler):
connect("notebook_puzzle", handler,"_enter_notebook_plants") connect("notebook_puzzle", handler,"_enter_notebook_plants")
func mouseInteraction(): func mouseInteraction():
.mouseInteraction()
if !quests.hasQuest("Feed Banana"): if !quests.hasQuest("Feed Banana"):
flavorText = "I need to water and repot these plants, but I don't know where to start.." flavorText = "I need to water and repot these plants, but I don't know where to start.."
else: else:
flavorText = "Plants later. Banana first. I don't even wanna know how long she's been trapped out here, poor thing..." 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 func objInteraction(selected): # when an object is used on it
var flavor = control.interaction(inventory.get_item_text(selected), self.get_name()) 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