diff options
| author | historia <[not public]> | 2026-07-17 18:36:31 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-07-17 18:36:31 -0400 |
| commit | e6d0d46ac9977e77c7f19f41121ec466a3c53e56 (patch) | |
| tree | 86063e0dfda2206ccdda1b8e1070dc4da7dea9d9 /internal/game/act_state.go | |
| parent | 6e6c4a157564100249bb58f412485055bb2d10cf (diff) | |
| download | thehouseoficarus-e6d0d46ac9977e77c7f19f41121ec466a3c53e56.tar.gz | |
feat: update mob flee mechanics with new energy system
Diffstat (limited to 'internal/game/act_state.go')
| -rw-r--r-- | internal/game/act_state.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/game/act_state.go b/internal/game/act_state.go index 335ecfb..9ee4d27 100644 --- a/internal/game/act_state.go +++ b/internal/game/act_state.go @@ -19,6 +19,9 @@ func (g *Game) playerActionDisplay(p *player.Player) string { if p.MoveTicks > 0 { return "heading " + p.MoveDirection } + if p.EscapeDir != "" { + return "preparing to flee" + } if len(p.WalkSequence) > 0 { return "walking somewhere with a purpose!" } |
