219 lines
		
	
	
		
			10 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			219 lines
		
	
	
		
			10 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
| """
 | |
| Author: Louis M
 | |
| Date: Thu, 18 Apr 2024 18:45:56 +0000
 | |
| Description: Base class for the Aquaria randomizer unit tests
 | |
| """
 | |
| 
 | |
| 
 | |
| from test.bases import WorldTestBase
 | |
| 
 | |
| # Every location accessible after the home water.
 | |
| after_home_water_locations = [
 | |
|     "Sun Crystal",
 | |
|     "Home water, Transturtle",
 | |
|     "Open water top left area, bulb under the rock in the right path",
 | |
|     "Open water top left area, bulb under the rock in the left path",
 | |
|     "Open water top left area, bulb to the right of the save cristal",
 | |
|     "Open water top right area, bulb in the small path before Mithalas",
 | |
|     "Open water top right area, bulb in the path from the left entrance",
 | |
|     "Open water top right area, bulb in the clearing close to the bottom exit",
 | |
|     "Open water top right area, bulb in the big clearing close to the save cristal",
 | |
|     "Open water top right area, bulb in the big clearing to the top exit",
 | |
|     "Open water top right area, first urn in the Mithalas exit",
 | |
|     "Open water top right area, second urn in the Mithalas exit",
 | |
|     "Open water top right area, third urn in the Mithalas exit",
 | |
|     "Open water top right area, bulb in the turtle room",
 | |
|     "Open water top right area, Transturtle",
 | |
|     "Open water bottom left area, bulb behind the chomper fish",
 | |
|     "Open water bottom left area, bulb inside the lowest fish pass",
 | |
|     "Open water skeleton path, bulb close to the right exit",
 | |
|     "Open water skeleton path, bulb behind the chomper fish",
 | |
|     "Open water skeleton path, King skull",
 | |
|     "Arnassi Ruins, bulb in the right part",
 | |
|     "Arnassi Ruins, bulb in the left part",
 | |
|     "Arnassi Ruins, bulb in the center part",
 | |
|     "Arnassi ruins, Song plant spore on the top of the ruins",
 | |
|     "Arnassi ruins, Arnassi Armor",
 | |
|     "Arnassi Ruins, Arnassi statue",
 | |
|     "Arnassi Ruins, Transturtle",
 | |
|     "Arnassi ruins, Crab armor",
 | |
|     "Simon says area, Transturtle",
 | |
|     "Mithalas city, first bulb in the left city part",
 | |
|     "Mithalas city, second bulb in the left city part",
 | |
|     "Mithalas city, bulb in the right part",
 | |
|     "Mithalas city, bulb at the top of the city",
 | |
|     "Mithalas city, first bulb in a broken home",
 | |
|     "Mithalas city, second bulb in a broken home",
 | |
|     "Mithalas city, bulb in the bottom left part",
 | |
|     "Mithalas city, first bulb in one of the homes",
 | |
|     "Mithalas city, second bulb in one of the homes",
 | |
|     "Mithalas city, first urn in one of the homes",
 | |
|     "Mithalas city, second urn in one of the homes",
 | |
|     "Mithalas city, first urn in the city reserve",
 | |
|     "Mithalas city, second urn in the city reserve",
 | |
|     "Mithalas city, third urn in the city reserve",
 | |
|     "Mithalas city, first bulb at the end of the top path",
 | |
|     "Mithalas city, second bulb at the end of the top path",
 | |
|     "Mithalas city, bulb in the top path",
 | |
|     "Mithalas city, Mithalas pot",
 | |
|     "Mithalas city, urn in the cathedral flower tube entrance",
 | |
|     "Mithalas city, Doll",
 | |
|     "Mithalas city, urn inside a home fish pass",
 | |
|     "Mithalas city castle, bulb in the flesh hole",
 | |
|     "Mithalas city castle, Blue banner",
 | |
|     "Mithalas city castle, urn in the bedroom",
 | |
|     "Mithalas city castle, first urn of the single lamp path",
 | |
|     "Mithalas city castle, second urn of the single lamp path",
 | |
|     "Mithalas city castle, urn in the bottom room",
 | |
|     "Mithalas city castle, first urn on the entrance path",
 | |
|     "Mithalas city castle, second urn on the entrance path",
 | |
|     "Mithalas castle, beating the priests",
 | |
|     "Mithalas city castle, Trident head",
 | |
|     "Mithalas cathedral, first urn in the top right room",
 | |
|     "Mithalas cathedral, second urn in the top right room",
 | |
|     "Mithalas cathedral, third urn in the top right room",
 | |
|     "Mithalas cathedral, urn in the flesh room with fleas",
 | |
|     "Mithalas cathedral, first urn in the bottom right path",
 | |
|     "Mithalas cathedral, second urn in the bottom right path",
 | |
|     "Mithalas cathedral, urn behind the flesh vein",
 | |
|     "Mithalas cathedral, urn in the top left eyes boss room",
 | |
|     "Mithalas cathedral, first urn in the path behind the flesh vein",
 | |
|     "Mithalas cathedral, second urn in the path behind the flesh vein",
 | |
|     "Mithalas cathedral, third urn in the path behind the flesh vein",
 | |
|     "Mithalas cathedral, one of the urns in the top right room",
 | |
|     "Mithalas cathedral, Mithalan Dress",
 | |
|     "Mithalas cathedral right area, urn below the left entrance",
 | |
|     "Cathedral underground, bulb in the center part",
 | |
|     "Cathedral underground, first bulb in the top left part",
 | |
|     "Cathedral underground, second bulb in the top left part",
 | |
|     "Cathedral underground, third bulb in the top left part",
 | |
|     "Cathedral underground, bulb close to the save cristal",
 | |
|     "Cathedral underground, bulb in the bottom right path",
 | |
|     "Cathedral boss area, beating Mithalan God",
 | |
|     "Kelp Forest top left area, bulb in the bottom left clearing",
 | |
|     "Kelp Forest top left area, bulb in the path down from the top left clearing",
 | |
|     "Kelp Forest top left area, bulb in the top left clearing",
 | |
|     "Kelp Forest top left, Jelly Egg",
 | |
|     "Kelp Forest top left area, bulb close to the Verse egg",
 | |
|     "Kelp forest top left area, Verse egg",
 | |
|     "Kelp Forest top right area, bulb under the rock in the right path",
 | |
|     "Kelp Forest top right area, bulb at the left of the center clearing",
 | |
|     "Kelp Forest top right area, bulb in the left path's big room",
 | |
|     "Kelp Forest top right area, bulb in the left path's small room",
 | |
|     "Kelp Forest top right area, bulb at the top of the center clearing",
 | |
|     "Kelp forest top right area, Black pearl",
 | |
|     "Kelp Forest top right area, bulb in the top fish pass",
 | |
|     "Kelp Forest bottom left area, bulb close to the spirit crystals",
 | |
|     "Kelp forest bottom left area, Walker baby",
 | |
|     "Kelp Forest bottom left area, Transturtle",
 | |
|     "Kelp forest bottom right area, Odd Container",
 | |
|     "Kelp forest boss area, beating Drunian God",
 | |
|     "Kelp Forest boss room, bulb at the bottom of the area",
 | |
|     "Kelp Forest bottom left area, Fish cave puzzle",
 | |
|     "Kelp Forest sprite cave, bulb inside the fish pass",
 | |
|     "Kelp Forest sprite cave, bulb in the second room",
 | |
|     "Kelp Forest Sprite Cave, Seed bag",
 | |
|     "Mermog cave, bulb in the left part of the cave",
 | |
|     "Mermog cave, Piranha Egg",
 | |
|     "The veil top left area, In the Li cave",
 | |
|     "The veil top left area, bulb under the rock in the top right path",
 | |
|     "The veil top left area, bulb hidden behind the blocking rock",
 | |
|     "The veil top left area, Transturtle",
 | |
|     "The veil top left area, bulb inside the fish pass",
 | |
|     "Turtle cave, Turtle Egg",
 | |
|     "Turtle cave, bulb in bubble cliff",
 | |
|     "Turtle cave, Urchin costume",
 | |
|     "The veil top right area, bulb in the middle of the wall jump cliff",
 | |
|     "The veil top right area, golden starfish at the bottom right of the bottom path",
 | |
|     "The veil top right area, bulb in the top of the water fall",
 | |
|     "The veil top right area, Transturtle",
 | |
|     "The veil bottom area, bulb in the left path",
 | |
|     "The veil bottom area, bulb in the spirit path",
 | |
|     "The veil bottom area, Verse egg",
 | |
|     "The veil bottom area, Stone Head",
 | |
|     "Octopus cave, Dumbo Egg",
 | |
|     "Octopus cave, bulb in the path below the octopus cave path",
 | |
|     "Bubble cave, bulb in the left cave wall",
 | |
|     "Bubble cave, bulb in the right cave wall (behind the ice cristal)",
 | |
|     "Bubble cave, Verse egg",
 | |
|     "Sun temple, bulb in the top left part",
 | |
|     "Sun temple, bulb in the top right part",
 | |
|     "Sun temple, bulb at the top of the high dark room",
 | |
|     "Sun temple, Golden Gear",
 | |
|     "Sun temple, first bulb of the temple",
 | |
|     "Sun temple, bulb on the left part",
 | |
|     "Sun temple, bulb in the hidden room of the right part",
 | |
|     "Sun temple, Sun key",
 | |
|     "Sun Worm path, first path bulb",
 | |
|     "Sun Worm path, second path bulb",
 | |
|     "Sun Worm path, first cliff bulb",
 | |
|     "Sun Worm path, second cliff bulb",
 | |
|     "Sun temple boss area, beating Sun God",
 | |
|     "Abyss left area, bulb in hidden path room",
 | |
|     "Abyss left area, bulb in the right part",
 | |
|     "Abyss left area, Glowing seed",
 | |
|     "Abyss left area, Glowing Plant",
 | |
|     "Abyss left area, bulb in the bottom fish pass",
 | |
|     "Abyss right area, bulb behind the rock in the whale room",
 | |
|     "Abyss right area, bulb in the middle path",
 | |
|     "Abyss right area, bulb behind the rock in the middle path",
 | |
|     "Abyss right area, bulb in the left green room",
 | |
|     "Abyss right area, Transturtle",
 | |
|     "Ice cave, bulb in the room to the right",
 | |
|     "Ice cave, First bulbs in the top exit room",
 | |
|     "Ice cave, Second bulbs in the top exit room",
 | |
|     "Ice cave, third bulbs in the top exit room",
 | |
|     "Ice cave, bulb in the left room",
 | |
|     "King Jellyfish cave, bulb in the right path from King Jelly",
 | |
|     "King Jellyfish cave, Jellyfish Costume",
 | |
|     "The whale, Verse egg",
 | |
|     "Sunken city right area, crate close to the save cristal",
 | |
|     "Sunken city right area, crate in the left bottom room",
 | |
|     "Sunken city left area, crate in the little pipe room",
 | |
|     "Sunken city left area, crate close to the save cristal",
 | |
|     "Sunken city left area, crate before the bedroom",
 | |
|     "Sunken city left area, Girl Costume",
 | |
|     "Sunken city, bulb on the top of the boss area (boiler room)",
 | |
|     "The body center area, breaking li cage",
 | |
|     "The body main area, bulb on the main path blocking tube",
 | |
|     "The body left area, first bulb in the top face room",
 | |
|     "The body left area, second bulb in the top face room",
 | |
|     "The body left area, bulb below the water stream",
 | |
|     "The body left area, bulb in the top path to the top face room",
 | |
|     "The body left area, bulb in the bottom face room",
 | |
|     "The body right area, bulb in the top face room",
 | |
|     "The body right area, bulb in the top path to the bottom face room",
 | |
|     "The body right area, bulb in the bottom face room",
 | |
|     "The body bottom area, bulb in the Jelly Zap room",
 | |
|     "The body bottom area, bulb in the nautilus room",
 | |
|     "The body bottom area, Mutant Costume",
 | |
|     "Final boss area, first bulb in the turtle room",
 | |
|     "Final boss area, second bulbs in the turtle room",
 | |
|     "Final boss area, third bulbs in the turtle room",
 | |
|     "Final boss area, Transturtle",
 | |
|     "Final boss area, bulb in the boss third form room",
 | |
|     "Kelp forest, beating Simon says",
 | |
|     "Beating Fallen God",
 | |
|     "Beating Mithalan God",
 | |
|     "Beating Drunian God",
 | |
|     "Beating Sun God",
 | |
|     "Beating the Golem",
 | |
|     "Beating Nautilus Prime",
 | |
|     "Beating Blaster Peg Prime",
 | |
|     "Beating Mergog",
 | |
|     "Beating Mithalan priests",
 | |
|     "Beating Octopus Prime",
 | |
|     "Beating Crabbius Maximus",
 | |
|     "Beating Mantis Shrimp Prime",
 | |
|     "Beating King Jellyfish God Prime",
 | |
|     "First secret",
 | |
|     "Second secret",
 | |
|     "Third secret",
 | |
|     "Sunken City cleared",
 | |
|     "Objective complete",
 | |
| ]
 | |
| 
 | |
| class AquariaTestBase(WorldTestBase):
 | |
|     """Base class for Aquaria unit tests"""
 | |
|     game = "Aquaria"
 | 
