From 15b7e221b799ef107dec44ecdb294026dfd3d059 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 24 Jun 2026 22:55:35 -0400 Subject: refactor: pulled techs out to yaml files, unified numerous combat functions, broke up game object --- internal/game/action_use.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/game/action_use.go') diff --git a/internal/game/action_use.go b/internal/game/action_use.go index 0c7d45c..dde838f 100644 --- a/internal/game/action_use.go +++ b/internal/game/action_use.go @@ -110,7 +110,7 @@ func (g *Game) advanceUse(sess *net.Session, p *player.Player) { } line := fmt.Sprintf("You make a %s.", g.itemColorize(sess, rewardDef, itemName)) if cfg.XP > 0 && p.OptionBool("xp_drops") { - line += fmt.Sprintf(" (+%dxp %s)", cfg.XP, player.SkillAbbr[player.SkillName(cfg.Skill)]) + line += g.formatXpDropSingle(sess, p, player.SkillName(cfg.Skill), cfg.XP) } sess.WriteLine(line) -- cgit v1.2.3