Commit a4f53ad2 authored by Julia Santos's avatar Julia Santos

Banana now disappears after Do Lab cutscene

parent 86df6fd1
......@@ -93,6 +93,8 @@ func _start_lab(): # trying the lab the first time, adds the new quests
quests.add("Feed Banana")
newQuests = true
movementHandle.finishTutorial()
#change sprite for terrarium
bedroom.get_node("Terrarium").flavorText = "OMG! Where did Banana go??"
func _add_quest(questName):
print("Added "+questName)
......@@ -126,7 +128,7 @@ func getClean():
return bathroomClean
func _foundBanana():
quests.finishQuest("Find Banana")
#quests.finishQuest("Find Banana")
foundBanana = true
# ----------------- Notebook puzzle events -----------------
func _enter_notebook_laundry(): # trying to engage in the notebook puzzle for doing laundry
......
......@@ -26,10 +26,10 @@ load_path = "res://.import/placeholder item.png-cd6e4c1231156687d87915032ec4361d
[sub_resource type="RectangleShape2D" id=4]
extents = Vector2( 16.0697, 9.41678 )
[sub_resource type="RectangleShape2D" id=15]
[sub_resource type="RectangleShape2D" id=5]
extents = Vector2( 16.0423, 12.4535 )
[sub_resource type="StreamTexture" id=16]
[sub_resource type="StreamTexture" id=6]
flags = 4
load_path = "res://.import/trail 3.png-9960f4c5b964f5aca36ca6c97e309a5d.stex"
......@@ -103,7 +103,7 @@ __meta__ = {
"_edit_group_": true
}
interactable = true
flavorText = "OMG! Where did Banana go??"
flavorText = "Hello, my little yellow daughter."
[node name="CollisionShape2D" type="CollisionShape2D" parent="Terrarium"]
position = Vector2( -0.433167, 2.2196 )
......@@ -149,13 +149,13 @@ interactable = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Laptop"]
position = Vector2( -16.4264, -2.27527 )
scale = Vector2( 5, 5 )
shape = SubResource( 15 )
shape = SubResource( 5 )
[node name="Sprite" type="Sprite" parent="Laptop/CollisionShape2D"]
visible = false
position = Vector2( -0.277301, -0.137165 )
scale = Vector2( 0.0197574, 0.0197574 )
texture = SubResource( 16 )
texture = SubResource( 6 )
[node name="Bathroom door" type="StaticBody2D" parent="."]
position = Vector2( 588.187, 226.932 )
......
......@@ -7,10 +7,10 @@ func _ready():
func mouseInteraction():
.mouseInteraction()
if flavorText != "Okay... if I were a lizard, where would I be?":
emit_signal("checked", "Find Banana")
if flavorText == "OMG! Where did Banana go??":
#emit_signal("checked", "Find Banana")
flavorText = "Okay... if I were a lizard, where would I be?"
func passEvent(handler):
connect("checked", handler,"_add_quest")
#connect("checked", handler,"_add_quest")
pass
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