| 
									
										
										
										
											2025-07-16 11:57:06 -04:00
										 |  |  | import unittest | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-05-13 03:58:03 -04:00
										 |  |  | from .bases import SVTestBase | 
					
						
							| 
									
										
										
										
											2025-03-08 11:19:29 -05:00
										 |  |  | from ..options import ExcludeGingerIsland, Walnutsanity, ToolProgression, SkillProgression | 
					
						
							| 
									
										
										
										
											2024-12-08 21:00:30 -05:00
										 |  |  | from ..strings.ap_names.ap_option_names import WalnutsanityOptionName | 
					
						
							| 
									
										
										
											
												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
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-07-16 11:57:06 -04:00
										 |  |  | class SVWalnutsanityTestBase(SVTestBase): | 
					
						
							|  |  |  |     expected_walnut_locations: set[str] = set() | 
					
						
							|  |  |  |     unexpected_walnut_locations: set[str] = set() | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     @classmethod | 
					
						
							|  |  |  |     def setUpClass(cls) -> None: | 
					
						
							|  |  |  |         if cls is SVWalnutsanityTestBase: | 
					
						
							|  |  |  |             raise unittest.SkipTest("Base tests disabled") | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         super().setUpClass() | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     def test_walnut_locations(self): | 
					
						
							|  |  |  |         location_names = {location.name for location in self.multiworld.get_locations()} | 
					
						
							|  |  |  |         for location in self.expected_walnut_locations: | 
					
						
							|  |  |  |             self.assertIn(location, location_names, f"{location} should be in the location names") | 
					
						
							|  |  |  |         for location in self.unexpected_walnut_locations: | 
					
						
							|  |  |  |             self.assertNotIn(location, location_names, f"{location} should not be in the location names") | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class TestWalnutsanityNone(SVWalnutsanityTestBase): | 
					
						
							| 
									
										
										
											
												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
										 |  |  |     options = { | 
					
						
							|  |  |  |         ExcludeGingerIsland: ExcludeGingerIsland.option_false, | 
					
						
							|  |  |  |         Walnutsanity: Walnutsanity.preset_none, | 
					
						
							| 
									
										
										
										
											2025-03-08 11:19:29 -05:00
										 |  |  |         SkillProgression: ToolProgression.option_progressive, | 
					
						
							|  |  |  |         ToolProgression: ToolProgression.option_progressive, | 
					
						
							| 
									
										
										
											
												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
										 |  |  |     } | 
					
						
							| 
									
										
										
										
											2025-07-16 11:57:06 -04:00
										 |  |  |     unexpected_walnut_locations = { | 
					
						
							|  |  |  |         "Walnutsanity: Open Golden Coconut", | 
					
						
							|  |  |  |         "Walnutsanity: Fishing Walnut 4", | 
					
						
							|  |  |  |         "Walnutsanity: Journal Scrap #6", | 
					
						
							|  |  |  |         "Walnutsanity: Starfish Triangle", | 
					
						
							|  |  |  |         "Walnutsanity: Bush Behind Coconut Tree", | 
					
						
							|  |  |  |         "Walnutsanity: Purple Starfish Island Survey", | 
					
						
							|  |  |  |         "Walnutsanity: Volcano Monsters Walnut 3", | 
					
						
							|  |  |  |         "Walnutsanity: Cliff Over Island South Bush", | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
											
												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
										 |  |  | 
 | 
					
						
							|  |  |  |     def test_logic_received_walnuts(self): | 
					
						
							|  |  |  |         # You need to receive 0, and collect 40 | 
					
						
							|  |  |  |         self.collect("Island Obelisk") | 
					
						
							|  |  |  |         self.collect("Island West Turtle") | 
					
						
							|  |  |  |         self.collect("Progressive House") | 
					
						
							| 
									
										
										
										
											2025-02-01 16:07:08 -05:00
										 |  |  |         self.collect("5 Golden Walnuts", 10) | 
					
						
							| 
									
										
										
											
												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.assertFalse(self.multiworld.state.can_reach_location("Parrot Express", self.player)) | 
					
						
							|  |  |  |         self.collect("Island North Turtle") | 
					
						
							|  |  |  |         self.collect("Island Resort") | 
					
						
							|  |  |  |         self.collect("Open Professor Snail Cave") | 
					
						
							|  |  |  |         self.assertFalse(self.multiworld.state.can_reach_location("Parrot Express", self.player)) | 
					
						
							|  |  |  |         self.collect("Dig Site Bridge") | 
					
						
							|  |  |  |         self.collect("Island Farmhouse") | 
					
						
							|  |  |  |         self.collect("Qi Walnut Room") | 
					
						
							|  |  |  |         self.assertFalse(self.multiworld.state.can_reach_location("Parrot Express", self.player)) | 
					
						
							|  |  |  |         self.collect("Combat Level", 10) | 
					
						
							|  |  |  |         self.collect("Mining Level", 10) | 
					
						
							|  |  |  |         self.assertFalse(self.multiworld.state.can_reach_location("Parrot Express", self.player)) | 
					
						
							|  |  |  |         self.collect("Progressive Slingshot") | 
					
						
							|  |  |  |         self.collect("Progressive Weapon", 5) | 
					
						
							|  |  |  |         self.collect("Progressive Pickaxe", 4) | 
					
						
							|  |  |  |         self.collect("Progressive Watering Can", 4) | 
					
						
							|  |  |  |         self.assertTrue(self.multiworld.state.can_reach_location("Parrot Express", self.player)) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-07-16 11:57:06 -04:00
										 |  |  | class TestWalnutsanityPuzzles(SVWalnutsanityTestBase): | 
					
						
							| 
									
										
										
											
												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
										 |  |  |     options = { | 
					
						
							|  |  |  |         ExcludeGingerIsland: ExcludeGingerIsland.option_false, | 
					
						
							| 
									
										
										
										
											2024-12-08 21:00:30 -05:00
										 |  |  |         Walnutsanity: frozenset({WalnutsanityOptionName.puzzles}), | 
					
						
							| 
									
										
										
										
											2025-03-08 11:19:29 -05:00
										 |  |  |         SkillProgression: ToolProgression.option_progressive, | 
					
						
							|  |  |  |         ToolProgression: ToolProgression.option_progressive, | 
					
						
							| 
									
										
										
											
												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
										 |  |  |     } | 
					
						
							| 
									
										
										
										
											2025-07-16 11:57:06 -04:00
										 |  |  |     expected_walnut_locations = { | 
					
						
							|  |  |  |         "Walnutsanity: Open Golden Coconut", | 
					
						
							|  |  |  |         "Walnutsanity: Purple Starfish Island Survey", | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |     unexpected_walnut_locations = { | 
					
						
							|  |  |  |         "Walnutsanity: Fishing Walnut 4", | 
					
						
							|  |  |  |         "Walnutsanity: Journal Scrap #6", | 
					
						
							|  |  |  |         "Walnutsanity: Starfish Triangle", | 
					
						
							|  |  |  |         "Walnutsanity: Bush Behind Coconut Tree", | 
					
						
							|  |  |  |         "Walnutsanity: Volcano Monsters Walnut 3", | 
					
						
							|  |  |  |         "Walnutsanity: Cliff Over Island South Bush", | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
											
												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
										 |  |  | 
 | 
					
						
							|  |  |  |     def test_field_office_locations_require_professor_snail(self): | 
					
						
							| 
									
										
										
										
											2025-07-16 11:57:06 -04:00
										 |  |  |         location_names = ["Walnutsanity: Complete Large Animal Collection", "Walnutsanity: Complete Snake Collection", | 
					
						
							|  |  |  |                           "Walnutsanity: Complete Mummified Frog Collection", "Walnutsanity: Complete Mummified Bat Collection", | 
					
						
							|  |  |  |                           "Walnutsanity: Purple Flowers Island Survey", "Walnutsanity: Purple Starfish Island Survey", ] | 
					
						
							| 
									
										
										
											
												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("Island Obelisk") | 
					
						
							|  |  |  |         self.collect("Island North Turtle") | 
					
						
							|  |  |  |         self.collect("Island West Turtle") | 
					
						
							|  |  |  |         self.collect("Island Resort") | 
					
						
							|  |  |  |         self.collect("Dig Site Bridge") | 
					
						
							|  |  |  |         self.collect("Progressive House") | 
					
						
							|  |  |  |         self.collect("Progressive Pan") | 
					
						
							|  |  |  |         self.collect("Progressive Fishing Rod") | 
					
						
							|  |  |  |         self.collect("Progressive Watering Can") | 
					
						
							|  |  |  |         self.collect("Progressive Pickaxe", 4) | 
					
						
							|  |  |  |         self.collect("Progressive Sword", 5) | 
					
						
							|  |  |  |         self.collect("Combat Level", 10) | 
					
						
							|  |  |  |         self.collect("Mining Level", 10) | 
					
						
							| 
									
										
										
										
											2025-04-08 12:37:45 -04:00
										 |  |  |         for location in location_names: | 
					
						
							|  |  |  |             self.assert_cannot_reach_location(location) | 
					
						
							| 
									
										
										
											
												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("Open Professor Snail Cave") | 
					
						
							| 
									
										
										
										
											2025-04-08 12:37:45 -04:00
										 |  |  |         for location in location_names: | 
					
						
							|  |  |  |             self.assert_can_reach_location(location) | 
					
						
							| 
									
										
										
											
												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
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-07-16 11:57:06 -04:00
										 |  |  | class TestWalnutsanityBushes(SVWalnutsanityTestBase): | 
					
						
							| 
									
										
										
											
												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
										 |  |  |     options = { | 
					
						
							|  |  |  |         ExcludeGingerIsland: ExcludeGingerIsland.option_false, | 
					
						
							| 
									
										
										
										
											2024-12-08 21:00:30 -05:00
										 |  |  |         Walnutsanity: frozenset({WalnutsanityOptionName.bushes}), | 
					
						
							| 
									
										
										
											
												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
										 |  |  |     } | 
					
						
							| 
									
										
										
										
											2025-07-16 11:57:06 -04:00
										 |  |  |     expected_walnut_locations = { | 
					
						
							|  |  |  |         "Walnutsanity: Bush Behind Coconut Tree", | 
					
						
							|  |  |  |         "Walnutsanity: Cliff Over Island South Bush", | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |     unexpected_walnut_locations = { | 
					
						
							|  |  |  |         "Walnutsanity: Open Golden Coconut", | 
					
						
							|  |  |  |         "Walnutsanity: Fishing Walnut 4", | 
					
						
							|  |  |  |         "Walnutsanity: Journal Scrap #6", | 
					
						
							|  |  |  |         "Walnutsanity: Starfish Triangle", | 
					
						
							|  |  |  |         "Walnutsanity: Purple Starfish Island Survey", | 
					
						
							|  |  |  |         "Walnutsanity: Volcano Monsters Walnut 3", | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
											
												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
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-07-16 11:57:06 -04:00
										 |  |  | class TestWalnutsanityPuzzlesAndBushes(SVWalnutsanityTestBase): | 
					
						
							| 
									
										
										
											
												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
										 |  |  |     options = { | 
					
						
							|  |  |  |         ExcludeGingerIsland: ExcludeGingerIsland.option_false, | 
					
						
							| 
									
										
										
										
											2024-12-08 21:00:30 -05:00
										 |  |  |         Walnutsanity: frozenset({WalnutsanityOptionName.puzzles, WalnutsanityOptionName.bushes}), | 
					
						
							| 
									
										
										
											
												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
										 |  |  |     } | 
					
						
							| 
									
										
										
										
											2025-07-16 11:57:06 -04:00
										 |  |  |     expected_walnut_locations = { | 
					
						
							|  |  |  |         "Walnutsanity: Open Golden Coconut", | 
					
						
							|  |  |  |         "Walnutsanity: Bush Behind Coconut Tree", | 
					
						
							|  |  |  |         "Walnutsanity: Purple Starfish Island Survey", | 
					
						
							|  |  |  |         "Walnutsanity: Cliff Over Island South Bush", | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |     unexpected_walnut_locations = { | 
					
						
							|  |  |  |         "Walnutsanity: Fishing Walnut 4", | 
					
						
							|  |  |  |         "Walnutsanity: Journal Scrap #6", | 
					
						
							|  |  |  |         "Walnutsanity: Starfish Triangle", | 
					
						
							|  |  |  |         "Walnutsanity: Volcano Monsters Walnut 3", | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
											
												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
										 |  |  | 
 | 
					
						
							|  |  |  |     def test_logic_received_walnuts(self): | 
					
						
							|  |  |  |         # You need to receive 25, and collect 15 | 
					
						
							|  |  |  |         self.collect("Island Obelisk") | 
					
						
							|  |  |  |         self.collect("Island West Turtle") | 
					
						
							| 
									
										
										
										
											2025-02-01 16:07:08 -05:00
										 |  |  |         self.collect("5 Golden Walnuts", 5) | 
					
						
							| 
									
										
										
											
												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.assertFalse(self.multiworld.state.can_reach_location("Parrot Express", self.player)) | 
					
						
							| 
									
										
										
										
											2025-02-01 16:07:08 -05:00
										 |  |  |         self.collect("Island North Turtle") | 
					
						
							| 
									
										
										
											
												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.assertTrue(self.multiworld.state.can_reach_location("Parrot Express", self.player)) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-07-16 11:57:06 -04:00
										 |  |  | class TestWalnutsanityDigSpots(SVWalnutsanityTestBase): | 
					
						
							| 
									
										
										
											
												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
										 |  |  |     options = { | 
					
						
							|  |  |  |         ExcludeGingerIsland: ExcludeGingerIsland.option_false, | 
					
						
							| 
									
										
										
										
											2024-12-08 21:00:30 -05:00
										 |  |  |         Walnutsanity: frozenset({WalnutsanityOptionName.dig_spots}), | 
					
						
							| 
									
										
										
											
												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
										 |  |  |     } | 
					
						
							| 
									
										
										
										
											2025-07-16 11:57:06 -04:00
										 |  |  |     expected_walnut_locations = { | 
					
						
							|  |  |  |         "Walnutsanity: Journal Scrap #6", | 
					
						
							|  |  |  |         "Walnutsanity: Starfish Triangle", | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |     unexpected_walnut_locations = { | 
					
						
							|  |  |  |         "Walnutsanity: Open Golden Coconut", | 
					
						
							|  |  |  |         "Walnutsanity: Fishing Walnut 4", | 
					
						
							|  |  |  |         "Walnutsanity: Bush Behind Coconut Tree", | 
					
						
							|  |  |  |         "Walnutsanity: Purple Starfish Island Survey", | 
					
						
							|  |  |  |         "Walnutsanity: Volcano Monsters Walnut 3", | 
					
						
							|  |  |  |         "Walnutsanity: Cliff Over Island South Bush", | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
											
												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
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-07-16 11:57:06 -04:00
										 |  |  | class TestWalnutsanityRepeatables(SVWalnutsanityTestBase): | 
					
						
							| 
									
										
										
											
												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
										 |  |  |     options = { | 
					
						
							|  |  |  |         ExcludeGingerIsland: ExcludeGingerIsland.option_false, | 
					
						
							| 
									
										
										
										
											2024-12-08 21:00:30 -05:00
										 |  |  |         Walnutsanity: frozenset({WalnutsanityOptionName.repeatables}), | 
					
						
							| 
									
										
										
											
												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
										 |  |  |     } | 
					
						
							| 
									
										
										
										
											2025-07-16 11:57:06 -04:00
										 |  |  |     expected_walnut_locations = { | 
					
						
							|  |  |  |         "Walnutsanity: Fishing Walnut 4", | 
					
						
							|  |  |  |         "Walnutsanity: Volcano Monsters Walnut 3", | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |     unexpected_walnut_locations = { | 
					
						
							|  |  |  |         "Walnutsanity: Open Golden Coconut", | 
					
						
							|  |  |  |         "Walnutsanity: Journal Scrap #6", | 
					
						
							|  |  |  |         "Walnutsanity: Starfish Triangle", | 
					
						
							|  |  |  |         "Walnutsanity: Bush Behind Coconut Tree", | 
					
						
							|  |  |  |         "Walnutsanity: Purple Starfish Island Survey", | 
					
						
							|  |  |  |         "Walnutsanity: Cliff Over Island South Bush", | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
											
												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
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-07-16 11:57:06 -04:00
										 |  |  | class TestWalnutsanityAll(SVWalnutsanityTestBase): | 
					
						
							| 
									
										
										
											
												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
										 |  |  |     options = { | 
					
						
							|  |  |  |         ExcludeGingerIsland: ExcludeGingerIsland.option_false, | 
					
						
							|  |  |  |         Walnutsanity: Walnutsanity.preset_all, | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
										
											2025-07-16 11:57:06 -04:00
										 |  |  |     expected_walnut_locations = { | 
					
						
							|  |  |  |         "Walnutsanity: Open Golden Coconut", | 
					
						
							|  |  |  |         "Walnutsanity: Fishing Walnut 4", | 
					
						
							|  |  |  |         "Walnutsanity: Journal Scrap #6", | 
					
						
							|  |  |  |         "Walnutsanity: Starfish Triangle", | 
					
						
							|  |  |  |         "Walnutsanity: Bush Behind Coconut Tree", | 
					
						
							|  |  |  |         "Walnutsanity: Purple Starfish Island Survey", | 
					
						
							|  |  |  |         "Walnutsanity: Volcano Monsters Walnut 3", | 
					
						
							|  |  |  |         "Walnutsanity: Cliff Over Island South Bush", | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
											
												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
										 |  |  | 
 | 
					
						
							|  |  |  |     def test_logic_received_walnuts(self): | 
					
						
							|  |  |  |         # You need to receive 40, and collect 4 | 
					
						
							|  |  |  |         self.collect("Island Obelisk") | 
					
						
							|  |  |  |         self.collect("Island West Turtle") | 
					
						
							|  |  |  |         self.assertFalse(self.multiworld.state.can_reach_location("Parrot Express", self.player)) | 
					
						
							|  |  |  |         items = self.collect("5 Golden Walnuts", 8) | 
					
						
							|  |  |  |         self.assertTrue(self.multiworld.state.can_reach_location("Parrot Express", self.player)) | 
					
						
							|  |  |  |         self.remove(items) | 
					
						
							|  |  |  |         self.assertFalse(self.multiworld.state.can_reach_location("Parrot Express", self.player)) | 
					
						
							|  |  |  |         items = self.collect("3 Golden Walnuts", 14) | 
					
						
							|  |  |  |         self.assertTrue(self.multiworld.state.can_reach_location("Parrot Express", self.player)) | 
					
						
							|  |  |  |         self.remove(items) | 
					
						
							|  |  |  |         self.assertFalse(self.multiworld.state.can_reach_location("Parrot Express", self.player)) | 
					
						
							|  |  |  |         items = self.collect("Golden Walnut", 40) | 
					
						
							|  |  |  |         self.assertTrue(self.multiworld.state.can_reach_location("Parrot Express", self.player)) | 
					
						
							|  |  |  |         self.remove(items) | 
					
						
							|  |  |  |         self.assertFalse(self.multiworld.state.can_reach_location("Parrot Express", self.player)) | 
					
						
							| 
									
										
										
										
											2025-02-01 16:07:08 -05:00
										 |  |  |         self.collect("5 Golden Walnuts", 4) | 
					
						
							|  |  |  |         self.collect("3 Golden Walnuts", 6) | 
					
						
							|  |  |  |         self.collect("Golden Walnut", 2) | 
					
						
							| 
									
										
										
											
												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.assertTrue(self.multiworld.state.can_reach_location("Parrot Express", self.player)) |