move LttP create_regions and set_rules to AutoWorld

This commit is contained in:
Fabian Dill
2021-07-22 15:51:50 +02:00
parent b2f5f095fc
commit 21af3bf563
6 changed files with 76 additions and 65 deletions

View File

@@ -82,13 +82,16 @@ class World(metaclass=AutoWorldRegister):
self.world = world
self.player = player
# overwritable methods that get called by Main.py, sorted by execution order
# overridable methods that get called by Main.py, sorted by execution order
def generate_early(self):
pass
def create_regions(self):
pass
def create_items(self):
pass
def set_rules(self):
pass
@@ -100,7 +103,7 @@ class World(metaclass=AutoWorldRegister):
If you need any last-second randomization, use MultiWorld.slot_seeds[slot] instead."""
pass
def fill_slot_data(self):
def fill_slot_data(self) -> dict:
"""Fill in the slot_data field in the Connected network package."""
return {}