At present a player can only rest or sit if injured. Make this activity-based as well
Much like hunger. If player has been walking around for too long they get tired and then exhausted.
Whilst exhausted, player movements should take 2 ticks instead of 1. (or twice as many ticks)
As part of this, implement "take a nap", "nap", "power nap" as actions, "have a sleep", "take a break" etc.
(sleep and rest are already supported)
That took a bit more than expected - mostly yak-shaving around the need for more tests and the desire to restrict run/climb activities based on exhaustion.
At present a player can only rest or sit if injured. Make this activity-based as well
Much like hunger. If player has been walking around for too long they get tired and then exhausted. Whilst exhausted, player movements should take 2 ticks instead of 1. (or twice as many ticks)
As part of this, implement "take a nap", "nap", "power nap" as actions, "have a sleep", "take a break" etc. (sleep and rest are already supported)