forked from mirror/Archipelago
Major Content update for Stardew Valley ### Features - New BundleRandomization Value: Meme Bundles - Over 100 custom bundles, designed to be jokes, references, trolls, etc - New Setting: Bundles Per Room modifier - New Setting: Backpack Size - New Setting: Secretsanity - Checks for triggering easter eggs and secrets - New Setting: Moviesanity - Checks for watching movies and sharing snacks with Villagers - New Setting: Eatsanity - Checks for eating items - New Setting: Hatsanity - Checks for wearing Hats - New Setting: Start Without - Allows you to select any combination of various "starting" items, that you will actually not start with. Notably, tools, backpack slots, Day5 unlocks, etc. - New Setting: Allowed Filler Items - Allows you to customize the filler items you'll get - New Setting: Endgame Locations - Checks for various expensive endgame tasks and purchases - New Shipsanity value: Crops and Fish - New Settings: Jojapocalypse and settings to customize it - Bundle Plando: Replaced with BundleWhitelist and BundleBlacklist, for more customization freedom - Added a couple of Host.yaml settings to help hosts allow or ban specific difficult settings that could cause problems if the people don't know what they are signing up for. Plus a truckload of improvements on the mod side, not seen in this PR. ### Removed features - Integration for Stardew Valley Expanded. It is simply disabled, the code is all still there, but I'm extremely tired of providing tech support for it, plus Stardew Valley 1.7 was announced and that will break it again, so I'm done. When a maintainer steps up, it can be re-enabled.
33 lines
1.1 KiB
Python
33 lines
1.1 KiB
Python
import importlib
|
|
import pkgutil
|
|
|
|
from . import mods
|
|
from .mod_registry import by_mod
|
|
from .vanilla.base import base_game
|
|
from .vanilla.ginger_island import ginger_island_content_pack
|
|
from .vanilla.pelican_town import pelican_town
|
|
from .vanilla.qi_board import qi_board_content_pack
|
|
from .vanilla.the_desert import the_desert
|
|
from .vanilla.the_farm import the_farm
|
|
from .vanilla.the_mines import the_mines
|
|
|
|
# Dynamically register everything currently in the mods folder. This would ideally be done through a metaclass, but I have not looked into that yet.
|
|
mod_modules = pkgutil.iter_modules(mods.__path__)
|
|
|
|
loaded_modules = {}
|
|
for mod_module in mod_modules:
|
|
module_name = mod_module.name
|
|
module = importlib.import_module("." + module_name, mods.__name__)
|
|
loaded_modules[module_name] = module
|
|
|
|
vanilla_content_pack_names = frozenset({
|
|
base_game.name,
|
|
ginger_island_content_pack.name,
|
|
pelican_town.name,
|
|
qi_board_content_pack.name,
|
|
the_desert.name,
|
|
the_farm.name,
|
|
the_mines.name
|
|
})
|
|
all_content_pack_names = vanilla_content_pack_names | frozenset(by_mod.keys())
|