diff options
Diffstat (limited to 'internal/game/action_fletch.go')
| -rw-r--r-- | internal/game/action_fletch.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/internal/game/action_fletch.go b/internal/game/action_fletch.go index 25f2966..ddb4d2c 100644 --- a/internal/game/action_fletch.go +++ b/internal/game/action_fletch.go @@ -119,6 +119,14 @@ func (g *Game) startTimedFletch(sess *net.Session, p *player.Player, recipe *act } p.BackgroundActionState = &ActionState{Type: ActionFletching, TargetName: outputName} + if g.Hub != nil { + for _, other := range g.Hub.PlayersInRoom(p.RoomID) { + if other != sess && other.Player != nil { + other.WriteLine(g.colorize(other, "broadcast", fmt.Sprintf("\n%s starts fletching.", p.Name))) + } + } + } + sess.WriteLine(fmt.Sprintf("\nYou begin fletching %s.", outputName)) } |
