aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_shop.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/cmd_shop.go')
-rw-r--r--internal/game/cmd_shop.go8
1 files changed, 4 insertions, 4 deletions
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 {