Saving stamina #13
Labels
No Label
Kind: bug
Kind: duplicate
Kind: question
Status: help
Status: invalid
Status: wontfix
Type: enhance
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: minenux/minetest-game-adventuretest#13
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
The stamina file needs to be saved at regular intervals instead of just at server shutdown. If there is a crash changes to a player's stamina will be lost.
what's is the point of stamina?
as far as i can tell, it isn't use at all.
also
9cb663d488
doesn't cleanly fix this.Line 47 of energy.lua is where stamina is applied to the energy adjustment. Stamina helps you use less energy when moving, regain energy faster when standing, sitting, or sleeping.