Stardew Valley: Fix a bug where walnutsanity would get deactivated even tho ginger island got forced activated (and move some files) (#4311)

This commit is contained in:
Jouramie
2024-12-08 21:00:30 -05:00
committed by GitHub
parent 26f9720e69
commit 51c4fe8f67
25 changed files with 752 additions and 660 deletions

View File

@@ -1,13 +1,12 @@
from . import SVTestBase
from .assertion import WorldAssertMixin
from .. import options
from ..options import Goal, QuestLocations
class TestCrypticNoteNoQuests(WorldAssertMixin, SVTestBase):
options = {
Goal.internal_name: Goal.option_cryptic_note,
QuestLocations.internal_name: "none"
options.Goal.internal_name: options.Goal.option_cryptic_note,
options.QuestLocations.internal_name: "none"
}
def test_given_option_pair_then_basic_checks(self):
@@ -16,8 +15,8 @@ class TestCrypticNoteNoQuests(WorldAssertMixin, SVTestBase):
class TestCompleteCollectionNoQuests(WorldAssertMixin, SVTestBase):
options = {
Goal.internal_name: Goal.option_complete_collection,
QuestLocations.internal_name: "none"
options.Goal.internal_name: options.Goal.option_complete_collection,
options.QuestLocations.internal_name: "none"
}
def test_given_option_pair_then_basic_checks(self):
@@ -26,8 +25,8 @@ class TestCompleteCollectionNoQuests(WorldAssertMixin, SVTestBase):
class TestProtectorOfTheValleyNoQuests(WorldAssertMixin, SVTestBase):
options = {
Goal.internal_name: Goal.option_protector_of_the_valley,
QuestLocations.internal_name: "none"
options.Goal.internal_name: options.Goal.option_protector_of_the_valley,
options.QuestLocations.internal_name: "none"
}
def test_given_option_pair_then_basic_checks(self):
@@ -36,8 +35,8 @@ class TestProtectorOfTheValleyNoQuests(WorldAssertMixin, SVTestBase):
class TestCraftMasterNoQuests(WorldAssertMixin, SVTestBase):
options = {
Goal.internal_name: Goal.option_craft_master,
QuestLocations.internal_name: "none"
options.Goal.internal_name: options.Goal.option_craft_master,
options.QuestLocations.internal_name: "none"
}
def test_given_option_pair_then_basic_checks(self):
@@ -46,7 +45,7 @@ class TestCraftMasterNoQuests(WorldAssertMixin, SVTestBase):
class TestCraftMasterNoSpecialOrder(WorldAssertMixin, SVTestBase):
options = {
options.Goal.internal_name: Goal.option_craft_master,
options.Goal.internal_name: options.Goal.option_craft_master,
options.SpecialOrderLocations.internal_name: options.SpecialOrderLocations.alias_disabled,
options.ExcludeGingerIsland.internal_name: options.ExcludeGingerIsland.option_true,
options.Craftsanity.internal_name: options.Craftsanity.option_none