2025-05-13 03:58:03 -04:00
|
|
|
from ..bases import SVTestBase
|
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 ...options import SeasonRandomization, Friendsanity, FriendsanityHeartSize
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class TestFriendsanityDatingRules(SVTestBase):
|
|
|
|
|
options = {
|
|
|
|
|
SeasonRandomization.internal_name: SeasonRandomization.option_randomized_not_winter,
|
|
|
|
|
Friendsanity.internal_name: Friendsanity.option_all_with_marriage,
|
|
|
|
|
FriendsanityHeartSize.internal_name: 3
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
def test_earning_dating_heart_requires_dating(self):
|
|
|
|
|
self.collect_all_the_money()
|
2024-11-29 19:46:35 -05:00
|
|
|
self.multiworld.state.collect(self.create_item("Fall"))
|
|
|
|
|
self.multiworld.state.collect(self.create_item("Beach Bridge"))
|
|
|
|
|
self.multiworld.state.collect(self.create_item("Progressive 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
|
|
|
for i in range(3):
|
2024-11-29 19:46:35 -05:00
|
|
|
self.multiworld.state.collect(self.create_item("Progressive Pickaxe"))
|
|
|
|
|
self.multiworld.state.collect(self.create_item("Progressive Weapon"))
|
|
|
|
|
self.multiworld.state.collect(self.create_item("Progressive Axe"))
|
|
|
|
|
self.multiworld.state.collect(self.create_item("Progressive Barn"))
|
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
|
|
|
for i in range(10):
|
2024-11-29 19:46:35 -05:00
|
|
|
self.multiworld.state.collect(self.create_item("Foraging Level"))
|
|
|
|
|
self.multiworld.state.collect(self.create_item("Farming Level"))
|
|
|
|
|
self.multiworld.state.collect(self.create_item("Mining Level"))
|
|
|
|
|
self.multiworld.state.collect(self.create_item("Combat Level"))
|
|
|
|
|
self.multiworld.state.collect(self.create_item("Progressive Mine Elevator"))
|
|
|
|
|
self.multiworld.state.collect(self.create_item("Progressive Mine Elevator"))
|
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
|
|
|
|
|
|
|
|
npc = "Abigail"
|
|
|
|
|
heart_name = f"{npc} <3"
|
|
|
|
|
step = 3
|
|
|
|
|
|
|
|
|
|
self.assert_can_reach_heart_up_to(npc, 3, step)
|
2024-11-29 19:46:35 -05:00
|
|
|
self.multiworld.state.collect(self.create_item(heart_name))
|
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_can_reach_heart_up_to(npc, 6, step)
|
2024-11-29 19:46:35 -05:00
|
|
|
self.multiworld.state.collect(self.create_item(heart_name))
|
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_can_reach_heart_up_to(npc, 8, step)
|
2024-11-29 19:46:35 -05:00
|
|
|
self.multiworld.state.collect(self.create_item(heart_name))
|
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_can_reach_heart_up_to(npc, 10, step)
|
2024-11-29 19:46:35 -05:00
|
|
|
self.multiworld.state.collect(self.create_item(heart_name))
|
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_can_reach_heart_up_to(npc, 14, step)
|
|
|
|
|
|
|
|
|
|
def assert_can_reach_heart_up_to(self, npc: str, max_reachable: int, step: int):
|
|
|
|
|
prefix = "Friendsanity: "
|
|
|
|
|
suffix = " <3"
|
|
|
|
|
for i in range(1, max_reachable + 1):
|
|
|
|
|
if i % step != 0 and i != 14:
|
|
|
|
|
continue
|
2025-04-08 12:37:45 -04:00
|
|
|
self.assert_can_reach_location(f"{prefix}{npc} {i}{suffix}")
|
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
|
|
|
for i in range(max_reachable + 1, 14 + 1):
|
|
|
|
|
if i % step != 0 and i != 14:
|
|
|
|
|
continue
|
2025-04-08 12:37:45 -04:00
|
|
|
self.assert_cannot_reach_location(f"{prefix}{npc} {i}{suffix}")
|