summary refs log tree commit diff stats
path: root/data
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-12-10 13:15:42 -0500
committerGitHub <noreply@github.com>2023-12-10 19:15:42 +0100
commit99128f67a3b4478a5561b1ba33a2f3588a61a1df (patch)
tree6afdfc1d51bb8b6d22e6b20725aacaef9437ebb4 /data
parentee4ebe472759e91d511f3f151311f3a54e68051b (diff)
downloadlingo-apworld-99128f67a3b4478a5561b1ba33a2f3588a61a1df.tar.gz
lingo-apworld-99128f67a3b4478a5561b1ba33a2f3588a61a1df.tar.bz2
lingo-apworld-99128f67a3b4478a5561b1ba33a2f3588a61a1df.zip
Lingo: Fix entrance checking being broken on default settings (#2506)
The most serious issue this PR addresses is that entrances that use doors without items (a small subset of doors when door shuffle is on, but *every* door when door shuffle is off, which is the default) underestimate the requirements needed to use that entrance. The logic would calculate the panels needed to open the door, but would neglect to keep track of the rooms those panels were in, meaning that doors would be considered openable if you had the colors needed to solve a panel that's in a room you have no access to.

Another issue is that, previously, logic would always consider the "ANOTHER TRY" panel accessible for the purposes of the LEVEL 2 panel hunt. This could result in seeds where the player is expected to have exactly the correct number of solves to reach LEVEL 2, but in reality is short by one because ANOTHER TRY itself is not revealed until the panel hunt is complete. This change marks ANOTHER TRY as non-counting, because even though it is technically a counting panel in-game, it can never contribute to the LEVEL 2 panel hunt. This issue could also apply to THE MASTER, since it is the only other counting panel with special access rules, although it is much less likely. This change adds special handling for counting THE MASTER. These issues were possible to manifest whenever the LEVEL 2 panel hunt was enabled, which it is by default.

Smaller logic issues also fixed in this PR:

* The Orange Tower Basement MASTERY panel was marked as requiring the mastery doors to be opened, when it was actually possible to get it without them by using a painting to get into the room.
* The Pilgrim Room painting item was incorrectly being marked as a filler item, despite it being progression.
* There has been another update to the game that adds connections between areas that were previously not connected. These changes were additive, which is why they are not critical.
* The panel stacks in the rhyme room now require both colours on each panel.
Diffstat (limited to 'data')
-rw-r--r--data/LL1.yaml112
-rw-r--r--data/ids.yaml5
2 files changed, 92 insertions, 25 deletions
diff --git a/data/LL1.yaml b/data/LL1.yaml index 8a4f831..ea5886f 100644 --- a/data/LL1.yaml +++ b/data/LL1.yaml
@@ -373,6 +373,7 @@
373 ANOTHER TRY: 373 ANOTHER TRY:
374 id: Entry Room/Panel_advance 374 id: Entry Room/Panel_advance
375 tag: topwhite 375 tag: topwhite
376 non_counting: True # This is a counting panel in-game, but it can never count towards the LEVEL 2 panel hunt.
376 LEVEL 2: 377 LEVEL 2:
377 # We will set up special rules for this in code. 378 # We will set up special rules for this in code.
378 id: EndPanel/Panel_level_2 379 id: EndPanel/Panel_level_2
@@ -1033,6 +1034,8 @@
1033 Hallway Room (3): True 1034 Hallway Room (3): True
1034 Hallway Room (4): True 1035 Hallway Room (4): True
1035 Hedge Maze: True # through the door to the sectioned-off part of the hedge maze 1036 Hedge Maze: True # through the door to the sectioned-off part of the hedge maze
1037 Cellar:
1038 door: Lookout Entrance
1036 panels: 1039 panels:
1037 MASSACRED: 1040 MASSACRED:
1038 id: Palindrome Room/Panel_massacred_sacred 1041 id: Palindrome Room/Panel_massacred_sacred
@@ -1168,11 +1171,21 @@
1168 - KEEP 1171 - KEEP
1169 - BAILEY 1172 - BAILEY
1170 - TOWER 1173 - TOWER
1174 Lookout Entrance:
1175 id: Cross Room Doors/Door_missing
1176 location_name: Outside The Agreeable - Lookout Panels
1177 panels:
1178 - NORTH
1179 - WINTER
1180 - DIAMONDS
1181 - FIRE
1171 paintings: 1182 paintings:
1172 - id: panda_painting 1183 - id: panda_painting
1173 orientation: south 1184 orientation: south
1174 - id: eyes_yellow_painting 1185 - id: eyes_yellow_painting
1175 orientation: east 1186 orientation: east
1187 - id: pencil_painting7
1188 orientation: north
1176 progression: 1189 progression:
1177 Progressive Hallway Room: 1190 Progressive Hallway Room:
1178 - Hallway Door 1191 - Hallway Door
@@ -2043,7 +2056,7 @@
2043 door: Sixth Floor 2056 door: Sixth Floor
2044 Cellar: 2057 Cellar:
2045 room: Room Room 2058 room: Room Room
2046 door: Shortcut to Fifth Floor 2059 door: Cellar Exit
2047 Welcome Back Area: 2060 Welcome Back Area:
2048 door: Welcome Back 2061 door: Welcome Back
2049 Art Gallery: 2062 Art Gallery:
@@ -2302,9 +2315,6 @@
2302 id: Master Room/Panel_mastery_mastery3 2315 id: Master Room/Panel_mastery_mastery3
2303 tag: midwhite 2316 tag: midwhite
2304 hunt: True 2317 hunt: True
2305 required_door:
2306 room: Orange Tower Seventh Floor
2307 door: Mastery
2308 THE LIBRARY: 2318 THE LIBRARY:
2309 id: EndPanel/Panel_library 2319 id: EndPanel/Panel_library
2310 check: True 2320 check: True
@@ -2675,6 +2685,10 @@
2675 Outside The Undeterred: True 2685 Outside The Undeterred: True
2676 Outside The Agreeable: True 2686 Outside The Agreeable: True
2677 Outside The Wanderer: True 2687 Outside The Wanderer: True
2688 The Observant: True
2689 Art Gallery: True
2690 The Scientific: True
2691 Cellar: True
2678 Orange Tower Fifth Floor: 2692 Orange Tower Fifth Floor:
2679 room: Orange Tower Fifth Floor 2693 room: Orange Tower Fifth Floor
2680 door: Welcome Back 2694 door: Welcome Back
@@ -2991,8 +3005,7 @@
2991 PATS: 3005 PATS:
2992 id: Rhyme Room/Panel_wrath_path 3006 id: Rhyme Room/Panel_wrath_path
2993 colors: purple 3007 colors: purple
2994 tag: midpurp and rhyme 3008 tag: forbid
2995 copy_to_sign: sign15
2996 KNIGHT: 3009 KNIGHT:
2997 id: Rhyme Room/Panel_knight_write 3010 id: Rhyme Room/Panel_knight_write
2998 colors: purple 3011 colors: purple
@@ -3158,6 +3171,8 @@
3158 door: Painting Shortcut 3171 door: Painting Shortcut
3159 painting: True 3172 painting: True
3160 Room Room: True # trapdoor 3173 Room Room: True # trapdoor
3174 Outside The Agreeable:
3175 painting: True
3161 panels: 3176 panels:
3162 UNOPEN: 3177 UNOPEN:
3163 id: Truncate Room/Panel_unopened_open 3178 id: Truncate Room/Panel_unopened_open
@@ -6299,17 +6314,22 @@
6299 SKELETON: 6314 SKELETON:
6300 id: Double Room/Panel_bones_syn 6315 id: Double Room/Panel_bones_syn
6301 tag: syn rhyme 6316 tag: syn rhyme
6317 colors: purple
6302 subtag: bot 6318 subtag: bot
6303 link: rhyme BONES 6319 link: rhyme BONES
6304 REPENTANCE: 6320 REPENTANCE:
6305 id: Double Room/Panel_sentence_rhyme 6321 id: Double Room/Panel_sentence_rhyme
6306 colors: purple 6322 colors:
6323 - purple
6324 - blue
6307 tag: whole rhyme 6325 tag: whole rhyme
6308 subtag: top 6326 subtag: top
6309 link: rhyme SENTENCE 6327 link: rhyme SENTENCE
6310 WORD: 6328 WORD:
6311 id: Double Room/Panel_sentence_whole 6329 id: Double Room/Panel_sentence_whole
6312 colors: blue 6330 colors:
6331 - purple
6332 - blue
6313 tag: whole rhyme 6333 tag: whole rhyme
6314 subtag: bot 6334 subtag: bot
6315 link: rhyme SENTENCE 6335 link: rhyme SENTENCE
@@ -6321,6 +6341,7 @@
6321 link: rhyme DREAM 6341 link: rhyme DREAM
6322 FANTASY: 6342 FANTASY:
6323 id: Double Room/Panel_dream_syn 6343 id: Double Room/Panel_dream_syn
6344 colors: purple
6324 tag: syn rhyme 6345 tag: syn rhyme
6325 subtag: bot 6346 subtag: bot
6326 link: rhyme DREAM 6347 link: rhyme DREAM
@@ -6332,6 +6353,7 @@
6332 link: rhyme MYSTERY 6353 link: rhyme MYSTERY
6333 SECRET: 6354 SECRET:
6334 id: Double Room/Panel_mystery_syn 6355 id: Double Room/Panel_mystery_syn
6356 colors: purple
6335 tag: syn rhyme 6357 tag: syn rhyme
6336 subtag: bot 6358 subtag: bot
6337 link: rhyme MYSTERY 6359 link: rhyme MYSTERY
@@ -6386,25 +6408,33 @@
6386 door: Nines 6408 door: Nines
6387 FERN: 6409 FERN:
6388 id: Double Room/Panel_return_rhyme 6410 id: Double Room/Panel_return_rhyme
6389 colors: purple 6411 colors:
6412 - purple
6413 - black
6390 tag: ant rhyme 6414 tag: ant rhyme
6391 subtag: top 6415 subtag: top
6392 link: rhyme RETURN 6416 link: rhyme RETURN
6393 STAY: 6417 STAY:
6394 id: Double Room/Panel_return_ant 6418 id: Double Room/Panel_return_ant
6395 colors: black 6419 colors:
6420 - purple
6421 - black
6396 tag: ant rhyme 6422 tag: ant rhyme
6397 subtag: bot 6423 subtag: bot
6398 link: rhyme RETURN 6424 link: rhyme RETURN
6399 FRIEND: 6425 FRIEND:
6400 id: Double Room/Panel_descend_rhyme 6426 id: Double Room/Panel_descend_rhyme
6401 colors: purple 6427 colors:
6428 - purple
6429 - black
6402 tag: ant rhyme 6430 tag: ant rhyme
6403 subtag: top 6431 subtag: top
6404 link: rhyme DESCEND 6432 link: rhyme DESCEND
6405 RISE: 6433 RISE:
6406 id: Double Room/Panel_descend_ant 6434 id: Double Room/Panel_descend_ant
6407 colors: black 6435 colors:
6436 - purple
6437 - black
6408 tag: ant rhyme 6438 tag: ant rhyme
6409 subtag: bot 6439 subtag: bot
6410 link: rhyme DESCEND 6440 link: rhyme DESCEND
@@ -6416,6 +6446,7 @@
6416 link: rhyme JUMP 6446 link: rhyme JUMP
6417 BOUNCE: 6447 BOUNCE:
6418 id: Double Room/Panel_jump_syn 6448 id: Double Room/Panel_jump_syn
6449 colors: purple
6419 tag: syn rhyme 6450 tag: syn rhyme
6420 subtag: bot 6451 subtag: bot
6421 link: rhyme JUMP 6452 link: rhyme JUMP
@@ -6427,6 +6458,7 @@
6427 link: rhyme FALL 6458 link: rhyme FALL
6428 PLUNGE: 6459 PLUNGE:
6429 id: Double Room/Panel_fall_syn 6460 id: Double Room/Panel_fall_syn
6461 colors: purple
6430 tag: syn rhyme 6462 tag: syn rhyme
6431 subtag: bot 6463 subtag: bot
6432 link: rhyme FALL 6464 link: rhyme FALL
@@ -6456,13 +6488,17 @@
6456 panels: 6488 panels:
6457 BIRD: 6489 BIRD:
6458 id: Double Room/Panel_word_rhyme 6490 id: Double Room/Panel_word_rhyme
6459 colors: purple 6491 colors:
6492 - purple
6493 - blue
6460 tag: whole rhyme 6494 tag: whole rhyme
6461 subtag: top 6495 subtag: top
6462 link: rhyme WORD 6496 link: rhyme WORD
6463 LETTER: 6497 LETTER:
6464 id: Double Room/Panel_word_whole 6498 id: Double Room/Panel_word_whole
6465 colors: blue 6499 colors:
6500 - purple
6501 - blue
6466 tag: whole rhyme 6502 tag: whole rhyme
6467 subtag: bot 6503 subtag: bot
6468 link: rhyme WORD 6504 link: rhyme WORD
@@ -6474,6 +6510,7 @@
6474 link: rhyme HIDDEN 6510 link: rhyme HIDDEN
6475 CONCEALED: 6511 CONCEALED:
6476 id: Double Room/Panel_hidden_syn 6512 id: Double Room/Panel_hidden_syn
6513 colors: purple
6477 tag: syn rhyme 6514 tag: syn rhyme
6478 subtag: bot 6515 subtag: bot
6479 link: rhyme HIDDEN 6516 link: rhyme HIDDEN
@@ -6485,6 +6522,7 @@
6485 link: rhyme SILENT 6522 link: rhyme SILENT
6486 MUTE: 6523 MUTE:
6487 id: Double Room/Panel_silent_syn 6524 id: Double Room/Panel_silent_syn
6525 colors: purple
6488 tag: syn rhyme 6526 tag: syn rhyme
6489 subtag: bot 6527 subtag: bot
6490 link: rhyme SILENT 6528 link: rhyme SILENT
@@ -6531,6 +6569,7 @@
6531 link: rhyme BLOCKED 6569 link: rhyme BLOCKED
6532 OBSTRUCTED: 6570 OBSTRUCTED:
6533 id: Double Room/Panel_blocked_syn 6571 id: Double Room/Panel_blocked_syn
6572 colors: purple
6534 tag: syn rhyme 6573 tag: syn rhyme
6535 subtag: bot 6574 subtag: bot
6536 link: rhyme BLOCKED 6575 link: rhyme BLOCKED
@@ -6542,6 +6581,7 @@
6542 link: rhyme RISE 6581 link: rhyme RISE
6543 SWELL: 6582 SWELL:
6544 id: Double Room/Panel_rise_syn 6583 id: Double Room/Panel_rise_syn
6584 colors: purple
6545 tag: syn rhyme 6585 tag: syn rhyme
6546 subtag: bot 6586 subtag: bot
6547 link: rhyme RISE 6587 link: rhyme RISE
@@ -6553,6 +6593,7 @@
6553 link: rhyme ASCEND 6593 link: rhyme ASCEND
6554 CLIMB: 6594 CLIMB:
6555 id: Double Room/Panel_ascend_syn 6595 id: Double Room/Panel_ascend_syn
6596 colors: purple
6556 tag: syn rhyme 6597 tag: syn rhyme
6557 subtag: bot 6598 subtag: bot
6558 link: rhyme ASCEND 6599 link: rhyme ASCEND
@@ -6564,6 +6605,7 @@
6564 link: rhyme DOUBLE 6605 link: rhyme DOUBLE
6565 DUPLICATE: 6606 DUPLICATE:
6566 id: Double Room/Panel_double_syn 6607 id: Double Room/Panel_double_syn
6608 colors: purple
6567 tag: syn rhyme 6609 tag: syn rhyme
6568 subtag: bot 6610 subtag: bot
6569 link: rhyme DOUBLE 6611 link: rhyme DOUBLE
@@ -6642,6 +6684,7 @@
6642 link: rhyme CHILD 6684 link: rhyme CHILD
6643 KID: 6685 KID:
6644 id: Double Room/Panel_child_syn 6686 id: Double Room/Panel_child_syn
6687 colors: purple
6645 tag: syn rhyme 6688 tag: syn rhyme
6646 subtag: bot 6689 subtag: bot
6647 link: rhyme CHILD 6690 link: rhyme CHILD
@@ -6653,6 +6696,7 @@
6653 link: rhyme CRYSTAL 6696 link: rhyme CRYSTAL
6654 QUARTZ: 6697 QUARTZ:
6655 id: Double Room/Panel_crystal_syn 6698 id: Double Room/Panel_crystal_syn
6699 colors: purple
6656 tag: syn rhyme 6700 tag: syn rhyme
6657 subtag: bot 6701 subtag: bot
6658 link: rhyme CRYSTAL 6702 link: rhyme CRYSTAL
@@ -6664,6 +6708,7 @@
6664 link: rhyme CREATIVE 6708 link: rhyme CREATIVE
6665 INNOVATIVE (Bottom): 6709 INNOVATIVE (Bottom):
6666 id: Double Room/Panel_creative_syn 6710 id: Double Room/Panel_creative_syn
6711 colors: purple
6667 tag: syn rhyme 6712 tag: syn rhyme
6668 subtag: bot 6713 subtag: bot
6669 link: rhyme CREATIVE 6714 link: rhyme CREATIVE
@@ -6882,7 +6927,7 @@
6882 event: True 6927 event: True
6883 panels: 6928 panels:
6884 - WALL (1) 6929 - WALL (1)
6885 Shortcut to Fifth Floor: 6930 Cellar Exit:
6886 id: 6931 id:
6887 - Tower Room Area Doors/Door_panel_basement 6932 - Tower Room Area Doors/Door_panel_basement
6888 - Tower Room Area Doors/Door_panel_basement2 6933 - Tower Room Area Doors/Door_panel_basement2
@@ -6895,7 +6940,10 @@
6895 door: Excavation 6940 door: Excavation
6896 Orange Tower Fifth Floor: 6941 Orange Tower Fifth Floor:
6897 room: Room Room 6942 room: Room Room
6898 door: Shortcut to Fifth Floor 6943 door: Cellar Exit
6944 Outside The Agreeable:
6945 room: Outside The Agreeable
6946 door: Lookout Entrance
6899 Outside The Wise: 6947 Outside The Wise:
6900 entrances: 6948 entrances:
6901 Orange Tower Sixth Floor: 6949 Orange Tower Sixth Floor:
@@ -7319,49 +7367,65 @@
7319 link: change GRAVITY 7367 link: change GRAVITY
7320 PART: 7368 PART:
7321 id: Chemistry Room/Panel_physics_2 7369 id: Chemistry Room/Panel_physics_2
7322 colors: blue 7370 colors:
7371 - blue
7372 - red
7323 tag: blue mid red bot 7373 tag: blue mid red bot
7324 subtag: mid 7374 subtag: mid
7325 link: xur PARTICLE 7375 link: xur PARTICLE
7326 MATTER: 7376 MATTER:
7327 id: Chemistry Room/Panel_physics_1 7377 id: Chemistry Room/Panel_physics_1
7328 colors: red 7378 colors:
7379 - blue
7380 - red
7329 tag: blue mid red bot 7381 tag: blue mid red bot
7330 subtag: bot 7382 subtag: bot
7331 link: xur PARTICLE 7383 link: xur PARTICLE
7332 ELECTRIC: 7384 ELECTRIC:
7333 id: Chemistry Room/Panel_physics_6 7385 id: Chemistry Room/Panel_physics_6
7334 colors: purple 7386 colors:
7387 - purple
7388 - red
7335 tag: purple mid red bot 7389 tag: purple mid red bot
7336 subtag: mid 7390 subtag: mid
7337 link: xpr ELECTRON 7391 link: xpr ELECTRON
7338 ATOM (1): 7392 ATOM (1):
7339 id: Chemistry Room/Panel_physics_3 7393 id: Chemistry Room/Panel_physics_3
7340 colors: red 7394 colors:
7395 - purple
7396 - red
7341 tag: purple mid red bot 7397 tag: purple mid red bot
7342 subtag: bot 7398 subtag: bot
7343 link: xpr ELECTRON 7399 link: xpr ELECTRON
7344 NEUTRAL: 7400 NEUTRAL:
7345 id: Chemistry Room/Panel_physics_7 7401 id: Chemistry Room/Panel_physics_7
7346 colors: purple 7402 colors:
7403 - purple
7404 - red
7347 tag: purple mid red bot 7405 tag: purple mid red bot
7348 subtag: mid 7406 subtag: mid
7349 link: xpr NEUTRON 7407 link: xpr NEUTRON
7350 ATOM (2): 7408 ATOM (2):
7351 id: Chemistry Room/Panel_physics_4 7409 id: Chemistry Room/Panel_physics_4
7352 colors: red 7410 colors:
7411 - purple
7412 - red
7353 tag: purple mid red bot 7413 tag: purple mid red bot
7354 subtag: bot 7414 subtag: bot
7355 link: xpr NEUTRON 7415 link: xpr NEUTRON
7356 PROPEL: 7416 PROPEL:
7357 id: Chemistry Room/Panel_physics_8 7417 id: Chemistry Room/Panel_physics_8
7358 colors: purple 7418 colors:
7419 - purple
7420 - red
7359 tag: purple mid red bot 7421 tag: purple mid red bot
7360 subtag: mid 7422 subtag: mid
7361 link: xpr PROTON 7423 link: xpr PROTON
7362 ATOM (3): 7424 ATOM (3):
7363 id: Chemistry Room/Panel_physics_5 7425 id: Chemistry Room/Panel_physics_5
7364 colors: red 7426 colors:
7427 - purple
7428 - red
7365 tag: purple mid red bot 7429 tag: purple mid red bot
7366 subtag: bot 7430 subtag: bot
7367 link: xpr PROTON 7431 link: xpr PROTON
diff --git a/data/ids.yaml b/data/ids.yaml index 1a1ceca..3239f21 100644 --- a/data/ids.yaml +++ b/data/ids.yaml
@@ -1064,6 +1064,9 @@ doors:
1064 Hallway Door: 1064 Hallway Door:
1065 item: 444459 1065 item: 444459
1066 location: 445214 1066 location: 445214
1067 Lookout Entrance:
1068 item: 444579
1069 location: 445271
1067 Dread Hallway: 1070 Dread Hallway:
1068 Tenacious Entrance: 1071 Tenacious Entrance:
1069 item: 444462 1072 item: 444462
@@ -1402,7 +1405,7 @@ doors:
1402 item: 444570 1405 item: 444570
1403 location: 445266 1406 location: 445266
1404 Room Room: 1407 Room Room:
1405 Shortcut to Fifth Floor: 1408 Cellar Exit:
1406 item: 444571 1409 item: 444571
1407 location: 445076 1410 location: 445076
1408 Outside The Wise: 1411 Outside The Wise: