tvl-depot/users/grfn/xanthous/src/Xanthous
Griffin Smith 21c218542c fix(gs/xanthous): Check for reaching destination in AI
Because floating points, it's possible that a creature has reached their
destination even if the *progress* to that destination is at 0 - if that
happens, they should pick a new destination regardless. This fixes the
issue where creatures would occasionally get "stuck" and never move
after wandering around for a bit.

Change-Id: I01a11ce4bd448c25a818c886825e4fad56dffe03
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3885
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
2021-11-20 21:49:30 +00:00
..
AI fix(gs/xanthous): Check for reaching destination in AI 2021-11-20 21:49:30 +00:00
App feat(gs/xanthous): Default to the current save file 2021-11-06 15:52:02 +00:00
Data refactor(gs/xanthous): Use a Word for the level number 2021-11-06 17:34:46 +00:00
Entities feat(gs/xanthous): Add a Husk creature, with limited generation 2021-11-13 15:57:18 +00:00
Game fix(gs/xanthous): Don't take up half-width for prompts 2021-11-08 03:31:51 +00:00
Generators feat(gs/xanthous): Add a Husk creature, with limited generation 2021-11-13 15:57:18 +00:00
Messages refactor(users/glittershark): Rename to grfn 2021-04-12 14:45:51 +00:00
Util feat(gs/xanthous): Allow throwing rocks 2021-10-30 17:16:21 +00:00
App.hs feat(gs/xanthous): Allow disabling saving 2021-11-07 21:05:39 +00:00
Command.hs feat(gs/xanthous): Allow moving with the arrow keys 2021-11-13 15:57:18 +00:00
Data.hs feat(gs/xanthous): Allow throwing rocks 2021-10-30 17:16:21 +00:00
Game.hs refactor(users/glittershark): Rename to grfn 2021-04-12 14:45:51 +00:00
Messages.hs feat(xanthous): Describe *where* the item is in the inventory 2021-06-23 21:52:08 +00:00
messages.yaml feat(gs/xanthous): Allow disabling saving 2021-11-07 21:05:39 +00:00
Monad.hs refactor(users/glittershark): Rename to grfn 2021-04-12 14:45:51 +00:00
Orphans.hs feat(xanthous): Describe *where* the item is in the inventory 2021-06-23 21:52:08 +00:00
Physics.hs feat(gs/xanthous): Allow throwing rocks 2021-10-30 17:16:21 +00:00
Prelude.hs feat(xanthous): Memoize characterVisiblePositions 2021-06-12 18:57:52 +00:00
Random.hs feat(xanthous) Generate random volume+density for items 2021-06-23 21:52:08 +00:00
Util.hs feat(gs/xanthous): Add a Husk creature, with limited generation 2021-11-13 15:57:18 +00:00