SMW: Move item creation earlier (#1942)
This commit is contained in:
parent
11278d0e61
commit
087cc334f4
worlds/smw
|
@ -90,7 +90,12 @@ class SMWWorld(World):
|
|||
if self.multiworld.early_climb[self.player]:
|
||||
self.multiworld.local_early_items[self.player][ItemName.mario_climb] = 1
|
||||
|
||||
def generate_basic(self):
|
||||
|
||||
def create_regions(self):
|
||||
location_table = setup_locations(self.multiworld, self.player)
|
||||
create_regions(self.multiworld, self.player, location_table)
|
||||
|
||||
# Not generate basic
|
||||
itempool: typing.List[SMWItem] = []
|
||||
|
||||
self.active_level_dict = dict(zip(generate_level_list(self.multiworld, self.player), full_level_list))
|
||||
|
@ -247,10 +252,6 @@ class SMWWorld(World):
|
|||
|
||||
hint_data[self.player] = er_hint_data
|
||||
|
||||
def create_regions(self):
|
||||
location_table = setup_locations(self.multiworld, self.player)
|
||||
create_regions(self.multiworld, self.player, location_table)
|
||||
|
||||
def create_item(self, name: str, force_non_progression=False) -> Item:
|
||||
data = item_table[name]
|
||||
|
||||
|
|
Loading…
Reference in New Issue