diff options
| author | historia <[not public]> | 2026-06-21 01:05:35 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-21 01:05:35 -0400 |
| commit | c36c1dc0c65e65b4d6ee53df6bbcc3a860eb6e4b (patch) | |
| tree | ea5b796d7b8ce6ae422b30542e0da97e818207e8 /internal/game/action_gather.go | |
| parent | 470bc5bd99b793e46305310b5fbeb3068eba45f1 (diff) | |
| download | thehouseoficarus-c36c1dc0c65e65b4d6ee53df6bbcc3a860eb6e4b.tar.gz | |
Added %i, %n, %b to production skill messages to consistent color inputs, item names, and byproducts
Diffstat (limited to 'internal/game/action_gather.go')
| -rw-r--r-- | internal/game/action_gather.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/game/action_gather.go b/internal/game/action_gather.go index 9b47de2..00c9070 100644 --- a/internal/game/action_gather.go +++ b/internal/game/action_gather.go @@ -378,8 +378,9 @@ func (g *Game) checkBirdNest(sess *net.Session, p *player.Player, cfg *action.Ga } nestName := "bird's nest" - if def, err := g.ItemStore.Load(birdsNestItemID); err == nil { - nestName = def.Name + nestDef, _ := g.ItemStore.Load(birdsNestItemID) + if nestDef != nil { + nestName = g.itemColorize(sess, nestDef, nestDef.Name) } freeSlot := -1 |
