diff options
Diffstat (limited to 'internal/casino/video_poker.go')
| -rw-r--r-- | internal/casino/video_poker.go | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/internal/casino/video_poker.go b/internal/casino/video_poker.go index 36fdc35..8c9f66c 100644 --- a/internal/casino/video_poker.go +++ b/internal/casino/video_poker.go @@ -128,7 +128,6 @@ func (t *videoPokerTable) hintsLocked(name string) []MenuCommand { } else { commands = append(commands, MenuCommand{Command: "game <name>", Desc: t.settings.GameChoices()}, - MenuCommand{Command: "payout low|normal|full", Desc: "Set the cabinet-wide pay quality"}, MenuCommand{Command: "denom <1|10|50>", Desc: "Credits per coin"}, MenuCommand{Command: "hands <count>", Desc: "Supported hand counts are announced by hands"}, ) @@ -406,24 +405,6 @@ func (t *videoPokerTable) action(name, action string) []Event { p.config, p.variant, p.hands = cfg, variant, CabinetHandCounts(cfg.Cabinet, variant)[0] p.next, p.current, p.lines, p.remaining, p.result = nil, nil, nil, nil, "" return t.statusLocked(name, true) - case "payout": - if len(fields) != 2 { - break - } - tier := strings.ToLower(fields[1]) - if tier != "low" && tier != "normal" && tier != "full" { - break - } - cfg := (VideoPokerConfig{Cabinet: p.config.Cabinet, Payout: tier, Variant: p.variant}).Normalize() - if err := cfg.Validate(); err != nil { - return []Event{t.private(name, err.Error())} - } - t.settings.Payout = tier - t.settings.PayTable = "" - t.settings = t.settings.Normalize() - p.config = cfg - p.next, p.current, p.lines, p.remaining, p.result = nil, nil, nil, nil, "" - return t.statusLocked(name, true) case "feature": if len(fields) != 2 || cabinetFeature(t.settings.Cabinet) == "" || fields[1] != "on" && fields[1] != "off" { break @@ -431,7 +412,7 @@ func (t *videoPokerTable) action(name, action string) []Event { p.featureOn = fields[1] == "on" return t.statusLocked(name, false) } - return []Event{t.private(name, "Use bet [1-4|max], deal, game <name>, payout low|normal|full, denom 1|10|50, hands <count>, paytable, or feature on|off on a bonus cabinet.")} + return []Event{t.private(name, "Use bet [1-4|max], deal, game <name>, denom 1|10|50, hands <count>, paytable, or feature on|off on a bonus cabinet.")} } func (t *videoPokerTable) drawLocked(name string, p *pokerPlayer) []Event { |
