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

Make health proportional to hunger & thirst #6

Open
ghost opened this issue May 31, 2020 · 0 comments
Open

Make health proportional to hunger & thirst #6

ghost opened this issue May 31, 2020 · 0 comments
Labels

Comments

@ghost
Copy link

ghost commented May 31, 2020

The number of hearts (H) available is equal to the average number of filled hunger (h) & thirst (t) icons, rounded up.

i.e. H = ( h + t ) ÷ 2, rounded ↑ to whole heart

The number of filled hearts is recorded as a percentage out of those available; in the scenario above, this would be 50%. The percentage is rounded up, so that if it where 60%, 5 hearts would be filled.

If we want to, we could include routing down, I've just left to round up only for simplicity's sake.

There should be a config option to disable this; in case one only wants to have the thirst feature.

@ghost ghost added documentation Improvements or additions to documentation Feature and removed documentation Improvements or additions to documentation labels May 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

0 participants