aboutsummaryrefslogtreecommitdiff
path: root/internal/game/action_gather.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-24 22:55:35 -0400
committerhistoria <[not public]>2026-06-24 22:55:35 -0400
commit15b7e221b799ef107dec44ecdb294026dfd3d059 (patch)
tree3748e464a77f0f082bea1567e9d6990052054961 /internal/game/action_gather.go
parent9d4b799db4868bcab291b83599ff088763cd4ed6 (diff)
downloadthehouseoficarus-15b7e221b799ef107dec44ecdb294026dfd3d059.tar.gz
refactor: pulled techs out to yaml files, unified numerous combat functions, broke up game object
Diffstat (limited to 'internal/game/action_gather.go')
-rw-r--r--internal/game/action_gather.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/action_gather.go b/internal/game/action_gather.go
index 135a7be..fe3d2a9 100644
--- a/internal/game/action_gather.go
+++ b/internal/game/action_gather.go
@@ -218,7 +218,7 @@ func (g *Game) advanceGather(sess *net.Session, p *player.Player) {
msg = color.ExpandTags(g.colorMode(sess), msg)
}
if xp > 0 && p.OptionBool("xp_drops") {
- msg += g.colorize(sess, "xp", fmt.Sprintf(" (+%dxp %s)", xp, player.SkillAbbr[player.SkillName(cfg.Skill)]))
+ msg += g.formatXpDropSingle(sess, p, player.SkillName(cfg.Skill), xp)
}
sess.WriteLine(msg)