54 lines
2.8 KiB
Python
54 lines
2.8 KiB
Python
from BaseClasses import World
|
|
from Dungeons import create_dungeons
|
|
from EntranceShuffle import link_entrances
|
|
from ItemList import difficulties
|
|
from Regions import create_regions
|
|
from Rules import set_rules
|
|
from test.TestVanilla import TestVanilla
|
|
|
|
|
|
class TestDeathMountain(TestVanilla):
|
|
def setUp(self):
|
|
self.world = World(1, 'vanilla', 'noglitches', 'open', 'random', 'normal', 'normal', 'none', 'on', 'ganon', 'balanced',
|
|
True, False, False, False, False, False, False, False, False, None,
|
|
'none', False)
|
|
self.world.difficulty_requirements = difficulties['normal']
|
|
create_regions(self.world, 1)
|
|
create_dungeons(self.world, 1)
|
|
link_entrances(self.world, 1)
|
|
set_rules(self.world, 1)
|
|
|
|
def testWestDeathMountain(self):
|
|
self.run_tests([
|
|
["Ether Tablet", False, []],
|
|
["Ether Tablet", False, [], ['Progressive Glove', 'Ocarina']],
|
|
["Ether Tablet", False, [], ['Lamp', 'Ocarina']],
|
|
["Ether Tablet", False, [], ['Magic Mirror', 'Hookshot']],
|
|
["Ether Tablet", False, [], ['Magic Mirror', 'Hammer']],
|
|
["Ether Tablet", False, ['Progressive Sword'], ['Progressive Sword']],
|
|
["Ether Tablet", False, [], ['Book of Mudora']],
|
|
["Ether Tablet", True, ['Ocarina', 'Magic Mirror', 'Book of Mudora', 'Progressive Sword', 'Progressive Sword']],
|
|
["Ether Tablet", True, ['Progressive Glove', 'Lamp', 'Magic Mirror', 'Book of Mudora', 'Progressive Sword', 'Progressive Sword']],
|
|
["Ether Tablet", True, ['Ocarina', 'Hammer', 'Hookshot', 'Book of Mudora', 'Progressive Sword', 'Progressive Sword']],
|
|
["Ether Tablet", True, ['Progressive Glove', 'Lamp', 'Hammer', 'Hookshot', 'Book of Mudora', 'Progressive Sword', 'Progressive Sword']],
|
|
|
|
["Old Man", False, []],
|
|
["Old Man", False, [], ['Progressive Glove', 'Ocarina']],
|
|
["Old Man", False, [], ['Lamp']],
|
|
["Old Man", True, ['Ocarina', 'Lamp']],
|
|
["Old Man", True, ['Progressive Glove', 'Lamp']],
|
|
|
|
["Spectacle Rock Cave", False, []],
|
|
["Spectacle Rock Cave", False, [], ['Progressive Glove', 'Ocarina']],
|
|
["Spectacle Rock Cave", False, [], ['Lamp', 'Ocarina']],
|
|
["Spectacle Rock Cave", True, ['Ocarina']],
|
|
["Spectacle Rock Cave", True, ['Progressive Glove', 'Lamp']],
|
|
|
|
["Spectacle Rock", False, []],
|
|
["Spectacle Rock", False, [], ['Progressive Glove', 'Ocarina']],
|
|
["Spectacle Rock", False, [], ['Lamp', 'Ocarina']],
|
|
["Spectacle Rock", False, [], ['Magic Mirror']],
|
|
["Spectacle Rock", True, ['Ocarina', 'Magic Mirror']],
|
|
["Spectacle Rock", True, ['Progressive Glove', 'Lamp', 'Magic Mirror']],
|
|
])
|