Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
To Do Break Down
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
breakdown
To Do Break Down
Commits
01d795ba
Commit
01d795ba
authored
Mar 13, 2022
by
Julia Santos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edited some flavor text
parent
66282c27
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
9 deletions
+12
-9
Event Handler.gd
Event Handler.gd
+2
-0
Kitchen.tscn
Main rooms/Kitchen.tscn
+6
-6
Multi.tscn
Multi.tscn
+1
-0
Granola bar.gd
Scripts/Granola bar.gd
+1
-1
Cabinet.gd
Scripts/Movement scripts/Cabinet.gd
+1
-1
Terrarium.gd
Scripts/Terrarium.gd
+1
-1
No files found.
Event Handler.gd
View file @
01d795ba
...
...
@@ -409,6 +409,8 @@ func _open_fridge(): # looking into the fridge
fridge.show()
zoom_in()
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:
dialogue.text = "Not quite dinnertime yet!"
dialogue.playText()
...
...
Main rooms/Kitchen.tscn
View file @
01d795ba
...
...
@@ -27,13 +27,13 @@ load_path = "res://.import/placeholder item.png-cd6e4c1231156687d87915032ec4361d
[sub_resource type="RectangleShape2D" id=4]
extents = Vector2( 13.7101, 7.33546 )
[sub_resource type="RectangleShape2D" id=
6
]
[sub_resource type="RectangleShape2D" id=
5
]
extents = Vector2( 62.7102, 48.4286 )
[sub_resource type="RectangleShape2D" id=
7
]
[sub_resource type="RectangleShape2D" id=
6
]
extents = Vector2( 15.4169, 13.9691 )
[sub_resource type="RectangleShape2D" id=
8
]
[sub_resource type="RectangleShape2D" id=
7
]
extents = Vector2( 9.26066, 9.03523 )
[node name="Node2D" type="Node2D"]
...
...
@@ -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"]
position = Vector2( 22.2647, -55.1662 )
scale = Vector2( 5, 5 )
shape = SubResource(
6
)
shape = SubResource(
5
)
[node name="Sprite" type="Sprite" parent="Cabinet/Hitbox"]
position = Vector2( 253.454, 93.9508 )
...
...
@@ -166,7 +166,7 @@ flavorText = "A sturdy stool."
[node name="Hitbox" type="CollisionShape2D" parent="Stool"]
position = Vector2( 1.25211, 0.295086 )
scale = Vector2( 5, 5 )
shape = SubResource(
7
)
shape = SubResource(
6
)
[node name="Sprite" type="Sprite" parent="Stool/Hitbox"]
visible = false
...
...
@@ -199,7 +199,7 @@ flavorText = "Crunchy. But not as filling. And very hard to open."
visible = false
position = Vector2( -0.433167, 2.2196 )
scale = Vector2( 5, 5 )
shape = SubResource(
8
)
shape = SubResource(
7
)
disabled = true
[node name="Hitbox" type="CollisionPolygon2D" parent="Granola bar"]
...
...
Multi.tscn
View file @
01d795ba
...
...
@@ -613,6 +613,7 @@ __meta__ = {
}
[node name="Cutscenes" type="Node2D" parent="."]
visible = false
z_index = 2
[node name="0" parent="Cutscenes" instance=ExtResource( 42 )]
...
...
Scripts/Granola bar.gd
View file @
01d795ba
...
...
@@ -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
dialogueBox.text = flavor
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()
func canEatGranola():
...
...
Scripts/Movement scripts/Cabinet.gd
View file @
01d795ba
...
...
@@ -27,7 +27,7 @@ func objInteraction(selected):
if typeof(flavor) != 0: #checks if there's coded flavor text for this interaction
dialogueBox.text = flavor
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
dialogueBox.text = "Food, you are now free from your prison. You're welcome."
get_node("Hitbox/Sprite").visible = false
...
...
Scripts/Terrarium.gd
View file @
01d795ba
...
...
@@ -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
dialogueBox.text = flavor
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()
func removeBanana():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment