2021-06-25 23:32:13 +02:00
|
|
|
import worlds.hk.Options
|
2021-02-25 18:23:19 +01: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 08:38:02 +01:00
|
|
|
self.world = MultiWorld(1)
|
2021-02-25 18:23:19 +01:00
|
|
|
self.world.game[1] = "Hollow Knight"
|
2021-06-25 23:32:13 +02:00
|
|
|
for hk_option in worlds.hk.Options.hollow_knight_randomize_options:
|
2021-06-08 22:14:56 +02:00
|
|
|
setattr(self.world, hk_option, {1: True})
|
2021-06-25 23:32:13 +02:00
|
|
|
for hk_option, option in worlds.hk.Options.hollow_knight_skip_options.items():
|
2021-06-08 22:14:56 +02:00
|
|
|
setattr(self.world, hk_option, {1: option.default})
|
2021-02-25 18:23:19 +01:00
|
|
|
create_regions(self.world, 1)
|
|
|
|
gen_hollow(self.world, 1)
|