| 
									
										
										
										
											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 ... import options | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class TestArcadeMachinesLogic(SVTestBase): | 
					
						
							|  |  |  |     options = { | 
					
						
							|  |  |  |         options.ArcadeMachineLocations.internal_name: options.ArcadeMachineLocations.option_full_shuffling, | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     def test_prairie_king(self): | 
					
						
							|  |  |  |         self.assertFalse(self.world.logic.region.can_reach("JotPK World 1")(self.multiworld.state)) | 
					
						
							|  |  |  |         self.assertFalse(self.world.logic.region.can_reach("JotPK World 2")(self.multiworld.state)) | 
					
						
							|  |  |  |         self.assertFalse(self.world.logic.region.can_reach("JotPK World 3")(self.multiworld.state)) | 
					
						
							| 
									
										
										
										
											2025-04-08 12:37:45 -04:00
										 |  |  |         self.assert_cannot_reach_location("Journey of the Prairie King Victory") | 
					
						
							| 
									
										
										
											
												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
										 |  |  | 
 | 
					
						
							|  |  |  |         boots = self.create_item("JotPK: Progressive Boots") | 
					
						
							|  |  |  |         gun = self.create_item("JotPK: Progressive Gun") | 
					
						
							|  |  |  |         ammo = self.create_item("JotPK: Progressive Ammo") | 
					
						
							|  |  |  |         life = self.create_item("JotPK: Extra Life") | 
					
						
							|  |  |  |         drop = self.create_item("JotPK: Increased Drop Rate") | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-11-29 19:46:35 -05:00
										 |  |  |         self.multiworld.state.collect(boots) | 
					
						
							|  |  |  |         self.multiworld.state.collect(gun) | 
					
						
							| 
									
										
										
											
												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.world.logic.region.can_reach("JotPK World 1")(self.multiworld.state)) | 
					
						
							|  |  |  |         self.assertFalse(self.world.logic.region.can_reach("JotPK World 2")(self.multiworld.state)) | 
					
						
							|  |  |  |         self.assertFalse(self.world.logic.region.can_reach("JotPK World 3")(self.multiworld.state)) | 
					
						
							| 
									
										
										
										
											2025-04-08 12:37:45 -04:00
										 |  |  |         self.assert_cannot_reach_location("Journey of the Prairie King Victory") | 
					
						
							| 
									
										
										
											
												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.remove(boots) | 
					
						
							|  |  |  |         self.remove(gun) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-11-29 19:46:35 -05:00
										 |  |  |         self.multiworld.state.collect(boots) | 
					
						
							|  |  |  |         self.multiworld.state.collect(boots) | 
					
						
							| 
									
										
										
											
												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.world.logic.region.can_reach("JotPK World 1")(self.multiworld.state)) | 
					
						
							|  |  |  |         self.assertFalse(self.world.logic.region.can_reach("JotPK World 2")(self.multiworld.state)) | 
					
						
							|  |  |  |         self.assertFalse(self.world.logic.region.can_reach("JotPK World 3")(self.multiworld.state)) | 
					
						
							| 
									
										
										
										
											2025-04-08 12:37:45 -04:00
										 |  |  |         self.assert_cannot_reach_location("Journey of the Prairie King Victory") | 
					
						
							| 
									
										
										
											
												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.remove(boots) | 
					
						
							|  |  |  |         self.remove(boots) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-11-29 19:46:35 -05:00
										 |  |  |         self.multiworld.state.collect(boots) | 
					
						
							|  |  |  |         self.multiworld.state.collect(gun) | 
					
						
							|  |  |  |         self.multiworld.state.collect(ammo) | 
					
						
							|  |  |  |         self.multiworld.state.collect(life) | 
					
						
							| 
									
										
										
											
												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.world.logic.region.can_reach("JotPK World 1")(self.multiworld.state)) | 
					
						
							|  |  |  |         self.assertTrue(self.world.logic.region.can_reach("JotPK World 2")(self.multiworld.state)) | 
					
						
							|  |  |  |         self.assertFalse(self.world.logic.region.can_reach("JotPK World 3")(self.multiworld.state)) | 
					
						
							| 
									
										
										
										
											2025-04-08 12:37:45 -04:00
										 |  |  |         self.assert_cannot_reach_location("Journey of the Prairie King Victory") | 
					
						
							| 
									
										
										
											
												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.remove(boots) | 
					
						
							|  |  |  |         self.remove(gun) | 
					
						
							|  |  |  |         self.remove(ammo) | 
					
						
							|  |  |  |         self.remove(life) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-11-29 19:46:35 -05:00
										 |  |  |         self.multiworld.state.collect(boots) | 
					
						
							|  |  |  |         self.multiworld.state.collect(gun) | 
					
						
							|  |  |  |         self.multiworld.state.collect(gun) | 
					
						
							|  |  |  |         self.multiworld.state.collect(ammo) | 
					
						
							|  |  |  |         self.multiworld.state.collect(ammo) | 
					
						
							|  |  |  |         self.multiworld.state.collect(life) | 
					
						
							|  |  |  |         self.multiworld.state.collect(drop) | 
					
						
							| 
									
										
										
											
												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.world.logic.region.can_reach("JotPK World 1")(self.multiworld.state)) | 
					
						
							|  |  |  |         self.assertTrue(self.world.logic.region.can_reach("JotPK World 2")(self.multiworld.state)) | 
					
						
							|  |  |  |         self.assertTrue(self.world.logic.region.can_reach("JotPK World 3")(self.multiworld.state)) | 
					
						
							| 
									
										
										
										
											2025-04-08 12:37:45 -04:00
										 |  |  |         self.assert_cannot_reach_location("Journey of the Prairie King Victory") | 
					
						
							| 
									
										
										
											
												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.remove(boots) | 
					
						
							|  |  |  |         self.remove(gun) | 
					
						
							|  |  |  |         self.remove(gun) | 
					
						
							|  |  |  |         self.remove(ammo) | 
					
						
							|  |  |  |         self.remove(ammo) | 
					
						
							|  |  |  |         self.remove(life) | 
					
						
							|  |  |  |         self.remove(drop) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-11-29 19:46:35 -05:00
										 |  |  |         self.multiworld.state.collect(boots) | 
					
						
							|  |  |  |         self.multiworld.state.collect(boots) | 
					
						
							|  |  |  |         self.multiworld.state.collect(gun) | 
					
						
							|  |  |  |         self.multiworld.state.collect(gun) | 
					
						
							|  |  |  |         self.multiworld.state.collect(gun) | 
					
						
							|  |  |  |         self.multiworld.state.collect(gun) | 
					
						
							|  |  |  |         self.multiworld.state.collect(ammo) | 
					
						
							|  |  |  |         self.multiworld.state.collect(ammo) | 
					
						
							|  |  |  |         self.multiworld.state.collect(ammo) | 
					
						
							|  |  |  |         self.multiworld.state.collect(life) | 
					
						
							|  |  |  |         self.multiworld.state.collect(drop) | 
					
						
							| 
									
										
										
											
												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.world.logic.region.can_reach("JotPK World 1")(self.multiworld.state)) | 
					
						
							|  |  |  |         self.assertTrue(self.world.logic.region.can_reach("JotPK World 2")(self.multiworld.state)) | 
					
						
							|  |  |  |         self.assertTrue(self.world.logic.region.can_reach("JotPK World 3")(self.multiworld.state)) | 
					
						
							| 
									
										
										
										
											2025-04-08 12:37:45 -04:00
										 |  |  |         self.assert_can_reach_location("Journey of the Prairie King Victory") | 
					
						
							| 
									
										
										
											
												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.remove(boots) | 
					
						
							|  |  |  |         self.remove(boots) | 
					
						
							|  |  |  |         self.remove(gun) | 
					
						
							|  |  |  |         self.remove(gun) | 
					
						
							|  |  |  |         self.remove(gun) | 
					
						
							|  |  |  |         self.remove(gun) | 
					
						
							|  |  |  |         self.remove(ammo) | 
					
						
							|  |  |  |         self.remove(ammo) | 
					
						
							|  |  |  |         self.remove(ammo) | 
					
						
							|  |  |  |         self.remove(life) | 
					
						
							|  |  |  |         self.remove(drop) |