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
f5fea615
Commit
f5fea615
authored
Mar 30, 2022
by
Julia Santos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed inventory bug
parent
150266c3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
12 deletions
+5
-12
Multi.tscn
Multi.tscn
+3
-12
Inventory UI.gd
Scripts/Inventory UI.gd
+2
-0
No files found.
Multi.tscn
View file @
f5fea615
...
...
@@ -167,17 +167,11 @@ visible = false
script = ExtResource( 4 )
items = [ NodePath("Laundry door"), NodePath("Groceries"), NodePath("Stool"), NodePath("Noise") ]
[node name="Sprite2" parent="Laundry area/Noise/Hitbox" index="0"]
frame = 0
[node name="Kitchen" parent="." instance=ExtResource( 8 )]
visible = false
script = ExtResource( 4 )
items = [ NodePath("Fridge"), NodePath("Cabinet"), NodePath("Stool"), NodePath("Granola bar"), NodePath("Sink"), NodePath("Noise") ]
[node name="Sprite2" parent="Kitchen/Noise/Hitbox" index="0"]
frame = 0
[node name="Fridge" parent="." instance=ExtResource( 17 )]
visible = false
script = ExtResource( 4 )
...
...
@@ -203,6 +197,9 @@ visible = false
script = ExtResource( 4 )
items = [ NodePath("Balcony door"), NodePath("Plants"), NodePath("Lab notes"), NodePath("Yoga mat"), NodePath("Front door"), NodePath("Noise"), NodePath("Yoga mat2") ]
[node name="Sprite2" parent="Living room/Noise/Hitbox" index="0"]
frame = 0
[node name="Living room - Notepad" parent="." instance=ExtResource( 32 )]
visible = false
script = ExtResource( 4 )
...
...
@@ -213,9 +210,6 @@ visible = false
script = ExtResource( 4 )
items = [ NodePath("Door to neighbor"), NodePath("Door to Moxie"), NodePath("Trash chute"), NodePath("Neighbor doorbell"), NodePath("Noise") ]
[node name="Sprite2" parent="Hallway/Noise/Hitbox" index="0"]
frame = 0
[node name="Balcony" parent="." instance=ExtResource( 24 )]
visible = false
script = ExtResource( 4 )
...
...
@@ -226,9 +220,6 @@ visible = false
script = ExtResource( 4 )
items = [ NodePath("Ladder"), NodePath("Neighbor to balcony"), NodePath("Neighbor"), NodePath("Reptile memorabilia"), NodePath("Toolbox"), NodePath("Screwdriver"), NodePath("Neighbor to hallway"), NodePath("Dialogue arrow"), NodePath("Noise") ]
[node name="Sprite3" parent="Neighbor\'s room/Noise/Hitbox" index="0"]
frame = 0
[node name="Neighbor\'s balcony" parent="." instance=ExtResource( 23 )]
visible = false
script = ExtResource( 4 )
...
...
Scripts/Inventory UI.gd
View file @
f5fea615
...
...
@@ -46,12 +46,14 @@ func _on_Inventory_right_pressed():
if (inventory.get_item_count() > firstIndex + 5):
firstIndex = firstIndex + 5
updateUI()
unselect_all()
func _on_Inventory_left_pressed():
if firstIndex != 0:
firstIndex = firstIndex - 5
updateUI()
unselect_all()
func disableAll():
var j = 0
...
...
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