Stardew Valley: Fix generation issue with Master Angler goal and vanilla tools (#1498)
* - Can Catch every fish doesn't need fishing rods if they are not shuffled * add has_max_fishing_rod * add test for master angler + vanilla tools --------- Co-authored-by: Alex Gilbert <alexgilbert@yahoo.com>
This commit is contained in:
8
worlds/stardew_valley/test/TestOptions.py
Normal file
8
worlds/stardew_valley/test/TestOptions.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from worlds.stardew_valley.test import SVTestBase
|
||||
|
||||
|
||||
class TestMasterAnglerVanillaTools(SVTestBase):
|
||||
options = {
|
||||
"goal": "master_angler",
|
||||
"tool_progression": "vanilla",
|
||||
}
|
||||
@@ -11,4 +11,10 @@ class SVTestBase(WorldTestBase):
|
||||
|
||||
def world_setup(self, *args, **kwargs):
|
||||
super().world_setup(*args, **kwargs)
|
||||
self.world = self.multiworld.worlds[self.player]
|
||||
if self.constructed:
|
||||
self.world = self.multiworld.worlds[self.player]
|
||||
|
||||
@property
|
||||
def run_default_tests(self) -> bool:
|
||||
# world_setup is overridden, so it'd always run default tests when importing SVTestBase
|
||||
return type(self) is not SVTestBase and super().run_default_tests
|
||||
|
||||
Reference in New Issue
Block a user