Clique: Refactors and Additional Features supported by v1.5 (#1989)

This commit is contained in:
Zach Parks
2023-07-19 17:16:03 -05:00
committed by GitHub
parent 1a29caffcb
commit ca46a64abc
8 changed files with 170 additions and 64 deletions

View File

@@ -1,6 +1,6 @@
from typing import Dict
from Options import Option, Toggle
from Options import Choice, Option, Toggle
class HardMode(Toggle):
@@ -8,6 +8,27 @@ class HardMode(Toggle):
display_name = "Hard Mode"
class ButtonColor(Choice):
"""Customize your button! Now available in 12 unique colors."""
display_name = "Button Color"
option_red = 0
option_orange = 1
option_yellow = 2
option_green = 3
option_cyan = 4
option_blue = 5
option_magenta = 6
option_purple = 7
option_pink = 8
option_brown = 9
option_white = 10
option_black = 11
clique_options: Dict[str, type(Option)] = {
"hard_mode": HardMode
"color": ButtonColor,
"hard_mode": HardMode,
# DeathLink is always on. Always.
# "death_link": DeathLink,
}