dev: added step_count and health recovery #1

Merged
NotAShelf merged 1 commit from amr/rogged:recover-health into main 2026-03-20 19:52:21 +00:00
Collaborator

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

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
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
Author
Collaborator

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.

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.
Owner

I'm going to set up a standard formatter anyway, so the formatting change is for now.

I'm going to set up a standard formatter anyway, so the formatting change is for now.
NotAShelf approved these changes 2026-03-20 19:52:14 +00:00
NotAShelf left a comment
Owner

The diff's a bit hard to read, but I don't see any immediate issues. Looks good, thanks :)

The diff's a bit hard to read, but I don't see any immediate issues. Looks good, thanks :)
NotAShelf deleted branch recover-health 2026-03-20 19:52:25 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
NotAShelf/rogged!1
No description provided.