Avoid changing spoiler file for single world

This commit is contained in:
Kevin Cathcart
2019-07-13 18:11:43 -04:00
parent c4570b732d
commit dcca15eda7
2 changed files with 43 additions and 13 deletions

View File

@@ -12,6 +12,7 @@ def create_dungeons(world, player):
dungeon.boss = BossFactory(default_boss, player)
for region in dungeon.regions:
world.get_region(region, player).dungeon = dungeon
dungeon.world = world
return dungeon
ES = make_dungeon('Hyrule Castle', None, ['Hyrule Castle', 'Sewers', 'Sewer Drop', 'Sewers (Dark)', 'Sanctuary'], None, [ItemFactory('Small Key (Escape)', player)], [ItemFactory('Map (Escape)', player)])