diff options
| author | historia <[not public]> | 2026-10-01 05:05:11 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-10-01 05:05:11 -0400 |
| commit | d4eae333a8d8a96452bbf3617aa85b50466c11a7 (patch) | |
| tree | 90d4cf075fe5467b35e5cc53ff3ee30fc4ee1feb /internal/casino/video_poker_config.go | |
| parent | 299b5b67aa80ba2539d7a91c60943060b0426b45 (diff) | |
| download | thehouseoficarus-d4eae333a8d8a96452bbf3617aa85b50466c11a7.tar.gz | |
feat: concise table/machine names, casino command shortcuts, remove payout video poker command
Diffstat (limited to 'internal/casino/video_poker_config.go')
| -rw-r--r-- | internal/casino/video_poker_config.go | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/internal/casino/video_poker_config.go b/internal/casino/video_poker_config.go index 78a772d..8d67252 100644 --- a/internal/casino/video_poker_config.go +++ b/internal/casino/video_poker_config.go @@ -145,6 +145,24 @@ func (c VideoPokerConfig) CabinetName() string { return "Classic Video Poker" } +// CabinetAliases lists the single-token names that address this cabinet type +// in the play menu, beyond the room's own table id. "video poker" itself means +// the classic cabinet so a lone lounge stays reachable without a specific +// machine name. +func (c VideoPokerConfig) CabinetAliases() []string { + switch c.Normalize().Cabinet { + case CabinetUXSingle: + return []string{"ux", "ultimate_x", "ultimate_x_single"} + case CabinetUXMulti: + return []string{"uxm", "ultimate_x_multi", "ultimate_x_multi_hand"} + case CabinetSuperTimesPay: + return []string{"stp", "super_times", "super_times_pay"} + case CabinetHotRoll: + return []string{"hr", "hot_roll"} + } + return []string{"vp", "poker", "classic", "video_poker"} +} + func (c VideoPokerConfig) CabinetLabel() string { c = c.Normalize() return c.CabinetName() + " / " + c.Payout + " pay" |
