mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
Check for ROMs at beginning of generation (#475)
This commit is contained in:
@@ -175,6 +175,12 @@ class SoEWorld(World):
|
||||
res.trap = item.type == pyevermizer.CHECK_TRAP
|
||||
return res
|
||||
|
||||
@classmethod
|
||||
def stage_assert_generate(cls, world):
|
||||
rom_file = get_base_rom_path()
|
||||
if not os.path.exists(rom_file):
|
||||
raise FileNotFoundError(rom_file)
|
||||
|
||||
def create_regions(self):
|
||||
# TODO: generate *some* regions from locations' requirements?
|
||||
r = Region('Menu', RegionType.Generic, 'Menu', self.player, self.world)
|
||||
|
Reference in New Issue
Block a user