All checks were successful
Ruff Lint / lint (pull_request) Successful in 12s
Closes #146 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
37 lines
1.0 KiB
Python
37 lines
1.0 KiB
Python
"""
|
|
Shared Refractor Constants
|
|
|
|
Single source of truth for tier names and colors used across the refractor
|
|
system. All consumers (status view, notifications, player view) import from
|
|
here to prevent silent divergence.
|
|
"""
|
|
|
|
# Human-readable display names for each tier number.
|
|
TIER_NAMES = {
|
|
0: "Base Card",
|
|
1: "Base Chrome",
|
|
2: "Refractor",
|
|
3: "Gold Refractor",
|
|
4: "Superfractor",
|
|
}
|
|
|
|
# Embed accent colors for the /refractor status view.
|
|
# These use muted/metallic tones suited to a card-list display.
|
|
STATUS_TIER_COLORS = {
|
|
0: 0x95A5A6, # slate grey
|
|
1: 0xBDC3C7, # silver/chrome
|
|
2: 0x3498DB, # refractor blue
|
|
3: 0xF1C40F, # gold
|
|
4: 0x1ABC9C, # teal superfractor
|
|
}
|
|
|
|
# Embed accent colors for tier-up notification embeds.
|
|
# These use brighter/more celebratory tones to signal a milestone event.
|
|
# T2 is gold (not blue) to feel like an achievement unlock, not a status indicator.
|
|
NOTIF_TIER_COLORS = {
|
|
1: 0x2ECC71, # green
|
|
2: 0xF1C40F, # gold
|
|
3: 0x9B59B6, # purple
|
|
4: 0x1ABC9C, # teal (superfractor)
|
|
}
|