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
		
			
				
	
	
		
			147 lines
		
	
	
		
			4.9 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			147 lines
		
	
	
		
			4.9 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
all_fossils = []
 | 
						|
all_artifacts = []
 | 
						|
 | 
						|
 | 
						|
def fossil(name: str):
 | 
						|
    all_fossils.append(name)
 | 
						|
    return name
 | 
						|
 | 
						|
 | 
						|
def artifact(name: str):
 | 
						|
    all_artifacts.append(name)
 | 
						|
    return name
 | 
						|
 | 
						|
 | 
						|
class Ore:
 | 
						|
    copper = "Copper Ore"
 | 
						|
    iron = "Iron Ore"
 | 
						|
    gold = "Gold Ore"
 | 
						|
    iridium = "Iridium Ore"
 | 
						|
    radioactive = "Radioactive Bar"
 | 
						|
 | 
						|
 | 
						|
class MetalBar:
 | 
						|
    quartz = "Refined Quartz"
 | 
						|
    copper = "Copper Bar"
 | 
						|
    iron = "Iron Bar"
 | 
						|
    gold = "Gold Bar"
 | 
						|
    iridium = "Iridium Bar"
 | 
						|
    radioactive = "Radioactive Ore"
 | 
						|
 | 
						|
 | 
						|
class Mineral:
 | 
						|
    petrified_slime = "Petrified Slime"
 | 
						|
    quartz = "Quartz"
 | 
						|
    earth_crystal = "Earth Crystal"
 | 
						|
    fire_quartz = "Fire Quartz"
 | 
						|
    marble = "Marble"
 | 
						|
    prismatic_shard = "Prismatic Shard"
 | 
						|
    diamond = "Diamond"
 | 
						|
    frozen_tear = "Frozen Tear"
 | 
						|
    aquamarine = "Aquamarine"
 | 
						|
    topaz = "Topaz"
 | 
						|
    jade = "Jade"
 | 
						|
    ruby = "Ruby"
 | 
						|
    emerald = "Emerald"
 | 
						|
    amethyst = "Amethyst"
 | 
						|
    tigerseye = "Tigerseye"
 | 
						|
 | 
						|
 | 
						|
class Artifact:
 | 
						|
    prehistoric_handaxe = "Prehistoric Handaxe"
 | 
						|
    dwarf_gadget = artifact("Dwarf Gadget")
 | 
						|
    ancient_seed = artifact("Ancient Seed")
 | 
						|
    glass_shards = artifact("Glass Shards")
 | 
						|
    rusty_cog = artifact("Rusty Cog")
 | 
						|
    rare_disc = artifact("Rare Disc")
 | 
						|
    ancient_doll = artifact("Ancient Doll")
 | 
						|
    ancient_drum = artifact("Ancient Drum")
 | 
						|
    ancient_sword = artifact("Ancient Sword")
 | 
						|
    arrowhead = artifact("Arrowhead")
 | 
						|
    bone_flute = artifact("Bone Flute")
 | 
						|
    chewing_stick = artifact("Chewing Stick")
 | 
						|
    chicken_statue = artifact("Chicken Statue")
 | 
						|
    anchor = artifact("Anchor")
 | 
						|
    chipped_amphora = artifact("Chipped Amphora")
 | 
						|
    dwarf_scroll_i = artifact("Dwarf Scroll I")
 | 
						|
    dwarf_scroll_ii = artifact("Dwarf Scroll II")
 | 
						|
    dwarf_scroll_iii = artifact("Dwarf Scroll III")
 | 
						|
    dwarf_scroll_iv = artifact("Dwarf Scroll IV")
 | 
						|
    dwarvish_helm = artifact("Dwarvish Helm")
 | 
						|
    elvish_jewelry = artifact("Elvish Jewelry")
 | 
						|
    golden_mask = artifact("Golden Mask")
 | 
						|
    golden_relic = artifact("Golden Relic")
 | 
						|
    ornamental_fan = artifact("Ornamental Fan")
 | 
						|
    prehistoric_hammer = artifact("Prehistoric Handaxe")
 | 
						|
    prehistoric_tool = artifact("Prehistoric Tool")
 | 
						|
    rusty_spoon = artifact("Rusty Spoon")
 | 
						|
    rusty_spur = artifact("Rusty Spur")
 | 
						|
    strange_doll_green = artifact("Strange Doll (Green)")
 | 
						|
    strange_doll = artifact("Strange Doll")
 | 
						|
 | 
						|
 | 
						|
class Fossil:
 | 
						|
    amphibian_fossil = fossil("Amphibian Fossil")
 | 
						|
    bone_fragment = "Bone Fragment"
 | 
						|
    dinosaur_egg = fossil("Dinosaur Egg")
 | 
						|
    dried_starfish = fossil("Dried Starfish")
 | 
						|
    fossilized_leg = fossil("Fossilized Leg")
 | 
						|
    fossilized_ribs = fossil("Fossilized Ribs")
 | 
						|
    fossilized_skull = fossil("Fossilized Skull")
 | 
						|
    fossilized_spine = fossil("Fossilized Spine")
 | 
						|
    fossilized_tail = fossil("Fossilized Tail")
 | 
						|
    mummified_bat = fossil("Mummified Bat")
 | 
						|
    mummified_frog = fossil("Mummified Frog")
 | 
						|
    nautilus_fossil = fossil("Nautilus Fossil")
 | 
						|
    palm_fossil = fossil("Palm Fossil")
 | 
						|
    prehistoric_hand = fossil("Skeletal Hand")
 | 
						|
    prehistoric_rib = fossil("Prehistoric Rib")
 | 
						|
    prehistoric_scapula = fossil("Prehistoric Scapula")
 | 
						|
    prehistoric_skull = fossil("Prehistoric Skull")
 | 
						|
    prehistoric_tibia = fossil("Prehistoric Tibia")
 | 
						|
    prehistoric_vertebra = fossil("Prehistoric Vertebra")
 | 
						|
    skeletal_hand = "Skeletal Hand"
 | 
						|
    skeletal_tail = fossil("Skeletal Tail")
 | 
						|
    snake_skull = fossil("Snake Skull")
 | 
						|
    snake_vertebrae = fossil("Snake Vertebrae")
 | 
						|
    trilobite = fossil("Trilobite")
 | 
						|
 | 
						|
 | 
						|
class ModArtifact:
 | 
						|
    ancient_hilt = "Ancient Hilt"
 | 
						|
    ancient_blade = "Ancient Blade"
 | 
						|
    mask_piece_1 = "Mask Piece 1"
 | 
						|
    mask_piece_2 = "Mask Piece 2"
 | 
						|
    mask_piece_3 = "Mask Piece 3"
 | 
						|
    ancient_doll_body = "Ancient Doll Body"
 | 
						|
    ancient_doll_legs = "Ancient Doll Legs"
 | 
						|
    prismatic_shard_piece_1 = "Prismatic Shard Piece 1"
 | 
						|
    prismatic_shard_piece_2 = "Prismatic Shard Piece 2"
 | 
						|
    prismatic_shard_piece_3 = "Prismatic Shard Piece 3"
 | 
						|
    prismatic_shard_piece_4 = "Prismatic Shard Piece 4"
 | 
						|
    chipped_amphora_piece_1 = "Chipped Amphora Piece 1"
 | 
						|
    chipped_amphora_piece_2 = "Chipped Amphora Piece 2"
 | 
						|
 | 
						|
 | 
						|
class ModFossil:
 | 
						|
    neanderthal_limb_bones = "Neanderthal Limb Bones"
 | 
						|
    neanderthal_ribs = "Neanderthal Ribs"
 | 
						|
    neanderthal_skull = "Neanderthal Skull"
 | 
						|
    neanderthal_pelvis = "Neanderthal Pelvis"
 | 
						|
    dinosaur_tooth = "Dinosaur Tooth"
 | 
						|
    dinosaur_skull = "Dinosaur Skull"
 | 
						|
    dinosaur_claw = "Dinosaur Claw"
 | 
						|
    dinosaur_femur = "Dinosaur Femur"
 | 
						|
    dinosaur_ribs = "Dinosaur Ribs"
 | 
						|
    dinosaur_pelvis = "Dinosaur Pelvis"
 | 
						|
    dinosaur_vertebra = "Dinosaur Vertebra"
 | 
						|
    pterodactyl_ribs = "Pterodactyl Ribs"
 | 
						|
    pterodactyl_skull = "Pterodactyl Skull"
 | 
						|
    pterodactyl_r_wing_bone = "Pterodactyl R Wing Bone"
 | 
						|
    pterodactyl_l_wing_bone = "Pterodactyl L Wing Bone"
 | 
						|
    pterodactyl_phalange = "Pterodactyl Phalange"
 | 
						|
    pterodactyl_vertebra = "Pterodactyl Vertebra"
 | 
						|
    pterodactyl_claw = "Pterodactyl Claw"
 | 
						|
 | 
						|
 |