From c36c1dc0c65e65b4d6ee53df6bbcc3a860eb6e4b Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Sun, 21 Jun 2026 01:05:35 -0400 Subject: Added %i, %n, %b to production skill messages to consistent color inputs, item names, and byproducts --- internal/game/game.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'internal/game/game.go') diff --git a/internal/game/game.go b/internal/game/game.go index 0dd5bdc..8bf289b 100644 --- a/internal/game/game.go +++ b/internal/game/game.go @@ -284,7 +284,9 @@ func (g *Game) ProcessQueuedCommands() { if len(parts) > 0 { g.executeCommand(qc.Session, parts[0], parts[1:], raw) } - g.writePrompt(qc.Session) + if p.BackgroundAction == nil { + g.writePrompt(qc.Session) + } } delete(g.freeQueue, p.Name) @@ -322,7 +324,7 @@ func (g *Game) ProcessQueuedCommands() { } isBusy := p.Action != nil || len(p.WalkSequence) > 0 || combat.GetCombat(p.Name) != nil || p.MoveTicks > 0 _, isResting := g.restTimers[p.Name] - if !isResting && !isBusy { + if !isResting && !isBusy && qc.Session.State == net.StateGame { g.writePrompt(qc.Session) } } -- cgit v1.2.3