Page 1 of 1

[Mod] Really simple hunger [simple_hunger]

Posted: Mon Jan 02, 2017 20:51
by oscar14
Image

This adds a hunger mechanic that is really simple yet very restrictive. Is based only in the actions we make that create a change in the world, for example, when we dig or place a node, the healt goes down when we do something of this nature with hunger, aside of this the healt works basically the same as in the default game, you need to eat to recover healt. Walk or jump doesn't affect your hunger.

I made this because I wanted something simple that gives more importance to food. Is very restrictive so it creates a more slow and strategic gameplay for builders, you need to manage your resources to build stuff, you need to calculate your food and how to get it to make it efficient. It forces you to think before build.

For now it only works with the food in the Minetest_game. I have tested it for a while and works for me but if someone else use it and have problems I will try to fix it.

Updates
The golden apple update.
- Now you can craft a golden apple. If you put the golden apple in the last position of the hotbar, it will automatically replenish your hunger bar until the golden apple runs out.
- After a lot of testing (playing haha) I made a little balancing in the food too.

MIT Licence.

GitHub project page

Download from GitHub

Re: [Mod] Really simple hunger [simple_hunger]

Posted: Mon Jan 02, 2017 20:55
by octacian
Nice! I'll test it later today. Try putting it on GitHub, it'd make it far easier for people to contribute their own ideas and in general just nicer.

Re: [Mod] Really simple hunger [simple_hunger]

Posted: Tue Jan 03, 2017 00:35
by oscar14
I want to do that but I'm not sure how, I will investigate. Thanks for your comment! If you do the test let me know what you think.

Re: [Mod] Really simple hunger [simple_hunger]

Posted: Tue Jan 03, 2017 01:37
by sofar
Any reason you're not re-using `stamina` mod? This does look like it does mostly the same thing.

https://github.com/minetest-mods/stamina

Re: [Mod] Really simple hunger [simple_hunger]

Posted: Tue Jan 03, 2017 02:26
by oscar14
They are similar but I think they are different enough. In the stamina mod the healing depends on the level of hunger and a ticking time. This is more simple and the healing mechanic remains the same as in the normal game and you need the food to heal too, I think this is the biggest difference.

It is a really simple hunger mechanic, I just wanted something without the ticking part that is in the stamina mod, I don't know if that part is configurable there.

PD. It is on GitHub now.

Re: [Mod] Really simple hunger [simple_hunger]

Posted: Tue Jan 03, 2017 11:46
by TenPlus1
+1 for Stamina mod.

Re: [Mod] Really simple hunger [simple_hunger]

Posted: Wed Jan 04, 2017 06:53
by ManElevation
nice! +1

Re: [Mod] Really simple hunger [simple_hunger]

Posted: Sun Jan 15, 2017 21:44
by oscar14
The golden apple update.
- Now you can craft a golden apple. If you put the golden apple in the last position of the hotbar, it will automatically replenish your hunger bar until the golden apple runs out.
- After a lot of testing (playing haha) I made a little balancing in the food too.

Re: [Mod] Really simple hunger [simple_hunger]

Posted: Sun Feb 03, 2019 15:44
by MCL
License?

Re: [Mod] Really simple hunger [simple_hunger]

Posted: Fri Feb 08, 2019 18:40
by oscar14
migdyn wrote:License?
You can do whatever you like with it.

Re: [Mod] Really simple hunger [simple_hunger]

Posted: Fri Feb 08, 2019 21:54
by Lone_Wolf
oscar14 wrote:
migdyn wrote:License?
You can do whatever you like with it.
Maybe use the MIT license. Basically the same thing. Safer too

Re: [Mod] Really simple hunger [simple_hunger]

Posted: Fri Feb 08, 2019 22:59
by MCL
Lone_Wolf wrote:
oscar14 wrote:
migdyn wrote:License?
You can do whatever you like with it.
Maybe use the MIT license. Basically the same thing. Safer too
Not exactly the same thing. This mod would have to be in the public domain. But you should add a license to the code because just saying it in a forum post doesn't mean anything legally and you could sue someone who used this if you wanted to.

Re: [Mod] Really simple hunger [simple_hunger]

Posted: Sat Feb 09, 2019 19:07
by oscar14
Edited, MIT licence.