From 0ba388bbe229dd1ccfcb0831d21a5542ae0935f1 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Thu, 1 Oct 2026 04:26:20 -0400 Subject: feat: video poker machines added to casino --- internal/game/look_entities.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'internal/game/look_entities.go') diff --git a/internal/game/look_entities.go b/internal/game/look_entities.go index e120c9c..c38b6e7 100644 --- a/internal/game/look_entities.go +++ b/internal/game/look_entities.go @@ -231,6 +231,10 @@ func (g *Game) showRoomCasinos(sess *net.Session, room *world.Room) []string { var lines []string for _, table := range room.CasinoTables { cfg := table.Normalize() + if cfg.Game == casino.GameVideoPoker { + lines = append(lines, g.colorize(sess, "casino_action", cfg.Label()+" cabinet | denom 1/10/50 | one player"), " "+g.colorize(sess, "command", "play "+cfg.ID)) + continue + } label := fmt.Sprintf("%s | Limits %d-%d | 0/%d seated", cfg.Label(), cfg.MinBet, cfg.MaxBet, cfg.MaxPlayers) if g.Casino != nil { if live := g.Casino.Table(room.ID, table.ID); live != nil { -- cgit v1.2.3