Slay the Spire (#54)

Add Slay the Spire
This commit is contained in:
KonoTyran
2021-08-29 08:30:44 -07:00
committed by GitHub
parent da6674760c
commit 9402d82405
6 changed files with 309 additions and 0 deletions

11
worlds/spire/Regions.py Normal file
View File

@@ -0,0 +1,11 @@
def create_regions(world, player: int):
from . import create_region
from .Locations import location_table
world.regions += [
create_region(world, player, 'Menu', None, ['Neow\'s Room']),
create_region(world, player, 'The Spire', [location for location in location_table])
]
# link up our region with the entrance we just made
world.get_entrance('Neow\'s Room', player).connect(world.get_region('The Spire', player))