Commit 01d795ba authored by Julia Santos's avatar Julia Santos

Edited some flavor text

parent 66282c27
...@@ -409,6 +409,8 @@ func _open_fridge(): # looking into the fridge ...@@ -409,6 +409,8 @@ func _open_fridge(): # looking into the fridge
fridge.show() fridge.show()
zoom_in() zoom_in()
notepad.hide() notepad.hide()
dialogue.text = "Do I want a snack, or do I want to throw something together to make a sandwich? It'd take more work but it'd be yummier!"
dialogue.playText()
else: else:
dialogue.text = "Not quite dinnertime yet!" dialogue.text = "Not quite dinnertime yet!"
dialogue.playText() dialogue.playText()
......
...@@ -27,13 +27,13 @@ load_path = "res://.import/placeholder item.png-cd6e4c1231156687d87915032ec4361d ...@@ -27,13 +27,13 @@ load_path = "res://.import/placeholder item.png-cd6e4c1231156687d87915032ec4361d
[sub_resource type="RectangleShape2D" id=4] [sub_resource type="RectangleShape2D" id=4]
extents = Vector2( 13.7101, 7.33546 ) extents = Vector2( 13.7101, 7.33546 )
[sub_resource type="RectangleShape2D" id=6] [sub_resource type="RectangleShape2D" id=5]
extents = Vector2( 62.7102, 48.4286 ) extents = Vector2( 62.7102, 48.4286 )
[sub_resource type="RectangleShape2D" id=7] [sub_resource type="RectangleShape2D" id=6]
extents = Vector2( 15.4169, 13.9691 ) extents = Vector2( 15.4169, 13.9691 )
[sub_resource type="RectangleShape2D" id=8] [sub_resource type="RectangleShape2D" id=7]
extents = Vector2( 9.26066, 9.03523 ) extents = Vector2( 9.26066, 9.03523 )
[node name="Node2D" type="Node2D"] [node name="Node2D" type="Node2D"]
...@@ -139,7 +139,7 @@ flavorText = "This cabinet is horribly jammed. I'll have to deal with it eventua ...@@ -139,7 +139,7 @@ flavorText = "This cabinet is horribly jammed. I'll have to deal with it eventua
[node name="Hitbox" type="CollisionShape2D" parent="Cabinet"] [node name="Hitbox" type="CollisionShape2D" parent="Cabinet"]
position = Vector2( 22.2647, -55.1662 ) position = Vector2( 22.2647, -55.1662 )
scale = Vector2( 5, 5 ) scale = Vector2( 5, 5 )
shape = SubResource( 6 ) shape = SubResource( 5 )
[node name="Sprite" type="Sprite" parent="Cabinet/Hitbox"] [node name="Sprite" type="Sprite" parent="Cabinet/Hitbox"]
position = Vector2( 253.454, 93.9508 ) position = Vector2( 253.454, 93.9508 )
...@@ -166,7 +166,7 @@ flavorText = "A sturdy stool." ...@@ -166,7 +166,7 @@ flavorText = "A sturdy stool."
[node name="Hitbox" type="CollisionShape2D" parent="Stool"] [node name="Hitbox" type="CollisionShape2D" parent="Stool"]
position = Vector2( 1.25211, 0.295086 ) position = Vector2( 1.25211, 0.295086 )
scale = Vector2( 5, 5 ) scale = Vector2( 5, 5 )
shape = SubResource( 7 ) shape = SubResource( 6 )
[node name="Sprite" type="Sprite" parent="Stool/Hitbox"] [node name="Sprite" type="Sprite" parent="Stool/Hitbox"]
visible = false visible = false
...@@ -199,7 +199,7 @@ flavorText = "Crunchy. But not as filling. And very hard to open." ...@@ -199,7 +199,7 @@ flavorText = "Crunchy. But not as filling. And very hard to open."
visible = false visible = false
position = Vector2( -0.433167, 2.2196 ) position = Vector2( -0.433167, 2.2196 )
scale = Vector2( 5, 5 ) scale = Vector2( 5, 5 )
shape = SubResource( 8 ) shape = SubResource( 7 )
disabled = true disabled = true
[node name="Hitbox" type="CollisionPolygon2D" parent="Granola bar"] [node name="Hitbox" type="CollisionPolygon2D" parent="Granola bar"]
......
...@@ -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 )]
......
...@@ -21,7 +21,7 @@ func objInteraction(selected): # when an object is used on it ...@@ -21,7 +21,7 @@ func objInteraction(selected): # when an object is used on it
elif typeof(flavor) != 0: #checks if there's coded flavor text for this interaction elif typeof(flavor) != 0: #checks if there's coded flavor text for this interaction
dialogueBox.text = flavor dialogueBox.text = flavor
else: else:
dialogueBox.text = "No flavor text found" #can replace this later! dialogueBox.text = "I don't think that would be helpful." #can replace this later!
dialogueBox.playText() dialogueBox.playText()
func canEatGranola(): func canEatGranola():
......
...@@ -27,7 +27,7 @@ func objInteraction(selected): ...@@ -27,7 +27,7 @@ func objInteraction(selected):
if typeof(flavor) != 0: #checks if there's coded flavor text for this interaction if typeof(flavor) != 0: #checks if there's coded flavor text for this interaction
dialogueBox.text = flavor dialogueBox.text = flavor
else: else:
dialogueBox.text = "No flavor text found" #can replace this later! dialogueBox.text = "I don't think that would help." #can replace this later!
if inventory.get_item_text(selected) == "Screwdriver": # unjamming the cabinet with the screwdriver if inventory.get_item_text(selected) == "Screwdriver": # unjamming the cabinet with the screwdriver
dialogueBox.text = "Food, you are now free from your prison. You're welcome." dialogueBox.text = "Food, you are now free from your prison. You're welcome."
get_node("Hitbox/Sprite").visible = false get_node("Hitbox/Sprite").visible = false
......
...@@ -36,7 +36,7 @@ func objInteraction(selected): # when an object is used on it ...@@ -36,7 +36,7 @@ func objInteraction(selected): # when an object is used on it
elif typeof(flavor) != 0: #checks if there's coded flavor text for this interaction elif typeof(flavor) != 0: #checks if there's coded flavor text for this interaction
dialogueBox.text = flavor dialogueBox.text = flavor
else: else:
dialogueBox.text = "No flavor text found" #can replace this later! dialogueBox.text = "Let's not clutter up little Banana's home." #can replace this later!
dialogueBox.playText() dialogueBox.playText()
func removeBanana(): func removeBanana():
......
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