no real reason to make class, also using class wrong so theres that
This commit is contained in:
parent
e919b2b066
commit
6cae0a1a4d
347
OWGSets.py
347
OWGSets.py
|
@ -1,195 +1,194 @@
|
||||||
class OWGSets(self):
|
'''
|
||||||
|
Helper functions to deliver entrance/exit/region sets to OWG rules.
|
||||||
|
'''
|
||||||
|
|
||||||
|
def get_immediately_accessible_entrances():
|
||||||
'''
|
'''
|
||||||
Helper class to deliver entrance/exit/region sets to OWG rules.
|
Entrances that are available with no items at all.
|
||||||
|
|
||||||
|
At this point, these are fake flipper spots.
|
||||||
'''
|
'''
|
||||||
|
return [
|
||||||
|
'Hobo Bridge',
|
||||||
|
'Zoras River',
|
||||||
|
'Lake Hylia Island Mirror Spot',
|
||||||
|
'Capacity Upgrade',
|
||||||
|
]
|
||||||
|
|
||||||
def get_immediately_accessible_entrances(self):
|
def get_lw_boots_accessible_entrances(world, player):
|
||||||
'''
|
'''
|
||||||
Entrances that are available with no items at all.
|
Light World entrances that can be accessed with boots clips.
|
||||||
|
'''
|
||||||
|
entrances = [
|
||||||
|
'Bat Cave Drop Ledge',
|
||||||
|
'Desert Ledge Return Rocks',
|
||||||
|
'Desert Palace Entrance (West)',
|
||||||
|
'Desert Palace Entrance (North)',
|
||||||
|
'Flute Spot 1',
|
||||||
|
'Broken Bridge (East)',
|
||||||
|
'Death Mountain Drop',
|
||||||
|
'Old Man Cave (East)',
|
||||||
|
'Old Man House (Bottom)',
|
||||||
|
'Old Man House (Top)',
|
||||||
|
'Death Mountain Return Cave (East)',
|
||||||
|
'Spectacle Rock Cave',
|
||||||
|
'Spectacle Rock Cave Peak',
|
||||||
|
'Spectacle Rock Cave (Bottom)',
|
||||||
|
'Spectacle Rock Mirror Spot',
|
||||||
|
'Broken Bridge (West)',
|
||||||
|
'Broken Bridge (East)',
|
||||||
|
'East Death Mountain Drop',
|
||||||
|
'Spiral Cave Ledge Drop',
|
||||||
|
'Fairy Ascension Drop',
|
||||||
|
'Fairy Ascension Cave (Bottom)',
|
||||||
|
'East Death Mountain (Top)',
|
||||||
|
'Death Mountain (Top)',
|
||||||
|
'Spectacle Rock Drop',
|
||||||
|
'Death Mountain Return Cave (West)',
|
||||||
|
'Paradox Cave (Bottom)',
|
||||||
|
'Paradox Cave (Middle)',
|
||||||
|
'Hookshot Fairy',
|
||||||
|
'Spiral Cave (Bottom)',
|
||||||
|
'Paradox Cave (Top)',
|
||||||
|
'Spiral Cave Ledge Access',
|
||||||
|
'Fairy Ascension Ledge',
|
||||||
|
'Cave 45 Mirror Spot',
|
||||||
|
'Graveyard Ledge Mirror Spot',
|
||||||
|
'Bumper Cave Ledge Mirror Spot',
|
||||||
|
'Desert Ledge (Northeast) Mirror Spot',
|
||||||
|
'Desert Ledge Mirror Spot',
|
||||||
|
'Desert Palace Entrance (North) Mirror Spot',
|
||||||
|
'East Death Mountain (Top) Mirror Spot',
|
||||||
|
'Spiral Cave Mirror Spot',
|
||||||
|
'Fairy Ascension Mirror Spot',
|
||||||
|
'Floating Island Mirror Spot',
|
||||||
|
]
|
||||||
|
|
||||||
At this point, these are fake flipper spots.
|
if world.mode[player] != 'inverted':
|
||||||
'''
|
entrances.append('Cave 45')
|
||||||
return [
|
entrances.append('Graveyard Cave')
|
||||||
'Hobo Bridge',
|
|
||||||
'Zoras River',
|
|
||||||
'Lake Hylia Island Mirror Spot',
|
|
||||||
'Capacity Upgrade',
|
|
||||||
]
|
|
||||||
|
|
||||||
def get_lw_boots_accessible_entrances(self, world, player):
|
return entrances
|
||||||
'''
|
|
||||||
Light World entrances that can be accessed with boots clips.
|
|
||||||
'''
|
|
||||||
entrances = [
|
|
||||||
'Bat Cave Drop Ledge',
|
|
||||||
'Desert Ledge Return Rocks',
|
|
||||||
'Desert Palace Entrance (West)',
|
|
||||||
'Desert Palace Entrance (North)',
|
|
||||||
'Flute Spot 1',
|
|
||||||
'Broken Bridge (East)',
|
|
||||||
'Death Mountain Drop',
|
|
||||||
'Old Man Cave (East)',
|
|
||||||
'Old Man House (Bottom)',
|
|
||||||
'Old Man House (Top)',
|
|
||||||
'Death Mountain Return Cave (East)',
|
|
||||||
'Spectacle Rock Cave',
|
|
||||||
'Spectacle Rock Cave Peak',
|
|
||||||
'Spectacle Rock Cave (Bottom)',
|
|
||||||
'Spectacle Rock Mirror Spot',
|
|
||||||
'Broken Bridge (West)',
|
|
||||||
'Broken Bridge (East)',
|
|
||||||
'East Death Mountain Drop',
|
|
||||||
'Spiral Cave Ledge Drop',
|
|
||||||
'Fairy Ascension Drop',
|
|
||||||
'Fairy Ascension Cave (Bottom)',
|
|
||||||
'East Death Mountain (Top)',
|
|
||||||
'Death Mountain (Top)',
|
|
||||||
'Spectacle Rock Drop',
|
|
||||||
'Death Mountain Return Cave (West)',
|
|
||||||
'Paradox Cave (Bottom)',
|
|
||||||
'Paradox Cave (Middle)',
|
|
||||||
'Hookshot Fairy',
|
|
||||||
'Spiral Cave (Bottom)',
|
|
||||||
'Paradox Cave (Top)',
|
|
||||||
'Spiral Cave Ledge Access',
|
|
||||||
'Fairy Ascension Ledge',
|
|
||||||
'Cave 45 Mirror Spot',
|
|
||||||
'Graveyard Ledge Mirror Spot',
|
|
||||||
'Bumper Cave Ledge Mirror Spot',
|
|
||||||
'Desert Ledge (Northeast) Mirror Spot',
|
|
||||||
'Desert Ledge Mirror Spot',
|
|
||||||
'Desert Palace Entrance (North) Mirror Spot',
|
|
||||||
'East Death Mountain (Top) Mirror Spot',
|
|
||||||
'Spiral Cave Mirror Spot',
|
|
||||||
'Fairy Ascension Mirror Spot',
|
|
||||||
'Floating Island Mirror Spot',
|
|
||||||
]
|
|
||||||
|
|
||||||
if world.mode[player] != 'inverted':
|
|
||||||
entrances.append('Cave 45')
|
|
||||||
entrances.append('Graveyard Cave')
|
|
||||||
|
|
||||||
return entrances
|
|
||||||
|
|
||||||
|
|
||||||
def get_lw_boots_accessible_locations(self):
|
def get_lw_boots_accessible_locations():
|
||||||
'''
|
'''
|
||||||
Light World locations that can be reached using boots clips.
|
Light World locations that can be reached using boots clips.
|
||||||
'''
|
'''
|
||||||
return [
|
return [
|
||||||
'Lake Hylia Island',
|
'Lake Hylia Island',
|
||||||
'Desert Ledge',
|
'Desert Ledge',
|
||||||
'Spectacle Rock',
|
'Spectacle Rock',
|
||||||
'Floating Island',
|
'Floating Island',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
def get_dw_boots_accessible_entrances(self):
|
def get_dw_boots_accessible_entrances():
|
||||||
'''
|
'''
|
||||||
Dark World entrances that can be accessed with boots clips.
|
Dark World entrances that can be accessed with boots clips.
|
||||||
'''
|
'''
|
||||||
return [
|
return [
|
||||||
'Northeast Dark World Broken Bridge Pass',
|
'Northeast Dark World Broken Bridge Pass',
|
||||||
'Peg Area Rocks',
|
'Peg Area Rocks',
|
||||||
'Grassy Lawn Pegs',
|
'Grassy Lawn Pegs',
|
||||||
'West Dark World Gap',
|
'West Dark World Gap',
|
||||||
'Bumper Cave Ledge Drop',
|
'Bumper Cave Ledge Drop',
|
||||||
'Turtle Rock Drop',
|
'Turtle Rock Drop',
|
||||||
'Floating Island Drop',
|
'Floating Island Drop',
|
||||||
'Dark Death Mountain Drop (East)',
|
'Dark Death Mountain Drop (East)',
|
||||||
'Village of Outcasts Drop',
|
'Village of Outcasts Drop',
|
||||||
'Dark Lake Hylia Ledge',
|
'Dark Lake Hylia Ledge',
|
||||||
'Hype Cave',
|
'Hype Cave',
|
||||||
'Dark World Potion Shop',
|
'Dark World Potion Shop',
|
||||||
'Big Bomb Shop',
|
'Big Bomb Shop',
|
||||||
'Archery Game',
|
'Archery Game',
|
||||||
'Brewery',
|
'Brewery',
|
||||||
'C-Shaped House',
|
'C-Shaped House',
|
||||||
'Chest Game',
|
'Chest Game',
|
||||||
'Thieves Town',
|
'Thieves Town',
|
||||||
'Kings Grave Mirror Spot',
|
'Kings Grave Mirror Spot',
|
||||||
'Bumper Cave Entrance Rock',
|
'Bumper Cave Entrance Rock',
|
||||||
'Red Shield Shop',
|
'Red Shield Shop',
|
||||||
'Dark Sanctuary Hint',
|
'Dark Sanctuary Hint',
|
||||||
'Fortune Teller (Dark)',
|
'Fortune Teller (Dark)',
|
||||||
'Dark World Lumberjack Shop',
|
'Dark World Lumberjack Shop',
|
||||||
'Misery Mire',
|
'Misery Mire',
|
||||||
'Mire Shed',
|
'Mire Shed',
|
||||||
'Dark Desert Hint',
|
'Dark Desert Hint',
|
||||||
'Dark Desert Fairy',
|
'Dark Desert Fairy',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
def get_dw_boots_accessible_locations(self):
|
def get_dw_boots_accessible_locations():
|
||||||
'''
|
'''
|
||||||
Dark World locations accessible using boots clips.
|
Dark World locations accessible using boots clips.
|
||||||
'''
|
'''
|
||||||
return [
|
return [
|
||||||
'Catfish',
|
'Catfish',
|
||||||
'Dark Blacksmith Ruins',
|
'Dark Blacksmith Ruins',
|
||||||
'Bumper Cave Ledge',
|
'Bumper Cave Ledge',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
def get_dw_bunny_inaccessible_locations(self):
|
def get_dw_bunny_inaccessible_locations():
|
||||||
'''
|
'''
|
||||||
Locations that the bunny cannot access.
|
Locations that the bunny cannot access.
|
||||||
'''
|
'''
|
||||||
return [
|
return [
|
||||||
'Thieves Town',
|
'Thieves Town',
|
||||||
'Graveyard Ledge Mirror Spot',
|
'Graveyard Ledge Mirror Spot',
|
||||||
'Kings Grave Mirror Spot',
|
'Kings Grave Mirror Spot',
|
||||||
'Bumper Cave Entrance Rock',
|
'Bumper Cave Entrance Rock',
|
||||||
'Brewery',
|
'Brewery',
|
||||||
'Village of Outcasts Pegs',
|
'Village of Outcasts Pegs',
|
||||||
'Village of Outcasts Eastern Rocks',
|
'Village of Outcasts Eastern Rocks',
|
||||||
'Dark Lake Hylia Drop (South)',
|
'Dark Lake Hylia Drop (South)',
|
||||||
'Hype Cave',
|
'Hype Cave',
|
||||||
'Village of Outcasts Heavy Rock',
|
'Village of Outcasts Heavy Rock',
|
||||||
'East Dark World Bridge',
|
'East Dark World Bridge',
|
||||||
'Bonk Fairy (Dark)',
|
'Bonk Fairy (Dark)',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
def get_dmd_and_bunny_regions(self):
|
def get_dmd_and_bunny_regions():
|
||||||
'''
|
'''
|
||||||
Dark World regions accessible using Link and Bunny DMD methods.
|
Dark World regions accessible using Link and Bunny DMD methods.
|
||||||
'''
|
'''
|
||||||
return [
|
return [
|
||||||
'West Dark World',
|
'West Dark World',
|
||||||
'South Dark World',
|
'South Dark World',
|
||||||
'Northeast Dark World',
|
'Northeast Dark World',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
def get_dmd_non_bunny_regions(self):
|
def get_dmd_non_bunny_regions():
|
||||||
'''
|
'''
|
||||||
Dark World regions accessible using only Link DMD methods.
|
Dark World regions accessible using only Link DMD methods.
|
||||||
'''
|
'''
|
||||||
return [
|
return [
|
||||||
'Dark Desert',
|
'Dark Desert',
|
||||||
'East Dark World',
|
'East Dark World',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
def get_mirror_hookshot_accessible_dw_locations(self, world, player):
|
def get_mirror_hookshot_accessible_dw_locations(world, player):
|
||||||
'''
|
'''
|
||||||
Locations accessible potentially using weird mirror hookshot boots setups.
|
Locations accessible potentially using weird mirror hookshot boots setups.
|
||||||
'''
|
'''
|
||||||
locations = [
|
locations = [
|
||||||
'Pyramid Fairy',
|
'Pyramid Fairy',
|
||||||
'Pyramid Entrance',
|
'Pyramid Entrance',
|
||||||
'Pyramid Drop',
|
'Pyramid Drop',
|
||||||
]
|
]
|
||||||
locations.extend(world.get_region('Dark Death Mountain Ledge', player).locations)
|
locations.extend(world.get_region('Dark Death Mountain Ledge', player).locations)
|
||||||
return locations
|
return locations
|
||||||
|
|
||||||
|
|
||||||
def sword_required_superbunny_mirror_regions(self):
|
def sword_required_superbunny_mirror_regions():
|
||||||
'''
|
'''
|
||||||
Cave regions that superbunny can get through - but only with a sword.
|
Cave regions that superbunny can get through - but only with a sword.
|
||||||
'''
|
'''
|
||||||
return [
|
return [
|
||||||
'Mini Moldorm Cave',
|
'Mini Moldorm Cave',
|
||||||
'Spiral Cave (Top)',
|
'Spiral Cave (Top)',
|
||||||
]
|
]
|
Loading…
Reference in New Issue