aboutsummaryrefslogtreecommitdiff
path: root/internal/casino/video_poker_config.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-10-01 05:05:11 -0400
committerhistoria <[not public]>2026-10-01 05:05:11 -0400
commitd4eae333a8d8a96452bbf3617aa85b50466c11a7 (patch)
tree90d4cf075fe5467b35e5cc53ff3ee30fc4ee1feb /internal/casino/video_poker_config.go
parent299b5b67aa80ba2539d7a91c60943060b0426b45 (diff)
downloadthehouseoficarus-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.go18
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"