 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
		
			
				
	
	
		
			29 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
| from ..game_content import ContentPack
 | |
| from ..mod_registry import register_mod_content_pack
 | |
| from ...data.harvest import ForagingSource
 | |
| from ...mods.mod_data import ModNames
 | |
| from ...strings.crop_names import Fruit
 | |
| from ...strings.flower_names import Flower
 | |
| from ...strings.region_names import DeepWoodsRegion
 | |
| from ...strings.season_names import Season
 | |
| 
 | |
| register_mod_content_pack(ContentPack(
 | |
|     ModNames.deepwoods,
 | |
|     harvest_sources={
 | |
|         # Deep enough to have seen such a tree at least once
 | |
|         Fruit.apple: (ForagingSource(regions=(DeepWoodsRegion.floor_10,)),),
 | |
|         Fruit.apricot: (ForagingSource(regions=(DeepWoodsRegion.floor_10,)),),
 | |
|         Fruit.cherry: (ForagingSource(regions=(DeepWoodsRegion.floor_10,)),),
 | |
|         Fruit.orange: (ForagingSource(regions=(DeepWoodsRegion.floor_10,)),),
 | |
|         Fruit.peach: (ForagingSource(regions=(DeepWoodsRegion.floor_10,)),),
 | |
|         Fruit.pomegranate: (ForagingSource(regions=(DeepWoodsRegion.floor_10,)),),
 | |
|         Fruit.mango: (ForagingSource(regions=(DeepWoodsRegion.floor_10,)),),
 | |
| 
 | |
|         Flower.tulip: (ForagingSource(seasons=Season.not_winter, regions=(DeepWoodsRegion.floor_10,)),),
 | |
|         Flower.blue_jazz: (ForagingSource(regions=(DeepWoodsRegion.floor_10,)),),
 | |
|         Flower.summer_spangle: (ForagingSource(seasons=Season.not_winter, regions=(DeepWoodsRegion.floor_10,)),),
 | |
|         Flower.poppy: (ForagingSource(seasons=Season.not_winter, regions=(DeepWoodsRegion.floor_10,)),),
 | |
|         Flower.fairy_rose: (ForagingSource(regions=(DeepWoodsRegion.floor_10,)),),
 | |
|     }
 | |
| ))
 |