[Mod] Really simple hunger [simple_hunger]

Post Reply
oscar14
Member
Posts: 50
Joined: Sat Dec 26, 2015 17:40
GitHub: camus14

[Mod] Really simple hunger [simple_hunger]

by oscar14 » Post

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
Attachments
simple_hunger.png
simple_hunger.png (412.35 KiB) Viewed 846 times
Last edited by oscar14 on Sat Feb 09, 2019 19:06, edited 5 times in total.

User avatar
octacian
Member
Posts: 597
Joined: Mon Dec 21, 2015 22:18
GitHub: octacian
IRC: octacian
In-game: octacian
Location: Canada

Re: [Mod] Really simple hunger [simple_hunger]

by octacian » Post

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.
MicroExpansion, Working Computers, All Projects - Check out my YouTube channel! (octacian)
I'm currently inactive in the Minetest community! So if I don't respond, that's why.

oscar14
Member
Posts: 50
Joined: Sat Dec 26, 2015 17:40
GitHub: camus14

Re: [Mod] Really simple hunger [simple_hunger]

by oscar14 » Post

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.

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

Re: [Mod] Really simple hunger [simple_hunger]

by sofar » Post

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

oscar14
Member
Posts: 50
Joined: Sat Dec 26, 2015 17:40
GitHub: camus14

Re: [Mod] Really simple hunger [simple_hunger]

by oscar14 » Post

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.

User avatar
TenPlus1
Member
Posts: 3715
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Re: [Mod] Really simple hunger [simple_hunger]

by TenPlus1 » Post

+1 for Stamina mod.

User avatar
ManElevation
Member
Posts: 896
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
Location: Madrid,Spain

Re: [Mod] Really simple hunger [simple_hunger]

by ManElevation » Post

nice! +1
My Public Mods! Discord: Rottweiler Games#3368

oscar14
Member
Posts: 50
Joined: Sat Dec 26, 2015 17:40
GitHub: camus14

Re: [Mod] Really simple hunger [simple_hunger]

by oscar14 » Post

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.

User avatar
MCL
Member
Posts: 654
Joined: Mon Aug 20, 2018 00:44
GitHub: MCLx86
IRC: migdyn
In-game: singleplayer
Contact:

Re: [Mod] Really simple hunger [simple_hunger]

by MCL » Post

License?
2014-02-14 - 2024-02-14 TEN YEARS OF MCL

oscar14
Member
Posts: 50
Joined: Sat Dec 26, 2015 17:40
GitHub: camus14

Re: [Mod] Really simple hunger [simple_hunger]

by oscar14 » Post

migdyn wrote:License?
You can do whatever you like with it.

User avatar
Lone_Wolf
Member
Posts: 2576
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: LandarVargan
In-game: LandarVargan

Re: [Mod] Really simple hunger [simple_hunger]

by Lone_Wolf » Post

oscar14 wrote:
migdyn wrote:License?
You can do whatever you like with it.
Maybe use the MIT license. Basically the same thing. Safer too
My ContentDB -|- Working on CaptureTheFlag -|- Minetest Forums Dark Theme!! (You need it)

User avatar
MCL
Member
Posts: 654
Joined: Mon Aug 20, 2018 00:44
GitHub: MCLx86
IRC: migdyn
In-game: singleplayer
Contact:

Re: [Mod] Really simple hunger [simple_hunger]

by MCL » Post

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.
2014-02-14 - 2024-02-14 TEN YEARS OF MCL

oscar14
Member
Posts: 50
Joined: Sat Dec 26, 2015 17:40
GitHub: camus14

Re: [Mod] Really simple hunger [simple_hunger]

by oscar14 » Post

Edited, MIT licence.

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests