mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00

* Created panels mode door shuffle * Added some panel door item names * Remove RUNT TURN panel door Not really useful. * Fix logic with First SIX related stuff * Add group_doors to slot data * Fix LEVEL 2 behavior with panels mode * Fixed unit tests * Fixed duplicate IDs from merge * Just regenerated new IDs * Fixed duplication of color and door group items * Removed unnecessary unit test option * Fix The Seeker being achievable without entrance door * Fix The Observant being achievable without locked panels * Added some more panel doors * Added Progressive Suits Area * Lingo: Fix Basement access with THE MASTER * Added indirect conditions for MASTER-blocked entrances * Fixed Incomparable achievement access * Fix STAIRS panel logic * Fix merge error with good items * Is this clearer? * DREAD and TURN LEARN * Allow a weird edge case for reduced locations Panels mode door shuffle + grouped doors + color shuffle + pilgrimage enabled is exactly the right number of items for reduced locations. Removing color shuffle also allows for disabling pilgrimage, adding sunwarp locking, or both, with a couple of locations left over. * Prevent small sphere one on panels mode * Added shuffle_doors aliases for old options * Fixed a unit test * Updated datafile * Tweaked requirements for reduced locations * Added player name to OptionError messages * Update generated.dat
20 lines
736 B
Python
20 lines
736 B
Python
from . import LingoTestBase
|
|
|
|
|
|
class TestPanelHunt(LingoTestBase):
|
|
options = {
|
|
"shuffle_doors": "doors",
|
|
"location_checks": "insanity",
|
|
"victory_condition": "level_2",
|
|
"level_2_requirement": "15"
|
|
}
|
|
|
|
def test_another_try(self) -> None:
|
|
self.collect_by_name("The Traveled - Entrance") # idk why this is needed
|
|
self.assertFalse(self.can_reach_location("Second Room - ANOTHER TRY"))
|
|
self.assertFalse(self.can_reach_location("Second Room - Unlock Level 2"))
|
|
|
|
self.collect_by_name("Second Room - Exit Door")
|
|
self.assertTrue(self.can_reach_location("Second Room - ANOTHER TRY"))
|
|
self.assertTrue(self.can_reach_location("Second Room - Unlock Level 2"))
|