Stardew Valley: Move filler pool generation out of the world class (#4372)

* merge group options so specific handling is not needed when generating filler pool

* fix

* remove unneeded imports

* self review

* remove unneeded imports

* looks like typing was missing woopsi
This commit is contained in:
Jérémie Bolduc
2025-03-08 12:13:33 -05:00
committed by GitHub
parent ce34b60712
commit 4ebabc1208
5 changed files with 43 additions and 30 deletions

View File

@@ -2,7 +2,7 @@ from unittest import TestCase
from BaseClasses import MultiWorld
from .world_assert import get_all_item_names, get_all_location_names
from ... import StardewValleyWorld, options, item_table, Group, location_table, ExcludeGingerIsland
from ... import StardewValleyWorld, options, item_table, Group, location_table
from ...locations import LocationTags
from ...strings.ap_names.transport_names import Transportation
@@ -49,7 +49,7 @@ class OptionAssertMixin(TestCase):
def assert_can_reach_island_if_should(self, multiworld: MultiWorld):
stardew_options = get_stardew_options(multiworld)
include_island = stardew_options.exclude_ginger_island.value == ExcludeGingerIsland.option_false
include_island = stardew_options.exclude_ginger_island.value == options.ExcludeGingerIsland.option_false
if include_island:
self.assert_can_reach_island(multiworld)
else: