diff options
| author | historia <[not public]> | 2026-07-18 03:40:02 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-07-18 03:40:02 -0400 |
| commit | db8ca1fe26a36b78074a424ae657b2cbb9b3af19 (patch) | |
| tree | 9219f320de74f27cb5491e3cb6b0258c5713f0cb /internal/game/cmd_bank.go | |
| parent | 467944adfa41673a3758d9622873abbe7ae35a49 (diff) | |
| download | thehouseoficarus-db8ca1fe26a36b78074a424ae657b2cbb9b3af19.tar.gz | |
feat(admin): admin color page more accurately represents game
Diffstat (limited to 'internal/game/cmd_bank.go')
| -rw-r--r-- | internal/game/cmd_bank.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/game/cmd_bank.go b/internal/game/cmd_bank.go index 06ae828..3c4cac3 100644 --- a/internal/game/cmd_bank.go +++ b/internal/game/cmd_bank.go @@ -120,7 +120,7 @@ func (g *Game) showBankBrowse(sess *net.Session) { } if p.BankedCredits > 0 { - sess.WriteLine(g.colorize(sess, "credits_pickup", fmt.Sprintf("Banked credits: %s", formatInt(p.BankedCredits)))) + sess.WriteLine(g.colorize(sess, "currency_pickup", fmt.Sprintf("Banked credits: %s", formatInt(p.BankedCredits)))) } } @@ -353,7 +353,7 @@ func (g *Game) doBankDepositCredits(sess *net.Session, parts []string) { p.Credits -= amount p.BankedCredits += amount g.AccountStore.SaveCharacter(p) - sess.WriteLine(g.colorize(sess, "credits_pickup", fmt.Sprintf("You deposit %s credits. (Banked: %s)", formatInt(amount), formatInt(p.BankedCredits)))) + sess.WriteLine(g.colorize(sess, "currency_pickup", fmt.Sprintf("You deposit %s credits. (Banked: %s)", formatInt(amount), formatInt(p.BankedCredits)))) g.showBankBrowse(sess) } @@ -375,7 +375,7 @@ func (g *Game) doBankWithdrawCredits(sess *net.Session, parts []string) { p.BankedCredits -= amount p.Credits += amount g.AccountStore.SaveCharacter(p) - sess.WriteLine(g.colorize(sess, "credits_pickup", fmt.Sprintf("You withdraw %s credits.", formatInt(amount)))) + sess.WriteLine(g.colorize(sess, "currency_pickup", fmt.Sprintf("You withdraw %s credits.", formatInt(amount)))) g.showBankBrowse(sess) } |
