From db8ca1fe26a36b78074a424ae657b2cbb9b3af19 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Sat, 18 Jul 2026 03:40:02 -0400 Subject: feat(admin): admin color page more accurately represents game --- internal/game/cmd_shop.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'internal/game/cmd_shop.go') diff --git a/internal/game/cmd_shop.go b/internal/game/cmd_shop.go index e47c84d..e9f16b8 100644 --- a/internal/game/cmd_shop.go +++ b/internal/game/cmd_shop.go @@ -209,8 +209,8 @@ func (g *Game) showShopInventory(sess *net.Session, mob *world.MobInstance) { t.Rows = append(t.Rows, []string{ g.itemColorize(sess, c.def, c.name), fmt.Sprintf("%d", c.stock), - g.colorize(sess, "credits_pickup", fmt.Sprintf("%d cr", value)), - g.colorize(sess, "credits_pickup", sellStr), + g.colorize(sess, "currency_pickup", fmt.Sprintf("%d cr", value)), + g.colorize(sess, "currency_pickup", sellStr), }) } for _, line := range t.Render(unicode, wrapWidth) { @@ -292,7 +292,7 @@ func (g *Game) doShopBuy(sess *net.Session, mob *world.MobInstance, input string g.AccountStore.SaveCharacter(p) itemColor := g.itemColorize(sess, c.def, c.name) - credits := g.colorize(sess, "credits_pickup", fmt.Sprintf("%d", total)) + credits := g.colorize(sess, "currency_pickup", fmt.Sprintf("%d", total)) if taken == 1 { sess.WriteLine(fmt.Sprintf("You buy a %s for %s credits.", itemColor, credits)) } else { @@ -355,7 +355,7 @@ func (g *Game) doShopSell(sess *net.Session, mob *world.MobInstance, input strin g.MobStore.ShopAdd(mob.InstanceID, match.ID, actualQty) g.AccountStore.SaveCharacter(p) - credits := g.colorize(sess, "credits_pickup", fmt.Sprintf("%d", total)) + credits := g.colorize(sess, "currency_pickup", fmt.Sprintf("%d", total)) if actualQty == 1 { sess.WriteLine(fmt.Sprintf("You sell a %s for %s credits.", itemColor, credits)) } else { -- cgit v1.2.3