From 8c5b76217a6f8d95612008261a7d1349c3c24f0a Mon Sep 17 00:00:00 2001 From: jamesbrq Date: Tue, 16 Apr 2024 11:52:11 -0400 Subject: [PATCH] Update Items.py --- worlds/ttyd/Items.py | 266 +++++++++++++++++++++++++++---------------- 1 file changed, 168 insertions(+), 98 deletions(-) diff --git a/worlds/ttyd/Items.py b/worlds/ttyd/Items.py index b9a6edfd2928..efa654a72203 100644 --- a/worlds/ttyd/Items.py +++ b/worlds/ttyd/Items.py @@ -9,7 +9,7 @@ class ItemData(typing.NamedTuple): progression: ItemClassification -class MLSSItem(Item): +class TTYDItem(Item): game: str = "Paper Mario: The Thousand Year Door" @@ -62,103 +62,173 @@ class MLSSItem(Item): ItemData(77772045, "Dizzy Dial", ItemClassification.filler), ItemData(77772046, "Double Dip", ItemClassification.useful), ItemData(77772047, "Double Dip P", ItemClassification.useful), - ItemData(77772048, "Beanfruit 5", ItemClassification.progression_skip_balancing), - ItemData(77772049, "Beanfruit 6", ItemClassification.progression_skip_balancing), - ItemData(77772050, "Beanfruit 7", ItemClassification.progression_skip_balancing), - ItemData(77772051, "Blue Neon Egg", ItemClassification.progression), - ItemData(77772052, "Red Neon Egg", ItemClassification.progression), - ItemData(77772053, "Green Neon Egg", ItemClassification.progression), - ItemData(77772054, "Yellow Neon Egg", ItemClassification.progression), - ItemData(77772055, "Purple Neon Egg", ItemClassification.progression), - ItemData(77772056, "Orange Neon Egg", ItemClassification.progression), - ItemData(77772057, "Azure Neon Egg", ItemClassification.progression), - ItemData(77772058, "Beanstar Piece 1", ItemClassification.progression), - ItemData(77772059, "Beanstar Piece 2", ItemClassification.progression), - ItemData(77772060, "Beanstar Piece 3", ItemClassification.progression), - ItemData(77772061, "Beanstar Piece 4", ItemClassification.progression), - ItemData(77772062, "Spangle", ItemClassification.progression, 0x72), - ItemData(77772063, "Beanlet 1", ItemClassification.useful, 0x73), - ItemData(77772064, "Beanlet 2", ItemClassification.useful, 0x74), - ItemData(77772065, "Beanlet 3", ItemClassification.useful, 0x75), - ItemData(77772066, "Beanlet 4", ItemClassification.useful, 0x76), - ItemData(77772067, "Beanlet 5", ItemClassification.useful, 0x77), - ItemData(77772068, "Beanstone 1", ItemClassification.useful, 0x80), - ItemData(77772069, "Beanstone 2", ItemClassification.useful, 0x81), - ItemData(77772070, "Beanstone 3", ItemClassification.useful, 0x82), - ItemData(77772071, "Beanstone 4", ItemClassification.useful, 0x83), - ItemData(77772072, "Beanstone 5", ItemClassification.useful, 0x84), - ItemData(77772073, "Beanstone 6", ItemClassification.useful, 0x85), - ItemData(77772074, "Beanstone 7", ItemClassification.useful, 0x86), - ItemData(77772075, "Beanstone 8", ItemClassification.useful, 0x87), - ItemData(77772076, "Beanstone 9", ItemClassification.useful, 0x90), - ItemData(77772077, "Beanstone 10", ItemClassification.useful, 0x91), - ItemData(77772078, "Secret Scroll 1", ItemClassification.useful, 0x92), - ItemData(77772079, "Secret Scroll 2", ItemClassification.useful, 0x93), - ItemData(77772080, "Castle Badge", ItemClassification.useful, 0x9F), - ItemData(77772081, "Pea Badge", ItemClassification.useful, 0xA0), - ItemData(77772082, "Bean B. Badge", ItemClassification.useful, 0xA1), - ItemData(77772083, "Counter Badge", ItemClassification.useful, 0xA2), - ItemData(77772084, "Charity Badge", ItemClassification.useful, 0xA3), - ItemData(77772085, "Bros. Badge", ItemClassification.useful, 0xA4), - ItemData(77772086, "Miracle Badge", ItemClassification.useful, 0xA5), - ItemData(77772087, "Ohoracle Badge", ItemClassification.useful, 0xA6), - ItemData(77772088, "Mush Badge", ItemClassification.useful, 0xA7), - ItemData(77772089, "Mari-Lui Badge", ItemClassification.useful, 0xA8), - ItemData(77772090, "Muscle Badge", ItemClassification.useful, 0xA9), - ItemData(77772091, "Spiny Badge AA", ItemClassification.useful, 0xAA), - ItemData(77772092, "Mush Badge A", ItemClassification.useful, 0xAB), - ItemData(77772093, "Grab Badge", ItemClassification.useful, 0xAC), - ItemData(77772094, "Mush Badge AA", ItemClassification.useful, 0xAD), - ItemData(77772095, "Power Badge", ItemClassification.useful, 0xAE), - ItemData(77772096, "Wonder Badge", ItemClassification.useful, 0xAF), - ItemData(77772097, "Beauty Badge", ItemClassification.useful, 0xB0), - ItemData(77772098, "Salvage Badge", ItemClassification.useful, 0xB1), - ItemData(77772099, "Oh-Pah Badge", ItemClassification.useful, 0xB2), - ItemData(77772100, "Brilliant Badge", ItemClassification.useful, 0xB3), - ItemData(77772101, "Sarge Badge", ItemClassification.useful, 0xB4), - ItemData(77772102, "General Badge", ItemClassification.useful, 0xB5), - ItemData(77772103, "Tank Badge", ItemClassification.useful, 0xB6), - ItemData(77772104, "Bros. Rock", ItemClassification.useful, 0xBD), - ItemData(77772105, "Soulful Bros.", ItemClassification.useful, 0xC0), - ItemData(77772106, "High-End Badge", ItemClassification.useful, 0xC1), - ItemData(77772107, "Bean Pants", ItemClassification.useful, 0xCC), - ItemData(77772108, "Bean Trousers", ItemClassification.useful, 0xCD), - ItemData(77772109, "Blue Jeans", ItemClassification.useful, 0xCE), - ItemData(77772110, "Parasol Pants", ItemClassification.useful, 0xCF), - ItemData(77772111, "Hard Pants", ItemClassification.useful, 0xD0), - ItemData(77772112, "Heart Jeans", ItemClassification.useful, 0xD1), - ItemData(77772113, "Plaid Trousers", ItemClassification.useful, 0xD2), - ItemData(77772114, "#1 Trousers", ItemClassification.useful, 0xD3), - ItemData(77772115, "Safety Slacks", ItemClassification.useful, 0xD4), - ItemData(77772116, "Shroom Pants", ItemClassification.useful, 0xD5), - ItemData(77772117, "Shroom Bells", ItemClassification.useful, 0xD6), - ItemData(77772118, "Shroom Slacks", ItemClassification.useful, 0xD7), - ItemData(77772119, "Peachy Jeans", ItemClassification.useful, 0xD8), - ItemData(77772120, "Mushwin Pants", ItemClassification.useful, 0xD9), - ItemData(77772121, "Mushluck Pants", ItemClassification.useful, 0xDA), - ItemData(77772122, "Scandal Jeans", ItemClassification.useful, 0xDB), - ItemData(77772123, "Street Jeans", ItemClassification.useful, 0xDC), - ItemData(77772124, "Tropic Slacks", ItemClassification.useful, 0xDD), - ItemData(77772125, "Hermetic Pants", ItemClassification.useful, 0xDE), - ItemData(77772126, "Beanstar Pants", ItemClassification.useful, 0xDF), - ItemData(77772127, "Peasley Slacks", ItemClassification.useful, 0xE0), - ItemData(77772128, "Queen B. Jeans", ItemClassification.useful, 0xE1), - ItemData(77772129, "B. Brand Jeans", ItemClassification.useful, 0xE2), - ItemData(77772130, "Heart Slacks", ItemClassification.useful, 0xE3), - ItemData(77772131, "Casual Slacks", ItemClassification.useful, 0xE4), - ItemData(77772132, "Casual Coral", ItemClassification.useful, 0xEB), - ItemData(77772133, "Harhall's Pants", ItemClassification.useful, 0xF1), - ItemData(77772134, "Wool Trousers", ItemClassification.useful, 0xF3), - ItemData(77772135, "Iron Pants", ItemClassification.useful, 0xF7), - ItemData(77772136, "Greed Wallet", ItemClassification.useful, 0xF8), - ItemData(77772137, "Bonus Ring", ItemClassification.useful, 0xF9), - ItemData(77772138, "Excite Spring", ItemClassification.useful, 0xFA), - ItemData(77772139, "Great Force", ItemClassification.useful, 0xFB), - ItemData(77772140, "Power Grip", ItemClassification.useful, 0xFC), - ItemData(77772141, "Cobalt Necktie", ItemClassification.useful, 0xFD), - ItemData(77772142, "Game Boy Horror SP", ItemClassification.useful, 0xFE), - ItemData(77772143, "Woo Bean", ItemClassification.skip_balancing, 0x1C), - ItemData(77772144, "Hee Bean", ItemClassification.skip_balancing, 0x1F), + ItemData(77772048, "Double Pain", ItemClassification.useful), + ItemData(77772049, "Dried Shroom", ItemClassification.filler), + ItemData(77772050, "Dubious Paper", ItemClassification.progression), + ItemData(77772051, "Earth Quake", ItemClassification.filler), + ItemData(77772052, "Elevator Key", ItemClassification.progression), + ItemData(77772053, "Elevator Key 1", ItemClassification.progression), + ItemData(77772054, "Elevator Key 2", ItemClassification.progression), + ItemData(77772055, "Emerald Star", ItemClassification.progression), + ItemData(77772056, "Feeling Fine", ItemClassification.useful), + ItemData(77772057, "Feeling Fine P", ItemClassification.useful), + ItemData(77772058, "Fire Drive", ItemClassification.useful), + ItemData(77772059, "Fire Flower", ItemClassification.filler), + ItemData(77772060, "First Attack", ItemClassification.useful), + ItemData(77772061, "Flower Finder", ItemClassification.useful), + ItemData(77772062, "Flower Saver", ItemClassification.useful), + ItemData(77772063, "Flower Saver P", ItemClassification.useful), + ItemData(77772064, "Flurrie", ItemClassification.progression), + ItemData(77772065, "FP Drain", ItemClassification.useful), + ItemData(77772066, "FP Plus", ItemClassification.useful), + ItemData(77772067, "Fresh Pasta", ItemClassification.filler), + ItemData(77772068, "Fright Mask", ItemClassification.filler), + ItemData(77772069, "Galley Pot", ItemClassification.progression), + ItemData(77772070, "Garnet Star", ItemClassification.progression), + ItemData(77772071, "Gate Handle", ItemClassification.progression), + ItemData(77772072, "Gold Bar", ItemClassification.useful), + ItemData(77772073, "Gold Bar x3", ItemClassification.useful), + ItemData(77772074, "Gold Ring", ItemClassification.progression), + ItemData(77772075, "Gold Star", ItemClassification.progression), + ItemData(77772076, "Goldbob Guide", ItemClassification.progression), + ItemData(77772077, "Golden Leaf", ItemClassification.filler), + ItemData(77772078, "Goombella", ItemClassification.progression), + ItemData(77772079, "Gradual Syrup", ItemClassification.filler), + ItemData(77772080, "Grotto Key", ItemClassification.progression), + ItemData(77772081, "Hammer Throw", ItemClassification.useful), + ItemData(77772082, "Hammerman", ItemClassification.useful), + ItemData(77772083, "Happy Flower", ItemClassification.useful), + ItemData(77772084, "Happy Heart", ItemClassification.useful), + ItemData(77772085, "Happy Heart P", ItemClassification.useful), + ItemData(77772086, "Head Rattle", ItemClassification.useful), + ItemData(77772087, "Heart Finder", ItemClassification.useful), + ItemData(77772088, "Honey Syrup", ItemClassification.filler), + ItemData(77772089, "Horsetail", ItemClassification.filler), + ItemData(77772090, "Hot Dog", ItemClassification.filler), + ItemData(77772091, "HP Drain", ItemClassification.filler), + ItemData(77772092, "HP Drain (Badge)", ItemClassification.useful), + ItemData(77772093, "HP Drain P", ItemClassification.useful), + ItemData(77772094, "HP Plus", ItemClassification.useful), + ItemData(77772095, "HP Plus P", ItemClassification.useful), + ItemData(77772096, "Ice Power", ItemClassification.useful), + ItemData(77772097, "Ice Smash", ItemClassification.useful), + ItemData(77772098, "Ice Storm", ItemClassification.filler), + ItemData(77772099, "Inn Coupon", ItemClassification.filler), + ItemData(77772100, "Item Hog", ItemClassification.useful), + ItemData(77772101, "Jammin' Jelly", ItemClassification.useful), + ItemData(77772102, "Jumpman", ItemClassification.useful), + ItemData(77772103, "Keel Mango", ItemClassification.filler), + ItemData(77772104, "Koops", ItemClassification.progression), + ItemData(77772105, "L Emblem", ItemClassification.useful), + ItemData(77772106, "Last Stand", ItemClassification.useful), + ItemData(77772107, "Last Stand P", ItemClassification.useful), + ItemData(77772108, "Life Shroom", ItemClassification.useful), + ItemData(77772109, "Lottery Pick", ItemClassification.useful), + ItemData(77772110, "Lucky Day", ItemClassification.useful), + ItemData(77772111, "Lucky Start", ItemClassification.useful), + ItemData(77772112, "Maple Syrup", ItemClassification.filler), + ItemData(77772113, "Mega Rush", ItemClassification.useful), + ItemData(77772114, "Mega Rush P", ItemClassification.useful), + ItemData(77772115, "Mini Mr.Mini", ItemClassification.filler), + ItemData(77772116, "Money Money", ItemClassification.useful), + ItemData(77772117, "Moon Stone", ItemClassification.useful), + ItemData(77772118, "Mr. Softener", ItemClassification.filler), + ItemData(77772119, "Multibounce", ItemClassification.useful), + ItemData(77772120, "Mushroom", ItemClassification.filler), + ItemData(77772121, "Mystery", ItemClassification.filler), + ItemData(77772122, "Mystic Egg", ItemClassification.filler), + ItemData(77772123, "Necklace", ItemClassification.progression), + ItemData(77772124, "Old Letter", ItemClassification.progression), + ItemData(77772125, "Omelette Meal", ItemClassification.filler), + ItemData(77772126, "P-Down D-Up", ItemClassification.useful), + ItemData(77772127, "P-Down D-Up P", ItemClassification.useful), + ItemData(77772128, "P-Up D-Down", ItemClassification.useful), + ItemData(77772129, "P-Up D-Down P", ItemClassification.useful), + ItemData(77772130, "Palace Key", ItemClassification.progression), + ItemData(77772131, "Palace Key (Riddle Tower)", ItemClassification.progression), + ItemData(77772132, "Paper Curse", ItemClassification.progression), + ItemData(77772133, "Peachy Peach", ItemClassification.filler), + ItemData(77772134, "Peekaboo", ItemClassification.useful), + ItemData(77772135, "Piercing Blow", ItemClassification.useful), + ItemData(77772136, "Pity Flower", ItemClassification.useful), + ItemData(77772137, "Plane Curse", ItemClassification.progression), + ItemData(77772138, "Point Swap", ItemClassification.filler), + ItemData(77772139, "POW Block", ItemClassification.filler), + ItemData(77772140, "Power Bounce", ItemClassification.useful), + ItemData(77772141, "Power Jump", ItemClassification.useful), + ItemData(77772142, "Power Plus", ItemClassification.useful), + ItemData(77772143, "Power Plus P", ItemClassification.useful), + ItemData(77772144, "Power Punch", ItemClassification.filler), + ItemData(77772145, "Power Rush", ItemClassification.useful), + ItemData(77772146, "Power Rush P", ItemClassification.useful), + ItemData(77772147, "Power Smash", ItemClassification.useful), + ItemData(77772148, "Pretty Lucky", ItemClassification.useful), + ItemData(77772149, "Pretty Lucky P", ItemClassification.useful), + ItemData(77772150, "Puni Orb", ItemClassification.progression), + ItemData(77772151, "Quake Hammer", ItemClassification.useful), + ItemData(77772152, "Quick Change", ItemClassification.useful), + ItemData(77772153, "Ragged Diary", ItemClassification.progression), + ItemData(77772154, "Red Key", ItemClassification.progression), + ItemData(77772155, "Refund", ItemClassification.useful), + ItemData(77772156, "Repel Cape", ItemClassification.filler), + ItemData(77772157, "Return Postage", ItemClassification.useful), + ItemData(77772158, "Ruby Star", ItemClassification.progression), + ItemData(77772159, "Ruin Powder", ItemClassification.filler), + ItemData(77772160, "Sapphire Star", ItemClassification.progression), + ItemData(77772161, "Shell Earrings", ItemClassification.progression), + ItemData(77772162, "Shine Sprite", ItemClassification.useful), + ItemData(77772163, "Shine Sprite x3", ItemClassification.useful), + ItemData(77772164, "Shooting Star", ItemClassification.useful), + ItemData(77772165, "Shop Key", ItemClassification.progression), + ItemData(77772166, "Shrink Stomp", ItemClassification.useful), + ItemData(77772167, "Simplifier", ItemClassification.useful), + ItemData(77772168, "Skull Gem", ItemClassification.progression), + ItemData(77772169, "Sleepy Sheep", ItemClassification.filler), + ItemData(77772170, "Slow Go", ItemClassification.useful), + ItemData(77772171, "Slow Shroom", ItemClassification.filler), + ItemData(77772172, "Soft Stomp", ItemClassification.useful), + ItemData(77772173, "Space Food", ItemClassification.filler), + ItemData(77772174, "Spike Shield", ItemClassification.useful), + ItemData(77772175, "Spite Pouch", ItemClassification.filler), + ItemData(77772176, "Star Key", ItemClassification.progression), + ItemData(77772177, "Star Piece", ItemClassification.progression), + ItemData(77772178, "Station Key 1", ItemClassification.progression), + ItemData(77772179, "Station Key 2", ItemClassification.progression), + ItemData(77772180, "Steeple Key 1", ItemClassification.progression), + ItemData(77772181, "Steeple Key 2", ItemClassification.progression), + ItemData(77772182, "Stopwatch", ItemClassification.filler), + ItemData(77772183, "Storage Key 1", ItemClassification.progression), + ItemData(77772184, "Storage Key 2", ItemClassification.progression), + ItemData(77772185, "Strange Sack", ItemClassification.useful), + ItemData(77772186, "Sun Stone", ItemClassification.progression), + ItemData(77772187, "Super Appeal", ItemClassification.useful), + ItemData(77772188, "Super Appeal P", ItemClassification.useful), + ItemData(77772189, "Super Boots", ItemClassification.progression), + ItemData(77772190, "Super Hammer", ItemClassification.progression), + ItemData(77772191, "Super Shroom", ItemClassification.filler), + ItemData(77772192, "Superbombomb", ItemClassification.progression), + ItemData(77772193, "Tasty Tonic", ItemClassification.filler), + ItemData(77772194, "The Letter \"P\"", ItemClassification.progression), + ItemData(77772195, "Thunder Bolt", ItemClassification.filler), + ItemData(77772196, "Thunder Rage", ItemClassification.useful), + ItemData(77772197, "Timing Tutor", ItemClassification.useful), + ItemData(77772198, "Tornado Jump", ItemClassification.useful), + ItemData(77772199, "Train Ticket", ItemClassification.progression), + ItemData(77772200, "Tube Curse", ItemClassification.progression), + ItemData(77772201, "Turtley Leaf", ItemClassification.filler), + ItemData(77772202, "Ultra Boots", ItemClassification.progression), + ItemData(77772203, "Ultra Hammer", ItemClassification.progression), + ItemData(77772204, "Ultra Shroom", ItemClassification.useful), + ItemData(77772205, "Unsimplifier", ItemClassification.useful), + ItemData(77772206, "Up Arrow", ItemClassification.useful), + ItemData(77772207, "Vital Paper", ItemClassification.progression), + ItemData(77772208, "Vivian", ItemClassification.progression), + ItemData(77772209, "Volt Shroom", ItemClassification.filler), + ItemData(77772210, "W Emblem", ItemClassification.useful), + ItemData(77772211, "Wedding Ring", ItemClassification.progression), + ItemData(77772212, "Whacka Bump", ItemClassification.filler), + ItemData(77772213, "Yoshi", ItemClassification.progression), + ItemData(77772214, "Zap Tap", ItemClassification.useful) ] item_frequencies: typing.Dict[str, int] = {