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/render_prompt.go | |
| parent | a5d4ead1795882d25da7eda53680d2a84590693d (diff) | |
| download | thehouseoficarus-7b009e904524f30cbff6346730e8d8fe4b046a6b.tar.gz | |
feat: add casino chips, change drops to chips
Diffstat (limited to 'internal/game/render_prompt.go')
| -rw-r--r-- | internal/game/render_prompt.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/game/render_prompt.go b/internal/game/render_prompt.go index 68f1a9a..ad1ba9c 100644 --- a/internal/game/render_prompt.go +++ b/internal/game/render_prompt.go @@ -37,6 +37,7 @@ func (g *Game) expandPromptVars(sess *net.Session, text string) string { text = strings.ReplaceAll(text, "%b", fmt.Sprintf("%.1f", p.Battery)) text = strings.ReplaceAll(text, "%B", fmt.Sprintf("%.0f", p.MaxBattery())) text = strings.ReplaceAll(text, "%c", fmt.Sprint(p.Credits)) + text = strings.ReplaceAll(text, "%k", fmt.Sprint(countChips(p))) text = strings.ReplaceAll(text, "%i", fmt.Sprint(p.FreeSlots())) text = strings.ReplaceAll(text, "%s", attackStyleShort(p.AttackStyle)) text = strings.ReplaceAll(text, "%S", attackStyleLong(p.AttackStyle)) |
