diff options
| author | historia <[not public]> | 2026-07-04 19:32:05 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-07-04 19:32:05 -0400 |
| commit | 7b009e904524f30cbff6346730e8d8fe4b046a6b (patch) | |
| tree | 2e1b364f9efc4f82ebf67c492642951dfcc13b4b /internal/game/cmd_score.go | |
| parent | a5d4ead1795882d25da7eda53680d2a84590693d (diff) | |
| download | thehouseoficarus-7b009e904524f30cbff6346730e8d8fe4b046a6b.tar.gz | |
feat: add casino chips, change drops to chips
Diffstat (limited to 'internal/game/cmd_score.go')
| -rw-r--r-- | internal/game/cmd_score.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/game/cmd_score.go b/internal/game/cmd_score.go index 0554f32..b493e80 100644 --- a/internal/game/cmd_score.go +++ b/internal/game/cmd_score.go @@ -98,9 +98,10 @@ func (g *Game) doScore(sess *net.Session) { content(row1) creditsStr := g.colorize(sess, "credits_pickup", formatInt(p.Credits)) + chipsStr := g.colorize(sess, "chips_pickup", formatInt(countChips(p))) styleStr := color.Render(mode, color.Parse("4B"), fmt.Sprintf("Style: %s", p.AttackStyle)) invStr := fmt.Sprintf("Inv: %d/28", 28-p.FreeSlots()) - row2 := padded("Credits: "+creditsStr, 20) + padded(styleStr, 24) + invStr + row2 := padded("Credits: "+creditsStr, 19) + padded("Chips: "+chipsStr, 16) + padded(styleStr, 22) + invStr content(row2) gap() |
