From d4eae333a8d8a96452bbf3617aa85b50466c11a7 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Thu, 1 Oct 2026 05:05:11 -0400 Subject: feat: concise table/machine names, casino command shortcuts, remove payout video poker command --- internal/game/game.go | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'internal/game/game.go') diff --git a/internal/game/game.go b/internal/game/game.go index 6066179..f1855dc 100644 --- a/internal/game/game.go +++ b/internal/game/game.go @@ -615,6 +615,15 @@ func (g *Game) handleGameCommand(sess *net.Session, input string) { } cmd := parts[0] + // Seated casino players may shorten any casino verb to an unambiguous + // prefix (b 1000 -> bet 1000). Exact commands always win, so movement and + // the existing short aliases are never shadowed. + if canon, ok := g.casinoAbbreviation(sess, cmd); ok { + cmd = canon + parts[0] = canon + input = strings.Join(parts, " ") + } + if len(parts) == 1 { switch cmd { case "equip", "eq", "equipment", "wear", "wield": -- cgit v1.2.3