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_burn.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/game/action_burn.go') diff --git a/internal/game/action_burn.go b/internal/game/action_burn.go index 03a5572..e86887b 100644 --- a/internal/game/action_burn.go +++ b/internal/game/action_burn.go @@ -244,7 +244,7 @@ func (g *Game) advanceBurn(sess *net.Session, p *player.Player) { msg := g.colorize(sess, "fire", "You manage to get a fire going!") if xp > 0 && p.OptionBool("xp_drops") { - msg += g.colorize(sess, "xp", fmt.Sprintf(" (+%dxp %s)", xp, player.SkillAbbr[player.Firemaking])) + msg += g.formatXpDropSingle(sess, p, player.Firemaking, xp) } sess.WriteLine(msg) @@ -295,7 +295,7 @@ func (g *Game) advanceStoke(sess *net.Session, p *player.Player) { msg := g.colorize(sess, "fire", fmt.Sprintf("You throw %s onto the fire.", g.itemColorize(sess, logDef, name))) if xp > 0 && p.OptionBool("xp_drops") { - msg += g.colorize(sess, "xp", fmt.Sprintf(" (+%dxp %s)", xp, player.SkillAbbr[player.Firemaking])) + msg += g.formatXpDropSingle(sess, p, player.Firemaking, xp) } sess.WriteLine(msg) -- cgit v1.2.3