aboutsummaryrefslogtreecommitdiff
path: root/internal/game/action_identify.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-21 01:05:35 -0400
committerhistoria <[not public]>2026-06-21 01:05:35 -0400
commitc36c1dc0c65e65b4d6ee53df6bbcc3a860eb6e4b (patch)
treeea5b796d7b8ce6ae422b30542e0da97e818207e8 /internal/game/action_identify.go
parent470bc5bd99b793e46305310b5fbeb3068eba45f1 (diff)
downloadthehouseoficarus-c36c1dc0c65e65b4d6ee53df6bbcc3a860eb6e4b.tar.gz
Added %i, %n, %b to production skill messages to consistent color inputs, item names, and byproducts
Diffstat (limited to 'internal/game/action_identify.go')
-rw-r--r--internal/game/action_identify.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/action_identify.go b/internal/game/action_identify.go
index fd7df20..faca2f5 100644
--- a/internal/game/action_identify.go
+++ b/internal/game/action_identify.go
@@ -60,7 +60,7 @@ func (g *Game) advanceIdentify(sess *net.Session, p *player.Player) {
totalXP := scrapCount * xpPer
junkName := junkID
if def, err := g.ItemStore.Load(junkID); err == nil {
- junkName = def.Name
+ junkName = g.itemColorize(sess, def, def.Name)
}
msg := fmt.Sprintf("The altar hums. You identify %d scrap into %d %s.", scrapCount, totalJunk, junkName)