2024-07-25 02:22:46 -05:00
|
|
|
from ..game_content import ContentPack, StardewContent
|
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 ..mod_registry import register_mod_content_pack
|
2024-07-25 02:22:46 -05:00
|
|
|
from ...data.artisan import MachineSource
|
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 ...data.skill import Skill
|
|
|
|
|
from ...mods.mod_data import ModNames
|
2024-07-25 02:22:46 -05:00
|
|
|
from ...strings.craftable_names import ModMachine
|
|
|
|
|
from ...strings.fish_names import ModTrash
|
|
|
|
|
from ...strings.metal_names import all_artifacts, all_fossils
|
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 ...strings.skill_names import ModSkill
|
|
|
|
|
|
2024-07-25 02:22:46 -05:00
|
|
|
|
|
|
|
|
class ArchaeologyContentPack(ContentPack):
|
|
|
|
|
def artisan_good_hook(self, content: StardewContent):
|
|
|
|
|
# Done as honestly there are too many display items to put into the initial registration traditionally.
|
|
|
|
|
display_items = all_artifacts + all_fossils
|
|
|
|
|
for item in display_items:
|
|
|
|
|
self.source_display_items(item, content)
|
|
|
|
|
content.source_item(ModTrash.rusty_scrap, *(MachineSource(item=artifact, machine=ModMachine.grinder) for artifact in all_artifacts))
|
|
|
|
|
|
|
|
|
|
def source_display_items(self, item: str, content: StardewContent):
|
|
|
|
|
wood_display = f"Wooden Display: {item}"
|
|
|
|
|
hardwood_display = f"Hardwood Display: {item}"
|
|
|
|
|
if item == "Trilobite":
|
|
|
|
|
wood_display = f"Wooden Display: Trilobite Fossil"
|
|
|
|
|
hardwood_display = f"Hardwood Display: Trilobite Fossil"
|
|
|
|
|
content.source_item(wood_display, MachineSource(item=str(item), machine=ModMachine.preservation_chamber))
|
|
|
|
|
content.source_item(hardwood_display, MachineSource(item=str(item), machine=ModMachine.hardwood_preservation_chamber))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
register_mod_content_pack(ArchaeologyContentPack(
|
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
|
|
|
ModNames.archaeology,
|
|
|
|
|
skills=(Skill(name=ModSkill.archaeology, has_mastery=False),),
|
|
|
|
|
|
|
|
|
|
))
|