CleverRaven / CleverRaven/Cataclysm-DDA
Followers prioritize eating over following
- Dominant language
- C++
- Stars
- 13.1k
- Forks
- 4.6k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 186
Description
### Is your feature request related to a problem? Please describe.
If I enable NPC needs, my followers will sometimes eat. While they are eating they are stuck in place - no matter how far I move they will not follow me until they finish eating. This can be surprising - the follower appears to be stuck in place with little indication as to why she or he is stuck. The game *does* print a chat message "John Doe eats a deluxe vegetarian beans and rice", but the chat message is easy to miss. The player might not immediately notice that the NPC has stopped following and by the time she notices other messages may scroll the chat hiding his only hint as to what happened.
1. Load the attached save: [follow.zip](https://github.com/CleverRaven/Cataclysm-DDA/files/7898990/follow.zip)
2. Your follower eats deluxe vegetarian beans and rice (consume time: 2min 30s)
3. Walk away
4. Watch the NPC remain stuck in place
### Solution you would like.
The NPC should cancel eating if I move too far away.
### Describe alternatives you have considered.
Print repeating chat messages "John Doe is too busy eating to follow you" if the player moves too far away while an NPC is eating
### Additional context
Related https://github.com/CleverRaven/Cataclysm-DDA/issues/54573
Contributor guide
Research direction
Reproduce the behavior with the attached follow.zip save: enable NPC needs, let the follower eat, and walk away before the 2-minute-30-second consumption finishes. Read the related issue #54573 for context and trace the NPC eating and following behavior. Done means a follower no longer remains stuck eating after the player moves too far away.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100