[Mod] Stamina [stamina] - hunger, exhaustion

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

[Mod] Stamina [stamina] - hunger, exhaustion

by sofar » Mon Feb 19, 2018 05:50

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
 

ektor
Member
 
Posts: 70
Joined: Sat Sep 24, 2016 11:59

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

by ektor » Mon Feb 19, 2018 12:52

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 ?
 

User avatar
RSLRedstonier
Member
 
Posts: 449
Joined: Wed May 10, 2017 21:00
Location: some were in middle earth
GitHub: RSL-Redstonier
In-game: RSLRedstonier

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

by RSLRedstonier » Mon Feb 19, 2018 14:12

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
"A programmer is just a tool which converts caffeine into code"

try out my skytest mod always being updated!
https://forum.minetest.net/viewtopic.php?f=9&t=17568
 

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

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

by sofar » Mon Feb 19, 2018 18:35

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: 1766
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

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

by sofar » Mon Feb 19, 2018 18:37

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: 70
Joined: Sat Sep 24, 2016 11:59

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

by ektor » Wed Feb 21, 2018 10:08

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... :)
 


Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 5 guests