diff --git a/worlds/alttp/__init__.py b/worlds/alttp/__init__.py index cdeb9e39..9f646eb8 100644 --- a/worlds/alttp/__init__.py +++ b/worlds/alttp/__init__.py @@ -24,6 +24,7 @@ from .EntranceShuffle import link_entrances, link_inverted_entrances, plando_con lttp_logger = logging.getLogger("A Link to the Past") +extras_list = sum(difficulties['normal'].extras[0:5], []) class ALTTPWeb(WebWorld): setup_en = Tutorial( @@ -479,11 +480,12 @@ class ALTTPWorld(World): fill_locations.remove(spot_to_fill) # very slow, unfortunately trash_count -= 1 + def get_filler_item_name(self) -> str: if self.world.goal[self.player] == "icerodhunt": item = "Nothing" else: - item = self.world.random.choice(chain(difficulties[self.world.difficulty[self.player]].extras[0:5])) + item = self.world.random.choice(extras_list) return GetBeemizerItem(self.world, self.player, item) def get_pre_fill_items(self):