forked from mirror/Archipelago
Some checks failed
Analyze modified files / flake8 (push) Failing after 2m28s
Build / build-win (push) Has been cancelled
Build / build-ubuntu2204 (push) Has been cancelled
ctest / Test C++ ubuntu-latest (push) Has been cancelled
ctest / Test C++ windows-latest (push) Has been cancelled
Analyze modified files / mypy (push) Has been cancelled
Build and Publish Docker Images / Push Docker image to Docker Hub (push) Successful in 5m4s
Native Code Static Analysis / scan-build (push) Failing after 5m2s
type check / pyright (push) Successful in 1m7s
unittests / Test Python 3.11.2 ubuntu-latest (push) Failing after 16m23s
unittests / Test Python 3.12 ubuntu-latest (push) Failing after 28m19s
unittests / Test Python 3.13 ubuntu-latest (push) Failing after 14m49s
unittests / Test hosting with 3.13 on ubuntu-latest (push) Successful in 5m0s
unittests / Test Python 3.13 macos-latest (push) Has been cancelled
unittests / Test Python 3.11 windows-latest (push) Has been cancelled
unittests / Test Python 3.13 windows-latest (push) Has been cancelled
234 lines
8.3 KiB
Python
234 lines
8.3 KiB
Python
from typing import Dict, Set
|
|
from BaseClasses import Location
|
|
|
|
class PeakLocation(Location):
|
|
game = "PEAK"
|
|
|
|
EXCLUDED_LOCATIONS: Set[int] = set()
|
|
|
|
# Main location table mapping location names to Archipelago numeric addresses
|
|
LOCATION_TABLE: Dict[str, int] = {
|
|
"Astronomy Badge": 76100,
|
|
"24 Karat Badge": 76101,
|
|
"Gourmand Badge": 76102,
|
|
"Daredevil Badge": 76103,
|
|
"Mycology Badge": 76104,
|
|
"Megaentomology Badge": 76105,
|
|
"Speed Climber Badge": 76106,
|
|
"Balloon Badge": 76108,
|
|
"Nomad Badge": 76109,
|
|
"Animal Serenading Badge": 76110,
|
|
"Arborist Badge": 76111,
|
|
"Endurance Badge": 76112,
|
|
"Toxicology Badge": 76113,
|
|
"Foraging Badge": 76114,
|
|
"Bouldering Badge": 76115,
|
|
"Bing Bong Badge": 76116,
|
|
"Cooking Badge": 76120,
|
|
"Plunderer Badge": 76121,
|
|
"High Altitude Badge": 76122,
|
|
"Volcanology Badge": 76123,
|
|
"Alpinist Badge": 76124,
|
|
"Esoterica Badge": 76125,
|
|
"Trailblazer Badge": 76126,
|
|
"Beachcomber Badge": 76127,
|
|
"Mentorship Badge": 76128,
|
|
"Cool Cucumber Badge": 76129,
|
|
"Naturalist Badge": 76130,
|
|
"Aeronautics Badge": 76131,
|
|
"Leave No Trace Badge": 76132,
|
|
"Needlepoint Badge": 76133,
|
|
"Knot Tying Badge": 76134,
|
|
"Bundled Up Badge": 76135,
|
|
"Open 1 luggage": 76136,
|
|
"Open 5 luggage": 76410,
|
|
"Open 10 luggage": 76138,
|
|
"Open 15 luggage": 76408,
|
|
"Open 20 luggage": 76409,
|
|
"Open 25 luggage": 76141,
|
|
"Open 30 luggage": 76402,
|
|
"Open 35 luggage": 76411,
|
|
"Open 40 luggage": 76412,
|
|
"Open 45 luggage": 76413,
|
|
"Open 50 luggage": 76142,
|
|
"Open 5 luggage in a single run": 76137,
|
|
"Open 10 luggage in a single run": 76139,
|
|
"Open 20 luggage in a single run": 76140,
|
|
"Beachcomber II Badge (Ascent 1)": 76143,
|
|
"Trailblazer II Badge (Ascent 1)": 76144,
|
|
"Alpinist II Badge (Ascent 1)": 76145,
|
|
"Volcanology II Badge (Ascent 1)": 76146,
|
|
"Beachcomber III Badge (Ascent 2)": 76147,
|
|
"Trailblazer III Badge (Ascent 2)": 76148,
|
|
"Alpinist III Badge (Ascent 2)": 76149,
|
|
"Volcanology III Badge (Ascent 2)": 76150,
|
|
"Beachcomber IV Badge (Ascent 3)": 76151,
|
|
"Trailblazer IV Badge (Ascent 3)": 76152,
|
|
"Alpinist IV Badge (Ascent 3)": 76153,
|
|
"Volcanology IV Badge (Ascent 3)": 76154,
|
|
"Beachcomber V Badge (Ascent 4)": 76155,
|
|
"Trailblazer V Badge (Ascent 4)": 76156,
|
|
"Alpinist V Badge (Ascent 4)": 76157,
|
|
"Volcanology V Badge (Ascent 4)": 76158,
|
|
"Beachcomber VI Badge (Ascent 5)": 76159,
|
|
"Trailblazer VI Badge (Ascent 5)": 76160,
|
|
"Alpinist VI Badge (Ascent 5)": 76161,
|
|
"Volcanology VI Badge (Ascent 5)": 76162,
|
|
"Beachcomber VII Badge (Ascent 6)": 76163,
|
|
"Trailblazer VII Badge (Ascent 6)": 76164,
|
|
"Alpinist VII Badge (Ascent 6)": 76165,
|
|
"Volcanology VII Badge (Ascent 6)": 76166,
|
|
"Beachcomber VIII Badge (Ascent 7)": 76167,
|
|
"Trailblazer VIII Badge (Ascent 7)": 76168,
|
|
"Alpinist VIII Badge (Ascent 7)": 76169,
|
|
"Volcanology VIII Badge (Ascent 7)": 76170,
|
|
"Nomad II Badge (Ascent 1)": 76172,
|
|
"Nomad III Badge (Ascent 2)": 76173,
|
|
"Nomad IV Badge (Ascent 3)": 76174,
|
|
"Nomad V Badge (Ascent 4)": 76175,
|
|
"Nomad VI Badge (Ascent 5)": 76176,
|
|
"Nomad VII Badge (Ascent 6)": 76177,
|
|
"Nomad VIII Badge (Ascent 7)": 76171,
|
|
"Forestry Badge": 76178,
|
|
"Forestry II Badge (Ascent 1)": 76180,
|
|
"Forestry III Badge (Ascent 2)": 76181,
|
|
"Forestry IV Badge (Ascent 3)": 76182,
|
|
"Forestry V Badge (Ascent 4)": 76183,
|
|
"Forestry VI Badge (Ascent 5)": 76184,
|
|
"Forestry VII Badge (Ascent 6)": 76185,
|
|
"Forestry VIII Badge (Ascent 7)": 76179,
|
|
"Undead Encounter Badge": 76186,
|
|
"Web Security Badge": 76187,
|
|
"Advanced Mycology Badge": 76188,
|
|
"Applied Esoterica Badge": 76189,
|
|
"Calcium Intake Badge": 76190,
|
|
"Competitive Eating Badge": 76191,
|
|
"Cryptogastronomy Badge": 76192,
|
|
"Disaster Response Badge": 76193,
|
|
"Mycoacrobatics Badge": 76194,
|
|
"Tread Lightly Badge": 76195,
|
|
"Lone Wolf Badge": 76196,
|
|
"Survivalist Badge": 76197,
|
|
"Happy Camper Badge": 76198,
|
|
"First Aid Badge": 76199,
|
|
"Clutch Badge": 76400,
|
|
"Emergency Preparedness Badge": 76401,
|
|
"Bookworm Badge": 76403,
|
|
"Resourcefulness Badge": 76404,
|
|
"Ultimate Badge": 76405,
|
|
"Participation Badge": 76406,
|
|
|
|
# Acquire Item Locations
|
|
"Acquire Rope Spool": 76200,
|
|
"Acquire Rope Cannon": 76201,
|
|
"Acquire Anti-Rope Spool": 76202,
|
|
"Acquire Anti-Rope Cannon": 76203,
|
|
"Acquire Chain Launcher": 76204,
|
|
"Acquire Piton": 76205,
|
|
"Acquire Magic Bean": 76206,
|
|
"Acquire Parasol": 76207,
|
|
"Acquire Balloon": 76208,
|
|
"Acquire Balloon Bunch": 76209,
|
|
"Acquire Scout Cannon": 76210,
|
|
"Acquire Portable Stove": 76211,
|
|
"Acquire Checkpoint Flag": 76212,
|
|
"Acquire Lantern": 76213,
|
|
"Acquire Flare": 76214,
|
|
"Acquire Torch": 76215,
|
|
"Acquire Cactus": 76216, # [Locked behind Mesa]
|
|
"Acquire Compass": 76217,
|
|
"Acquire Pirate's Compass": 76218,
|
|
"Acquire Binoculars": 76219,
|
|
"Acquire Flying Disc": 76220,
|
|
"Acquire Bandages": 76221,
|
|
"Acquire First-Aid Kit": 76222,
|
|
"Acquire Antidote": 76223,
|
|
"Acquire Heat Pack": 76224,
|
|
"Acquire Cure-All": 76225,
|
|
"Acquire Faerie Lantern": 76226,
|
|
"Acquire Aloe Vera": 76227, # [Locked behind Mesa]
|
|
"Acquire Sunscreen": 76228, # [Locked behind Mesa]
|
|
"Acquire Scout Effigy": 76229,
|
|
"Acquire Cursed Skull": 76230,
|
|
"Acquire Pandora's Lunchbox": 76231,
|
|
"Acquire Ancient Idol": 76232, # [Locked behind Mesa]
|
|
"Acquire Bugle of Friendship": 76233,
|
|
"Acquire Bugle": 76234,
|
|
"Acquire Remedy Fungus": 76235,
|
|
"Acquire Shelf Shroom": 76236,
|
|
"Acquire Bounce Shroom": 76237,
|
|
"Acquire Trail Mix": 76238,
|
|
"Acquire Granola Bar": 76239,
|
|
"Acquire Scout Cookies": 76240,
|
|
"Acquire Airline Food": 76241,
|
|
"Acquire Energy Drink": 76242,
|
|
"Acquire Sports Drink": 76243,
|
|
"Acquire Big Lollipop": 76244,
|
|
"Acquire Button Shroom": 76245,
|
|
"Acquire Bugle Shroom": 76246,
|
|
"Acquire Cluster Shroom": 76247,
|
|
"Acquire Chubby Shroom": 76248,
|
|
"Acquire Conch": 76249,
|
|
"Acquire Yellow Berrynana Peel": 76250,
|
|
"Acquire Dynamite": 76251,
|
|
"Acquire Bing Bong": 76252,
|
|
"Acquire Red Crispberry": 76253,
|
|
"Acquire Green Crispberry": 76254,
|
|
"Acquire Yellow Crispberry": 76255,
|
|
"Acquire Coconut": 76256,
|
|
"Acquire Coconut Half": 76257,
|
|
"Acquire Brown Berrynana": 76258,
|
|
"Acquire Blue Berrynana": 76259,
|
|
"Acquire Pink Berrynana": 76260,
|
|
"Acquire Yellow Berrynana": 76261,
|
|
"Acquire Orange Winterberry": 76262, # [Locked behind Alpine]
|
|
"Acquire Yellow Winterberry": 76263,
|
|
"Acquire Medicinal Root": 76264,
|
|
"Acquire Guidebook": 76265,
|
|
"Acquire Strange Gem": 76266,
|
|
"Acquire Egg": 76267,
|
|
"Acquire Cooked Bird": 76268,
|
|
"Acquire Honeycomb": 76269,
|
|
"Acquire Beehive": 76270,
|
|
"Acquire Red Prickleberry": 76271,
|
|
"Acquire Gold Prickleberry": 76272,
|
|
"Acquire Big Egg": 76273,
|
|
"Acquire Scorpion": 76274,
|
|
"Acquire Book of Bones": 76275,
|
|
"Acquire Red Shroomberry": 76276, # [Locked behind Roots]
|
|
"Acquire Blue Shroomberry": 76277, # [Locked behind Roots]
|
|
"Acquire Yellow Shroomberry": 76278, # [Locked behind Roots]
|
|
"Acquire Green Shroomberry": 76279, # [Locked behind Roots]
|
|
"Acquire Purple Shroomberry": 76280, # [Locked behind Roots]
|
|
"Acquire Mandrake": 76281, # [Locked behind Roots]
|
|
"Acquire Marshmallow": 76282,
|
|
"Acquire Glizzy": 76283,
|
|
"Acquire Rescue Claw": 76284,
|
|
"Acquire Fortified Milk": 76285,
|
|
"Acquire Cloud Fungus": 76286,
|
|
"Acquire Purple Kingberry": 76287,
|
|
"Acquire Yellow Kingberry": 76288,
|
|
"Acquire Green Kingberry": 76289,
|
|
"Acquire Napberry": 76290, # [Locked behind Alpine]
|
|
"Acquire Black Clusterberry": 76291,
|
|
"Acquire Red Clusterberry": 76292,
|
|
"Acquire Yellow Clusterberry": 76293,
|
|
"Acquire Scoutmaster's Bugle": 76294,
|
|
"Acquire Tick": 76295,
|
|
"Acquire Pink Berrynana Peel": 76296,
|
|
"Acquire Blue Berrynana Peel": 76297,
|
|
"Acquire Brown Berrynana Peel": 76298,
|
|
"Acquire Blowgun": 76299,
|
|
|
|
# Peak Badge
|
|
"Peak Badge": 76305,
|
|
|
|
# Scout Sashe Locations
|
|
"Rabbit Scout sashe (Ascent 1)": 76310,
|
|
"Raccoon Scout sashe (Ascent 2)": 76311,
|
|
"Mule Scout sashe (Ascent 3)": 76312,
|
|
"Kangaroo Scout sashe (Ascent 4)": 76313,
|
|
"Owl Scout sashe (Ascent 5)": 76314,
|
|
"Wolf Scout sashe (Ascent 6)": 76315,
|
|
"Goat Scout sashe (Ascent 7)": 76316,
|
|
} |