diff options
| author | historia <[not public]> | 2026-06-21 01:05:35 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-21 01:05:35 -0400 |
| commit | c36c1dc0c65e65b4d6ee53df6bbcc3a860eb6e4b (patch) | |
| tree | ea5b796d7b8ce6ae422b30542e0da97e818207e8 /internal/game/cmd_bank.go | |
| parent | 470bc5bd99b793e46305310b5fbeb3068eba45f1 (diff) | |
| download | thehouseoficarus-c36c1dc0c65e65b4d6ee53df6bbcc3a860eb6e4b.tar.gz | |
Added %i, %n, %b to production skill messages to consistent color inputs, item names, and byproducts
Diffstat (limited to 'internal/game/cmd_bank.go')
| -rw-r--r-- | internal/game/cmd_bank.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/game/cmd_bank.go b/internal/game/cmd_bank.go index 5f9067d..d95f7c0 100644 --- a/internal/game/cmd_bank.go +++ b/internal/game/cmd_bank.go @@ -101,9 +101,10 @@ func (g *Game) showBankBrowse(sess *net.Session) { }) for _, e := range entries { + def, _ := g.ItemStore.Load(e.id) t.Rows = append(t.Rows, []string{ fmt.Sprintf("%d", e.slot+1), - g.colorize(sess, "item", e.name), + g.itemColorize(sess, def, e.name), fmt.Sprintf("%d", e.qty), }) } |
