Page 1 of 1

[Mod] Stamina [stamina] - hunger, exhaustion

PostPosted: Mon Feb 19, 2018 05:50
by sofar
This is a continuation of parts of Blockmen's hud_hunger mod, but then stripped down and focussing on the core parts of the hunger mechanism.

The player will lose "stamina" by doing stuff, like:
- walking
- crafting
- digging
- fighting

Once the player has no more stamina, the player will start to take damage. If the player has enough stamina, the player will gain health. Stamina is converted to health to heal the player, which means that to go from near-death to full health, you will have to eat several times. As long as the player has low stamina, they will not be fully healed.

License: LGPL-2.1, with artwork covered by fully reusable licenses
Dependencies: 3d_armor(optional)

Project page: https://github.com/minetest-mods/stamina
Latest Release: https://github.com/minetest-mods/stamina/archive/master.zip

Image

Re: [mod]stamina[stamina] hunger, exhaustion

PostPosted: Mon Feb 19, 2018 12:52
by ektor
Well, I use on my server those mods:
  • minetest-3d_armor
  • minetest_hbarmor
  • minetest_hbhunger
  • minetest_hudbars
  • sprint


Can I put this stamina mod without breaking everything ? And what did I have to remove ? minetest_hbhunger and minetest_hudbars maybe ?

Re: [mod]stamina[stamina] hunger, exhaustion

PostPosted: Mon Feb 19, 2018 14:12
by RSLRedstonier
ektor wrote:Well, I use on my server those mods:
  • minetest-3d_armor
  • minetest_hbarmor
  • minetest_hbhunger
  • minetest_hudbars
  • sprint


Can I put this stamina mod without breaking everything ? And what did I have to remove ? minetest_hbhunger and minetest_hudbars maybe ?

just to let you know those files should be named
  • 3d_armor
  • hbarmor
  • hbhunger
  • hudbars
  • sprint

most of the popular/welldone mods will counter this with a config file but some wont. So mod files should usally be striped of prefixes and sufexex

Re: [mod]stamina[stamina] hunger, exhaustion

PostPosted: Mon Feb 19, 2018 18:35
by sofar
ektor wrote:Well, I use on my server those mods:

minetest_hbarmor
minetest_hbhunger
minetest_hudbars


This mod isn't meant to work correctly with the hudbars (and derivatives) that wuzzy maintains.

Re: [mod]stamina[stamina] hunger, exhaustion

PostPosted: Mon Feb 19, 2018 18:37
by sofar
RSLRedstonier wrote:PLEASE TRIM YOUR QUOTES


All of this is off-topic, and all of these mods already have a `mod.conf`, so he doesn't need to rename any folder at all.

Re: [mod]stamina[stamina] hunger, exhaustion

PostPosted: Wed Feb 21, 2018 10:08
by ektor
sofar wrote:
ektor wrote:Well, I use on my server those mods:

minetest_hbarmor
minetest_hbhunger
minetest_hudbars


This mod isn't meant to work correctly with the hudbars (and derivatives) that wuzzy maintains.


OK sofar, thanks.
So I'll have to test in local with singleplayer to figure out the best configuration I am trying to obtain... :)