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
31 lines
959 B
Python
31 lines
959 B
Python
# THIS IS AN AUTO-GENERATED FILE. DO NOT MODIFY.
|
|
# data_gen_templates/__init__.py
|
|
#
|
|
# Copyright (C) 2025 James Petersen <m@jamespetersen.ca>
|
|
# Licensed under MIT. See LICENSE
|
|
|
|
from enum import StrEnum
|
|
|
|
class Hm(StrEnum):
|
|
CUT = "HM01 Cut"
|
|
FLY = "HM02 Fly"
|
|
SURF = "HM03 Surf"
|
|
STRENGTH = "HM04 Strength"
|
|
DEFOG = "HM05 Defog"
|
|
ROCK_SMASH = "HM06 Rock Smash"
|
|
WATERFALL = "HM07 Waterfall"
|
|
ROCK_CLIMB = "HM08 Rock Climb"
|
|
FLASH = "TM70 Flash"
|
|
|
|
def badge_item(self) -> str | None:
|
|
match self:
|
|
case Hm.CUT: return "Forest Badge"
|
|
case Hm.FLY: return "Cobble Badge"
|
|
case Hm.SURF: return "Fen Badge"
|
|
case Hm.STRENGTH: return "Mine Badge"
|
|
case Hm.DEFOG: return "Relic Badge"
|
|
case Hm.ROCK_SMASH: return "Coal Badge"
|
|
case Hm.WATERFALL: return "Beacon Badge"
|
|
case Hm.ROCK_CLIMB: return "Icicle Badge"
|
|
case _: return None
|