dev: added step_count and health recovery #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "amr/rogged:recover-health"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Every 15 steps the player will regain 1 HP,
unless they are at max HP. Also added commented
code for later hunger if this is to be implemented.
Played around with step # and 15 seems okay until
hunger is implemented
As I mentioned my nvim automatically runs clang-format, so it's converted the file to 2 spaces per indent. If that's a big deal I can re-run it through astyle or something else.
I'm going to set up a standard formatter anyway, so the formatting change is for now.
The diff's a bit hard to read, but I don't see any immediate issues. Looks good, thanks :)