 9b22458f44
			
		
	
	9b22458f44
	
	
	
		
			
			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
		
			
				
	
	
		
			28 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
| from . import SVContentPackTestBase
 | |
| from ...content import content_packs
 | |
| from ...data.artisan import MachineSource
 | |
| from ...strings.artisan_good_names import ArtisanGood
 | |
| from ...strings.crop_names import Fruit
 | |
| from ...strings.fish_names import Fish
 | |
| from ...strings.machine_names import Machine
 | |
| 
 | |
| 
 | |
| class TestQiBoard(SVContentPackTestBase):
 | |
|     vanilla_packs = SVContentPackTestBase.vanilla_packs + (content_packs.ginger_island_content_pack, content_packs.qi_board_content_pack)
 | |
| 
 | |
|     def test_extended_family_fishes_are_included(self):
 | |
|         fish_names = self.content.fishes.keys()
 | |
| 
 | |
|         self.assertIn(Fish.ms_angler, fish_names)
 | |
|         self.assertIn(Fish.son_of_crimsonfish, fish_names)
 | |
|         self.assertIn(Fish.glacierfish_jr, fish_names)
 | |
|         self.assertIn(Fish.legend_ii, fish_names)
 | |
|         self.assertIn(Fish.radioactive_carp, fish_names)
 | |
| 
 | |
|         # 63 from pelican town + 3 ginger island exclusive + 5 extended family
 | |
|         self.assertEqual(63 + 3 + 5, len(self.content.fishes))
 | |
| 
 | |
|     def test_wines(self):
 | |
|         self.assertIn(MachineSource(item=Fruit.qi_fruit, machine=Machine.keg), self.content.game_items[ArtisanGood.specific_wine(Fruit.qi_fruit)].sources)
 | |
|         self.assertIn(MachineSource(item=Fruit.qi_fruit, machine=Machine.keg), self.content.game_items[ArtisanGood.wine].sources)
 |