From a2cbc04f86508708daa09affa5e9d73cc689b2ba Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Mon, 3 Aug 2026 17:15:50 -0400 Subject: feat: new color 'command', color tag system implemented --- internal/game/act_gather.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'internal/game/act_gather.go') diff --git a/internal/game/act_gather.go b/internal/game/act_gather.go index 8743a46..0701fc4 100644 --- a/internal/game/act_gather.go +++ b/internal/game/act_gather.go @@ -6,7 +6,6 @@ import ( "strings" "thehouseoficarus/internal/behavior" - "thehouseoficarus/internal/color" "thehouseoficarus/internal/engine" "thehouseoficarus/internal/net" "thehouseoficarus/internal/object" @@ -248,7 +247,7 @@ func (g *Game) advanceGather(sess *net.Session, p *player.Player) { msg = fmt.Sprintf("You manage to get some %s.", coloredName) } else { msg = strings.ReplaceAll(msg, "%n", coloredName) - msg = color.ExpandTags(g.colorMode(sess), msg) + msg = g.expandTags(sess, msg) } if xp > 0 && p.OptionBool("xp_drops") { msg += g.formatXpDropSingle(sess, p, player.SkillName(cfg.Skill), xp) -- cgit v1.2.3