* implement mega shards * create the option and locations, add to slot data and tests * add boss refights as locations * remove barma'thazel. it's apparently impossible to get to him * remove barma'thazel again * up max shard count to 85 * increment version * dynamically alter the power seal pool * revert host.yaml change * two mega shards were missing from the maps * add new checks to the info page * add some more rules to skylands * forgot to update my tests * explicit imports, remove unnecessary typing, lower required client ver * use generators for shard and seal creation
		
			
				
	
	
		
			162 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			162 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
# items
 | 
						|
# listing individual groups first for easy lookup
 | 
						|
 | 
						|
NOTES = [
 | 
						|
    "Key of Hope",
 | 
						|
    "Key of Chaos",
 | 
						|
    "Key of Courage",
 | 
						|
    "Key of Love",
 | 
						|
    "Key of Strength",
 | 
						|
    "Key of Symbiosis",
 | 
						|
]
 | 
						|
 | 
						|
PROG_ITEMS = [
 | 
						|
    "Wingsuit",
 | 
						|
    "Rope Dart",
 | 
						|
    "Ninja Tabi",
 | 
						|
    "Power Thistle",
 | 
						|
    "Demon King Crown",
 | 
						|
    "Ruxxtin's Amulet",
 | 
						|
    "Fairy Bottle",
 | 
						|
    "Sun Crest",
 | 
						|
    "Moon Crest",
 | 
						|
    # "Astral Seed",
 | 
						|
    # "Astral Tea Leaves",
 | 
						|
]
 | 
						|
 | 
						|
PHOBEKINS = [
 | 
						|
    "Necro",
 | 
						|
    "Pyro",
 | 
						|
    "Claustro",
 | 
						|
    "Acro",
 | 
						|
]
 | 
						|
 | 
						|
USEFUL_ITEMS = [
 | 
						|
    "Windmill Shuriken",
 | 
						|
]
 | 
						|
 | 
						|
# item_name_to_id needs to be deterministic and match upstream
 | 
						|
ALL_ITEMS = [
 | 
						|
    *NOTES,
 | 
						|
    "Windmill Shuriken",
 | 
						|
    "Wingsuit",
 | 
						|
    "Rope Dart",
 | 
						|
    "Ninja Tabi",
 | 
						|
    # "Astral Seed",
 | 
						|
    # "Astral Tea Leaves",
 | 
						|
    "Candle",
 | 
						|
    "Seashell",
 | 
						|
    "Power Thistle",
 | 
						|
    "Demon King Crown",
 | 
						|
    "Ruxxtin's Amulet",
 | 
						|
    "Fairy Bottle",
 | 
						|
    "Sun Crest",
 | 
						|
    "Moon Crest",
 | 
						|
    *PHOBEKINS,
 | 
						|
    "Power Seal",
 | 
						|
    "Time Shard",  # there's 45 separate instances of this in the client lookup, but hopefully we don't care?
 | 
						|
]
 | 
						|
 | 
						|
# locations
 | 
						|
# the names of these don't actually matter, but using the upstream's names for now
 | 
						|
# order must be exactly the same as upstream
 | 
						|
ALWAYS_LOCATIONS = [
 | 
						|
    # notes
 | 
						|
    "Key of Love",
 | 
						|
    "Key of Courage",
 | 
						|
    "Key of Chaos",
 | 
						|
    "Key of Symbiosis",
 | 
						|
    "Key of Strength",
 | 
						|
    "Key of Hope",
 | 
						|
    # upgrades
 | 
						|
    "Wingsuit",
 | 
						|
    "Rope Dart",
 | 
						|
    "Ninja Tabi",
 | 
						|
    "Climbing Claws",
 | 
						|
    # quest items
 | 
						|
    "Astral Seed",
 | 
						|
    "Astral Tea Leaves",
 | 
						|
    "Candle",
 | 
						|
    "Seashell",
 | 
						|
    "Power Thistle",
 | 
						|
    "Demon King Crown",
 | 
						|
    "Ruxxtin's Amulet",
 | 
						|
    "Fairy Bottle",
 | 
						|
    "Sun Crest",
 | 
						|
    "Moon Crest",
 | 
						|
    # phobekins
 | 
						|
    "Necro",
 | 
						|
    "Pyro",
 | 
						|
    "Claustro",
 | 
						|
    "Acro",
 | 
						|
]
 | 
						|
 | 
						|
SEALS = [
 | 
						|
    "Ninja Village Seal - Tree House",
 | 
						|
 | 
						|
    "Autumn Hills Seal - Trip Saws",
 | 
						|
    "Autumn Hills Seal - Double Swing Saws",
 | 
						|
    "Autumn Hills Seal - Spike Ball Swing",
 | 
						|
    "Autumn Hills Seal - Spike Ball Darts",
 | 
						|
 | 
						|
    "Catacombs Seal - Triple Spike Crushers",
 | 
						|
    "Catacombs Seal - Crusher Gauntlet",
 | 
						|
    "Catacombs Seal - Dirty Pond",
 | 
						|
 | 
						|
    "Bamboo Creek Seal - Spike Crushers and Doors",
 | 
						|
    "Bamboo Creek Seal - Spike Ball Pits",
 | 
						|
    "Bamboo Creek Seal - Spike Crushers and Doors v2",
 | 
						|
 | 
						|
    "Howling Grotto Seal - Windy Saws and Balls",
 | 
						|
    "Howling Grotto Seal - Crushing Pits",
 | 
						|
    "Howling Grotto Seal - Breezy Crushers",
 | 
						|
 | 
						|
    "Quillshroom Marsh Seal - Spikey Window",
 | 
						|
    "Quillshroom Marsh Seal - Sand Trap",
 | 
						|
    "Quillshroom Marsh Seal - Do the Spike Wave",
 | 
						|
 | 
						|
    "Searing Crags Seal - Triple Ball Spinner",
 | 
						|
    "Searing Crags Seal - Raining Rocks",
 | 
						|
    "Searing Crags Seal - Rhythm Rocks",
 | 
						|
 | 
						|
    "Glacial Peak Seal - Ice Climbers",
 | 
						|
    "Glacial Peak Seal - Projectile Spike Pit",
 | 
						|
    "Glacial Peak Seal - Glacial Air Swag",
 | 
						|
 | 
						|
    "Tower of Time Seal - Time Waster Seal",
 | 
						|
    "Tower of Time Seal - Lantern Climb",
 | 
						|
    "Tower of Time Seal - Arcane Orbs",
 | 
						|
 | 
						|
    "Cloud Ruins Seal - Ghost Pit",
 | 
						|
    "Cloud Ruins Seal - Toothbrush Alley",
 | 
						|
    "Cloud Ruins Seal - Saw Pit",
 | 
						|
    "Cloud Ruins Seal - Money Farm Room",
 | 
						|
 | 
						|
    "Underworld Seal - Sharp and Windy Climb",
 | 
						|
    "Underworld Seal - Spike Wall",
 | 
						|
    "Underworld Seal - Fireball Wave",
 | 
						|
    "Underworld Seal - Rising Fanta",
 | 
						|
 | 
						|
    "Forlorn Temple Seal - Rocket Maze",
 | 
						|
    "Forlorn Temple Seal - Rocket Sunset",
 | 
						|
 | 
						|
    "Sunken Shrine Seal - Ultra Lifeguard",
 | 
						|
    "Sunken Shrine Seal - Waterfall Paradise",
 | 
						|
    "Sunken Shrine Seal - Tabi Gauntlet",
 | 
						|
 | 
						|
    "Riviere Turquoise Seal - Bounces and Balls",
 | 
						|
    "Riviere Turquoise Seal - Launch of Faith",
 | 
						|
    "Riviere Turquoise Seal - Flower Power",
 | 
						|
 | 
						|
    "Elemental Skylands Seal - Air",
 | 
						|
    "Elemental Skylands Seal - Water",
 | 
						|
    "Elemental Skylands Seal - Fire",
 | 
						|
]
 | 
						|
 | 
						|
BOSS_LOCATIONS = [
 | 
						|
    "Leaf Golem",
 | 
						|
    "Ruxxtin",
 | 
						|
    "Emerald Golem",
 | 
						|
    "Queen of Quills",
 | 
						|
]
 |