[Mod] Stamina [stamina] - hunger, exhaustion

Post Reply
sofar
Developer
Posts: 2146
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

[Mod] Stamina [stamina] - hunger, exhaustion

by sofar » Post

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/stamin ... master.zip

Image

ektor
Member
Posts: 79
Joined: Sat Sep 24, 2016 11:59
IRC: dtarcz
In-game: ektor
Contact:

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

by ektor » Post

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 ?
Vive Minetest!

User avatar
TechNolaByte
Member
Posts: 465
Joined: Wed May 10, 2017 21:00
GitHub: TechNolaByte

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

by TechNolaByte » Post

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
The great quest of alchemy neither failed nor attained gold; programmers are those great alchemists who transmute caffeine into code.

sofar
Developer
Posts: 2146
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

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

by sofar » Post

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.

sofar
Developer
Posts: 2146
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

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

by sofar » Post

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.

ektor
Member
Posts: 79
Joined: Sat Sep 24, 2016 11:59
IRC: dtarcz
In-game: ektor
Contact:

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

by ektor » Post

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... :)
Vive Minetest!

Skyrable
New member
Posts: 2
Joined: Fri Mar 26, 2021 21:55
GitHub: Skyrable
IRC: Skyrable
In-game: The Skyrable

Re: [Mod] Stamina [stamina] - hunger, exhaustion

by Skyrable » Post

Hey! i hope you are doing great! i need your permission about hunger, if you could answer me, i would really appreciate it :) .

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 25 guests