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
2024-07-07 16:04:25 +03:00
|
|
|
from dataclasses import dataclass, field
|
2024-11-30 21:52:07 -05:00
|
|
|
from functools import cached_property
|
|
|
|
|
from typing import Iterable, Tuple
|
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
2024-07-07 16:04:25 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
@dataclass(frozen=True)
|
|
|
|
|
class Skill:
|
|
|
|
|
name: str
|
2024-11-27 03:28:00 +01:00
|
|
|
has_mastery: bool = field(kw_only=True)
|
2024-11-30 21:52:07 -05:00
|
|
|
|
|
|
|
|
@cached_property
|
|
|
|
|
def mastery_name(self) -> str:
|
|
|
|
|
return f"{self.name} Mastery"
|
|
|
|
|
|
|
|
|
|
@cached_property
|
|
|
|
|
def level_name(self) -> str:
|
|
|
|
|
return f"{self.name} Level"
|
|
|
|
|
|
|
|
|
|
@cached_property
|
|
|
|
|
def level_names_by_level(self) -> Iterable[Tuple[int, str]]:
|
|
|
|
|
return tuple((level, f"Level {level} {self.name}") for level in range(1, 11))
|