mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-25 12:23:23 -07:00
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.
41 lines
2.2 KiB
Python
41 lines
2.2 KiB
Python
import unittest
|
|
from typing import ClassVar
|
|
|
|
from test.param import classvar_matrix
|
|
from ..options.option_names import get_all_option_choices
|
|
from ...options import ExcludeGingerIsland, ArcadeMachineLocations, BackpackProgression, BackpackSize, \
|
|
BundlePerRoom, BundlePrice, ElevatorProgression, FarmType, SeasonRandomization, FestivalLocations, Moviesanity, Museumsanity, ToolProgression
|
|
from ...test.assertion import WorldAssertMixin
|
|
from ...test.bases import SVTestCase, solo_multiworld, skip_long_tests
|
|
|
|
if skip_long_tests():
|
|
raise unittest.SkipTest("Long tests disabled")
|
|
|
|
# These options affect logic, but are unrelated to any ginger island content, so pointless for this specific test class
|
|
extra_options_to_ignore = [ArcadeMachineLocations.internal_name, BackpackProgression.internal_name, BackpackSize.internal_name, BundlePerRoom.internal_name,
|
|
BundlePrice.internal_name, ElevatorProgression.internal_name, FarmType.internal_name, SeasonRandomization.internal_name,
|
|
FestivalLocations.internal_name, Moviesanity.internal_name, Museumsanity.internal_name, ToolProgression.internal_name]
|
|
|
|
|
|
@classvar_matrix(option_and_choice=get_all_option_choices(extra_options_to_ignore))
|
|
class TestGenerateAllOptionsWithExcludeGingerIsland(WorldAssertMixin, SVTestCase):
|
|
option_and_choice: ClassVar[tuple[str, str]]
|
|
|
|
def test_given_choice_when_generate_exclude_ginger_island_then_ginger_island_is_properly_excluded(self):
|
|
option, option_choice = self.option_and_choice
|
|
|
|
if option == ExcludeGingerIsland.internal_name:
|
|
self.skipTest("ExcludeGingerIsland is forced to true")
|
|
|
|
world_options = {
|
|
ExcludeGingerIsland.internal_name: ExcludeGingerIsland.option_true,
|
|
option: option_choice
|
|
}
|
|
|
|
with solo_multiworld(world_options) as (multiworld, stardew_world):
|
|
|
|
if stardew_world.options.exclude_ginger_island != ExcludeGingerIsland.option_true:
|
|
self.skipTest("Some options, like goals, will force Ginger island back in the game. We want to skip testing those.")
|
|
|
|
self.assert_basic_checks(multiworld)
|
|
self.assert_no_ginger_island_content(multiworld) |