Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add beds as wandering targets depending on health #13172

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

gunbuilderguy
Copy link

I've given the AI the ability to seek beds when idling, allowing them to heal during downtimes without being a constant drain on supplies for minor wounds, with the chance of choosing a bed increasing the more wounded they are every time a check passes.

To make it work, you'll need to add tags="bed" to the respective bunks and hospital beds in their XML files.
It essentially allows you to slowly heal NPCs at the cost of having to dissmiss them of any active duties like maintenance or operating machinery, which is a worthy tradeoff in my opinion as you trade away threat readiness for some weak, cost-free healing.

a percentage based off the character's health
Add Beds as targets when wandering, depending on health
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant