about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--apworld/player_logic.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/apworld/player_logic.py b/apworld/player_logic.py index 8f2bd59..5be066d 100644 --- a/apworld/player_logic.py +++ b/apworld/player_logic.py
@@ -316,12 +316,9 @@ class Lingo2PlayerLogic:
316 AccessRequirements())) 316 AccessRequirements()))
317 317
318 for ending in world.static_logic.objects.endings: 318 for ending in world.static_logic.objects.endings:
319 # Don't ever create a location for White Ending. Don't even make an event for it if it's not the victory 319 # Don't create a location for your selected ending, and never create a location for White Ending.
320 # condition, since it is necessarily going to be in the postgame. 320 if world.options.victory_condition.current_key.removesuffix("_ending").upper() != ending.name\
321 if ending.name == "WHITE": 321 and ending.name != "WHITE":
322 if self.world.options.victory_condition != VictoryCondition.option_white_ending:
323 continue
324 else:
325 self.locations_by_room.setdefault(ending.room_id, []).append(PlayerLocation(ending.ap_id, 322 self.locations_by_room.setdefault(ending.room_id, []).append(PlayerLocation(ending.ap_id,
326 AccessRequirements())) 323 AccessRequirements()))
327 324
'>3037b93 ^
d7212d7 ^
02c331f ^




325ea53 ^
02c331f ^
9f25878 ^

9798316 ^


02c331f ^
9798316 ^

09d67fb ^
325ea53 ^
02c331f ^
09d67fb ^
0a3c0c6 ^

09d67fb ^

9798316 ^




34133b1 ^
9798316 ^
02c331f ^
3037b93 ^













02c331f ^




9bf6a50 ^


02c331f ^






9798316 ^


f753049 ^


















9798316 ^
f753049 ^

9f25878 ^
3037b93 ^










02c331f ^


a9bc708 ^








02c331f ^
a9bc708 ^
d7212d7 ^
3b49bdc ^

53a2ec2 ^





02c331f ^

8e89e19 ^
4adfe42 ^
cf3fc6c ^


4adfe42 ^





8e89e19 ^
02c331f ^






325ea53 ^




a9bc708 ^




























02c331f ^





22014b9 ^



9bf6a50 ^
0a3c0c6 ^



9bf6a50 ^
02c331f ^

22014b9 ^
02c331f ^

22014b9 ^
02c331f ^
9f25878 ^
9798316 ^
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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232