DKC3: Move item creation earlier (#1941)

This commit is contained in:
PoryGone 2023-07-13 21:11:49 -04:00 committed by GitHub
parent 087cc334f4
commit a88e75f3a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -86,7 +86,11 @@ class DKC3World(World):
return slot_data
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
self.topology_present = self.multiworld.level_shuffle[self.player].value
itempool: typing.List[DKC3Item] = []
@ -198,10 +202,6 @@ class DKC3World(World):
er_hint_data[location.address] = world_names[world_index]
multidata['er_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]