aboutsummaryrefslogtreecommitdiff
path: root/internal/casino/video_poker_config.go
diff options
context:
space:
mode:
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"