[Mod] Really simple hunger [simple_hunger]

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

[Mod] Really simple hunger [simple_hunger]

by oscar14 » Mon Jan 02, 2017 20:51

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
(412.35 KiB) Not downloaded yet
Last edited by oscar14 on Sat Feb 09, 2019 19:06, edited 5 times in total.
 

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

Re: [Mod] Really simple hunger [simple_hunger]

by octacian » Mon Jan 02, 2017 20:55

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: 49
Joined: Sat Dec 26, 2015 17:40
GitHub: camus14

Re: [Mod] Really simple hunger [simple_hunger]

by oscar14 » Tue Jan 03, 2017 00:35

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

Re: [Mod] Really simple hunger [simple_hunger]

by sofar » Tue Jan 03, 2017 01:37

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: 49
Joined: Sat Dec 26, 2015 17:40
GitHub: camus14

Re: [Mod] Really simple hunger [simple_hunger]

by oscar14 » Tue Jan 03, 2017 02:26

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: 2562
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1
 

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

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

Re: [Mod] Really simple hunger [simple_hunger]

by oscar14 » Sun Jan 15, 2017 21:44

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
migdyn
Member
 
Posts: 255
Joined: Mon Aug 20, 2018 00:44
Location: A non-existing flat forest on flat earth
GitHub: migdyn
In-game: migdyn
 

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

Re: [Mod] Really simple hunger [simple_hunger]

by oscar14 » Fri Feb 08, 2019 18:40

migdyn wrote:License?


You can do whatever you like with it.
 

User avatar
Lone_Wolf
Member
 
Posts: 2160
Joined: Sun Apr 09, 2017 05:50
Location: Hopefully very far from yours, snoop :P
GitHub: LoneWolfHT
IRC: Lone_Wolf
In-game: Lone_Wolf

Re: [Mod] Really simple hunger [simple_hunger]

by Lone_Wolf » Fri Feb 08, 2019 21:54

oscar14 wrote:
migdyn wrote:License?


You can do whatever you like with it.

Maybe use the MIT license. Basically the same thing. Safer too
 

User avatar
migdyn
Member
 
Posts: 255
Joined: Mon Aug 20, 2018 00:44
Location: A non-existing flat forest on flat earth
GitHub: migdyn
In-game: migdyn

Re: [Mod] Really simple hunger [simple_hunger]

by migdyn » Fri Feb 08, 2019 22:59

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.
"When I try to send e-mail, the whole Internet shuts down!'
CLICK TO SEE MY MT MODS Poll: https://forum.minetest.net/viewtopic.php?f=3&t=21728
 

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


Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 3 guests