2021-06-25 21:32:13 +00:00
|
|
|
import worlds.hk.Options
|
2021-02-25 17:23:19 +00:00
|
|
|
from BaseClasses import MultiWorld
|
|
|
|
from worlds.hk.Regions import create_regions
|
|
|
|
from worlds.hk import gen_hollow
|
|
|
|
|
|
|
|
from test.TestBase import TestBase
|
|
|
|
|
|
|
|
|
|
|
|
class TestVanilla(TestBase):
|
|
|
|
def setUp(self):
|
2021-03-14 07:38:02 +00:00
|
|
|
self.world = MultiWorld(1)
|
2021-02-25 17:23:19 +00:00
|
|
|
self.world.game[1] = "Hollow Knight"
|
2021-06-25 21:32:13 +00:00
|
|
|
for hk_option in worlds.hk.Options.hollow_knight_randomize_options:
|
2021-06-08 20:14:56 +00:00
|
|
|
setattr(self.world, hk_option, {1: True})
|
2021-06-25 21:32:13 +00:00
|
|
|
for hk_option, option in worlds.hk.Options.hollow_knight_skip_options.items():
|
2021-06-08 20:14:56 +00:00
|
|
|
setattr(self.world, hk_option, {1: option.default})
|
2021-02-25 17:23:19 +00:00
|
|
|
create_regions(self.world, 1)
|
|
|
|
gen_hollow(self.world, 1)
|