about summary refs log tree commit diff stats
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/Archipelago/manager.gd6
-rw-r--r--client/Archipelago/pauseMenu.gd6
-rw-r--r--client/Archipelago/textclient.gd2
3 files changed, 13 insertions, 1 deletions
diff --git a/client/Archipelago/manager.gd b/client/Archipelago/manager.gd index a709277..cd0654f 100644 --- a/client/Archipelago/manager.gd +++ b/client/Archipelago/manager.gd
@@ -128,6 +128,10 @@ func saveLocaldata():
128 128
129func connectToServer(): 129func connectToServer():
130 _last_new_item = -1 130 _last_new_item = -1
131 _batch_locations = false
132 _held_locations = []
133 _held_location_scouts = []
134 _location_scouts = {}
131 _letters_setup = false 135 _letters_setup = false
132 _held_letters = {} 136 _held_letters = {}
133 137
@@ -396,6 +400,8 @@ func _client_connected(slot_data):
396 _item_locks[door] = [door_group.get_ap_id(), 1] 400 _item_locks[door] = [door_group.get_ap_id(), 1]
397 401
398 # Create a reverse item locks map for processing items. 402 # Create a reverse item locks map for processing items.
403 _inverse_item_locks = {}
404
399 for door_id in _item_locks.keys(): 405 for door_id in _item_locks.keys():
400 var lock = _item_locks.get(door_id) 406 var lock = _item_locks.get(door_id)
401 407
diff --git a/client/Archipelago/pauseMenu.gd b/client/Archipelago/pauseMenu.gd index 6c013a5..5da114a 100644 --- a/client/Archipelago/pauseMenu.gd +++ b/client/Archipelago/pauseMenu.gd
@@ -4,3 +4,9 @@ extends "res://scripts/ui/pauseMenu.gd"
4func _pause_game(): 4func _pause_game():
5 global.get_node("Textclient").dismiss() 5 global.get_node("Textclient").dismiss()
6 super._pause_game() 6 super._pause_game()
7
8
9func _main_menu():
10 global.loaded = false
11 global.get_node("Archipelago").disconnect_from_ap()
12 super._main_menu()
diff --git a/client/Archipelago/textclient.gd b/client/Archipelago/textclient.gd index 4b03151..85cc6d2 100644 --- a/client/Archipelago/textclient.gd +++ b/client/Archipelago/textclient.gd
@@ -50,7 +50,7 @@ func _ready():
50 50
51 51
52func _input(event): 52func _input(event):
53 if event is InputEventKey and event.pressed: 53 if global.loaded and event is InputEventKey and event.pressed:
54 if event.keycode == KEY_TAB and !Input.is_key_pressed(KEY_SHIFT): 54 if event.keycode == KEY_TAB and !Input.is_key_pressed(KEY_SHIFT):
55 if !get_tree().paused: 55 if !get_tree().paused:
56 is_open = true 56 is_open = true
984f109fe32f291afd0408bd'>^
704c08b ^

08ffb40 ^
8e89e19 ^


2c2d9e9 ^
704c08b ^

004fb71 ^
1cb943a ^
004fb71 ^




704c08b ^
52bc9fd ^
704c08b ^

efa0587 ^
dc4a143 ^


67a2efe ^


dc4a143 ^
21883d1 ^
704c08b ^




67a2efe ^
e07e031 ^
c9a21a3 ^
704c08b ^



09d67fb ^
8e89e19 ^
704c08b ^

9bf6a50 ^
4adfe42 ^
e750333 ^
704c08b ^


9f25878 ^
704c08b ^

67a2efe ^
704c08b ^

9bf6a50 ^
3b49bdc ^
e750333 ^
704c08b ^

ea16cff ^








7f4b6b4 ^

ea16cff ^







738d970 ^


ea16cff ^

738d970 ^

ea16cff ^

d7212d7 ^





efa0587 ^
d7212d7 ^
004fb71 ^
67a2efe ^

d7212d7 ^
8e89e19 ^
2c2d9e9 ^
e07e031 ^
ea16cff ^

3b3c3ca ^
7f4b6b4 ^
704c08b ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188