Stardew Valley 6.x.x: The Content Update (#3478)

Focus of the Update: Compatibility with Stardew Valley 1.6 Released on March 19th 2024
This includes randomization for pretty much all of the new content, including but not limited to
- Raccoon Bundles
- Booksanity
- Skill Masteries
- New Recipes, Craftables, Fish, Maps, Farm Type, Festivals and Quests

This also includes a significant reorganisation of the code into "Content Packs", to allow for easier modularity of various game mechanics between the settings and the supported mods. This improves maintainability quite a bit.

In addition to that, a few **very** requested new features have been introduced, although they weren't the focus of this update
- Walnutsanity
- Player Buffs
- More customizability in settings, such as shorter special orders, ER without farmhouse
- New Remixed Bundles
This commit is contained in:
agilbert1412
2024-07-07 16:04:25 +03:00
committed by GitHub
parent f99ee77325
commit 9b22458f44
210 changed files with 10298 additions and 4540 deletions

View File

@@ -1,10 +1,11 @@
import random
import unittest
from typing import Dict
from BaseClasses import MultiWorld, get_seed
from Options import NamedRange, Range
from .option_names import options_to_include
from .. import setup_solo_multiworld, SVTestCase
from .. import SVTestCase
from ..assertion import GoalAssertMixin, OptionAssertMixin, WorldAssertMixin
@@ -18,12 +19,6 @@ def get_option_choices(option) -> Dict[str, int]:
return {}
def generate_random_multiworld(world_id: int):
world_options = generate_random_world_options(world_id)
multiworld = setup_solo_multiworld(world_options, seed=world_id)
return multiworld
def generate_random_world_options(seed: int) -> Dict[str, int]:
num_options = len(options_to_include)
world_options = dict()
@@ -57,7 +52,8 @@ def get_number_log_steps(number_worlds: int) -> int:
class TestGenerateManyWorlds(GoalAssertMixin, OptionAssertMixin, WorldAssertMixin, SVTestCase):
def test_generate_many_worlds_then_check_results(self):
if self.skip_long_tests:
return
raise unittest.SkipTest("Long tests disabled")
number_worlds = 10 if self.skip_long_tests else 1000
seed = get_seed()
self.generate_and_check_many_worlds(number_worlds, seed)