mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Stardew Valley: Update Mod Content (#4416)
This commit is contained in:
@@ -757,6 +757,14 @@ class Gifting(Toggle):
|
||||
default = 1
|
||||
|
||||
|
||||
all_mods = {ModNames.deepwoods, ModNames.tractor, ModNames.big_backpack,
|
||||
ModNames.luck_skill, ModNames.magic, ModNames.socializing_skill, ModNames.archaeology,
|
||||
ModNames.cooking_skill, ModNames.binning_skill, ModNames.juna,
|
||||
ModNames.jasper, ModNames.alec, ModNames.yoba, ModNames.eugene,
|
||||
ModNames.wellwick, ModNames.ginger, ModNames.shiko, ModNames.delores,
|
||||
ModNames.ayeisha, ModNames.riley, ModNames.skull_cavern_elevator, ModNames.sve, ModNames.distant_lands,
|
||||
ModNames.alecto, ModNames.lacey, ModNames.boarding_house}
|
||||
|
||||
# These mods have been disabled because either they are not updated for the current supported version of Stardew Valley,
|
||||
# or we didn't find the time to validate that they work or fix compatibility issues if they do.
|
||||
# Once a mod is validated to be functional, it can simply be removed from this list
|
||||
@@ -766,8 +774,7 @@ disabled_mods = {ModNames.deepwoods, ModNames.magic,
|
||||
ModNames.wellwick, ModNames.shiko, ModNames.delores, ModNames.riley,
|
||||
ModNames.boarding_house}
|
||||
|
||||
if 'unittest' in sys.modules.keys() or 'pytest' in sys.modules.keys():
|
||||
disabled_mods = {}
|
||||
enabled_mods = all_mods.difference(disabled_mods)
|
||||
|
||||
|
||||
class Mods(OptionSet):
|
||||
@@ -775,13 +782,11 @@ class Mods(OptionSet):
|
||||
visibility = Visibility.all & ~Visibility.simple_ui
|
||||
internal_name = "mods"
|
||||
display_name = "Mods"
|
||||
valid_keys = {ModNames.deepwoods, ModNames.tractor, ModNames.big_backpack,
|
||||
ModNames.luck_skill, ModNames.magic, ModNames.socializing_skill, ModNames.archaeology,
|
||||
ModNames.cooking_skill, ModNames.binning_skill, ModNames.juna,
|
||||
ModNames.jasper, ModNames.alec, ModNames.yoba, ModNames.eugene,
|
||||
ModNames.wellwick, ModNames.ginger, ModNames.shiko, ModNames.delores,
|
||||
ModNames.ayeisha, ModNames.riley, ModNames.skull_cavern_elevator, ModNames.sve, ModNames.distant_lands,
|
||||
ModNames.alecto, ModNames.lacey, ModNames.boarding_house}.difference(disabled_mods)
|
||||
valid_keys = enabled_mods
|
||||
# In tests, we keep even the disabled mods active, because we expect some of them to eventually get updated for SV 1.6
|
||||
# In that case, we want to maintain content and logic for them, and therefore keep testing them
|
||||
if 'unittest' in sys.modules.keys() or 'pytest' in sys.modules.keys():
|
||||
valid_keys = all_mods
|
||||
|
||||
|
||||
class BundlePlando(OptionSet):
|
||||
|
||||
Reference in New Issue
Block a user