artemis/titles/cm/const.py

14 lines
295 B
Python
Raw Normal View History

2023-03-09 16:38:58 +00:00
class CardMakerConstants:
2023-03-03 22:46:29 +00:00
GAME_CODE = "SDED"
2023-03-06 15:06:17 +00:00
CONFIG_NAME = "cardmaker.yaml"
2023-03-03 22:46:29 +00:00
VER_CARD_MAKER = 0
VER_CARD_MAKER_135 = 1
2023-03-03 22:46:29 +00:00
VERSION_NAMES = ("Card Maker 1.30", "Card Maker 1.35")
2023-03-03 22:46:29 +00:00
@classmethod
def game_ver_to_string(cls, ver: int):
return cls.VERSION_NAMES[ver]