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 ... import options
|
|
|
|
from ...options import BuildingProgression, ExcludeGingerIsland, Chefsanity
|
|
|
|
from ...test import SVTestBase
|
|
|
|
|
|
|
|
|
|
|
|
class TestRecipeLearnLogic(SVTestBase):
|
|
|
|
options = {
|
|
|
|
BuildingProgression.internal_name: BuildingProgression.option_progressive,
|
|
|
|
options.Cropsanity.internal_name: options.Cropsanity.option_enabled,
|
|
|
|
options.Cooksanity.internal_name: options.Cooksanity.option_all,
|
|
|
|
Chefsanity.internal_name: Chefsanity.option_none,
|
|
|
|
ExcludeGingerIsland.internal_name: ExcludeGingerIsland.option_true,
|
|
|
|
}
|
|
|
|
|
|
|
|
def test_can_learn_qos_recipe(self):
|
|
|
|
location = "Cook Radish Salad"
|
|
|
|
rule = self.world.logic.region.can_reach_location(location)
|
|
|
|
self.assert_rule_false(rule, self.multiworld.state)
|
|
|
|
|
2024-11-29 19:46:35 -05:00
|
|
|
self.multiworld.state.collect(self.create_item("Progressive House"))
|
|
|
|
self.multiworld.state.collect(self.create_item("Radish Seeds"))
|
|
|
|
self.multiworld.state.collect(self.create_item("Spring"))
|
|
|
|
self.multiworld.state.collect(self.create_item("Summer"))
|
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
|
|
|
self.collect_lots_of_money()
|
|
|
|
self.assert_rule_false(rule, self.multiworld.state)
|
|
|
|
|
2024-11-29 19:46:35 -05:00
|
|
|
self.multiworld.state.collect(self.create_item("The Queen of Sauce"))
|
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
|
|
|
self.assert_rule_true(rule, self.multiworld.state)
|
|
|
|
|
|
|
|
|
|
|
|
class TestRecipeReceiveLogic(SVTestBase):
|
|
|
|
options = {
|
|
|
|
BuildingProgression.internal_name: BuildingProgression.option_progressive,
|
|
|
|
options.Cropsanity.internal_name: options.Cropsanity.option_enabled,
|
|
|
|
options.Cooksanity.internal_name: options.Cooksanity.option_all,
|
|
|
|
Chefsanity.internal_name: Chefsanity.option_all,
|
|
|
|
ExcludeGingerIsland.internal_name: ExcludeGingerIsland.option_true,
|
|
|
|
}
|
|
|
|
|
|
|
|
def test_can_learn_qos_recipe(self):
|
|
|
|
location = "Cook Radish Salad"
|
|
|
|
rule = self.world.logic.region.can_reach_location(location)
|
|
|
|
self.assert_rule_false(rule, self.multiworld.state)
|
|
|
|
|
2024-11-29 19:46:35 -05:00
|
|
|
self.multiworld.state.collect(self.create_item("Progressive House"))
|
|
|
|
self.multiworld.state.collect(self.create_item("Radish Seeds"))
|
|
|
|
self.multiworld.state.collect(self.create_item("Summer"))
|
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
|
|
|
self.collect_lots_of_money()
|
|
|
|
self.assert_rule_false(rule, self.multiworld.state)
|
|
|
|
|
|
|
|
spring = self.create_item("Spring")
|
|
|
|
qos = self.create_item("The Queen of Sauce")
|
2024-11-29 19:46:35 -05:00
|
|
|
self.multiworld.state.collect(spring)
|
|
|
|
self.multiworld.state.collect(qos)
|
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
|
|
|
self.assert_rule_false(rule, self.multiworld.state)
|
|
|
|
self.multiworld.state.remove(spring)
|
|
|
|
self.multiworld.state.remove(qos)
|
|
|
|
|
2024-11-29 19:46:35 -05:00
|
|
|
self.multiworld.state.collect(self.create_item("Radish Salad Recipe"))
|
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
|
|
|
self.assert_rule_true(rule, self.multiworld.state)
|
|
|
|
|
|
|
|
def test_get_chefsanity_check_recipe(self):
|
|
|
|
location = "Radish Salad Recipe"
|
|
|
|
rule = self.world.logic.region.can_reach_location(location)
|
|
|
|
self.assert_rule_false(rule, self.multiworld.state)
|
|
|
|
|
2024-11-29 19:46:35 -05:00
|
|
|
self.multiworld.state.collect(self.create_item("Spring"))
|
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
|
|
|
self.collect_lots_of_money()
|
|
|
|
self.assert_rule_false(rule, self.multiworld.state)
|
|
|
|
|
|
|
|
seeds = self.create_item("Radish Seeds")
|
|
|
|
summer = self.create_item("Summer")
|
|
|
|
house = self.create_item("Progressive House")
|
2024-11-29 19:46:35 -05:00
|
|
|
self.multiworld.state.collect(seeds)
|
|
|
|
self.multiworld.state.collect(summer)
|
|
|
|
self.multiworld.state.collect(house)
|
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
|
|
|
self.assert_rule_false(rule, self.multiworld.state)
|
|
|
|
self.multiworld.state.remove(seeds)
|
|
|
|
self.multiworld.state.remove(summer)
|
|
|
|
self.multiworld.state.remove(house)
|
|
|
|
|
2024-11-29 19:46:35 -05:00
|
|
|
self.multiworld.state.collect(self.create_item("The Queen of Sauce"))
|
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
|
|
|
self.assert_rule_true(rule, self.multiworld.state)
|