Page 1 of 2
Survival Mod [survival]

Posted:
Wed Mar 18, 2015 18:55
by Nathan.S
I've been doing a video series on Minetest Modding on Youtube, and it's time to bring the new mod that I've been working on to the forums.
Screenshot:

This mod is heavily inspired from a certain TV personality that has a bunch of survival shows. Right now I'm just doing simple-ish stuff, new weapons, a couple foods, some structures. I do plan on adding a thirst bar that will require you to drink water, and purify it as well, or risk getting sick. I plan to add bugs as a food source as well, though some will be poisonous. I'm also recording tutorials on everything I'm doing which can be found on my youtube channel.
Planned items:
Canteens; empty, clean water, dirty water
Leafy beds; sleep but lose some health and don't set spawn. 1/2✓
sleeping bag; sleep, and set spawn. 1/2✓
machetes; a combination of a shovel, ax, and sword ✓
water purification tablets; don't want to be drinking dirty water
bugs; they'll just drop from dirt, all will be edible, some might be poisonous though ✓
Thirst; this will give you a reason to purify water
sap tap; boil the sap to get sugar ✓
A guide book would be cool; and would let you know what bugs you can eat, and which you shouldn't.
Maybe some other things too, it's still very heavily under development.
Github:
https://github.com/NathanSalapat/survivalDownload:
https://github.com/NathanSalapat/survival/archive/master.zipLicense: Code and textures: CC0
Depends:
farming
default
wool
beds
Re: Survival Mod [survival]

Posted:
Wed Mar 18, 2015 20:02
by Krock
Wow, this meshnode has great textures!
I hope you can add some new nodes instead of copying from other mods :)
Re: Survival Mod [survival]

Posted:
Wed Mar 18, 2015 20:59
by Nathan.S
heh, I forgot to mention what all my planned nodes are. oops, I'll update the first post.
Re: Survival Mod [survival]

Posted:
Thu Mar 19, 2015 00:21
by Don
+1
Re: Survival Mod [survival]

Posted:
Thu Mar 19, 2015 01:27
by Nathan.S
Okay, I need to make sugar, what do you think would be a good recipe?
I've seen cooking a papyrus, crafting four of them, and there are probably others. I don't really want to add a dependency for one node, so I'll be adding it to my mod, but will make it use the others if the food mod is enabled. I just need to know which recipe sounds better.
Re: Survival Mod [survival]

Posted:
Thu Mar 19, 2015 02:31
by Don
What about leaves? They have sugar in them.
Re: Survival Mod [survival]

Posted:
Thu Mar 19, 2015 17:51
by Nathan.S
Don wrote:What about leaves? They have sugar in them.
You've hit on something there, I'll see if I can't make a spigot that needs to be put on a live tree and will collect sap, which can be boiled and turned into sugar. This will be much harder than just using leaves, but will be more lifelike. I'll just have to figure out the mechanics needed to collect sap from a tree.
Re: Survival Mod [survival]

Posted:
Thu Mar 19, 2015 18:03
by Don
You could put the sap in a bucket and then make a grill for the camp fire. Make the grill only place on top of fire. The grill could be a formspec that you put the bucket of sap in to boil it
Re: Survival Mod [survival]

Posted:
Thu Mar 19, 2015 19:29
by TG-MyinaWD
This looks interesting.
The Guide book I think can be made using "
TenPlus1 :: Writable Books code and change the content area with own text.
Also, since this is CC0 I might help out adding some Survival stuff. Even maybe make an node box of something. anways, I think this looks promising.
Re: Survival Mod [survival]

Posted:
Fri Mar 20, 2015 04:05
by Nathan.S
I'm completely open to suggestions/pull request. Totally looking for some help on the bug textures. Drawing a centipede or millipede in a 16*16 space isn't easy.
Re: Survival Mod [survival]

Posted:
Fri Mar 20, 2015 04:47
by Don
Nathan.S wrote:I'm completely open to suggestions/pull request. Totally looking for some help on the bug textures. Drawing a centipede or millipede in a 16*16 space isn't easy.
I can see how 100 legs in a 16 x 16 texture would be hard.
Re: Survival Mod [survival]

Posted:
Sun Mar 29, 2015 23:22
by Nathan.S
If anybody is using this, and hasn't updated I'd recommend doing so, I've added several new features, and foods. Lots of things to be done yet, but I'm still working on this, it gets updated weekly, sometimes a little more often. It runs with my modding tutorial series on youtube, so I don't always post here about the changes that I've been making.
Re: Survival Mod [survival]

Posted:
Sat Apr 11, 2015 19:37
by Nathan.S
Big update guys, the spigots now work, place them on a tree, put a bucket in the spigot, right click to bring up the formspec, wait a minute and you'll have a bucket filled with sap, cook the bucket to get sugar, and the bucket back.
Some aspects still subject to change, collection and cook time mainly, formspec will certainly be modified some, I want to put a progress bar in, and maybe have an input and output, though I think I'll keep it just letting you place one item in the input at a time.
I want to change the model yet, and it would be nice if I could have it show an empty or full bucket depending on which is has.
Currently there is no crafting recipe, so you'll have to use the giveme command.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Re: Survival Mod [survival]

Posted:
Sat Apr 11, 2015 22:29
by Don
Awesome. Glad to hear that you got it working.
Re: Survival Mod [survival]

Posted:
Sat Apr 11, 2015 22:40
by Nathan.S
Thanks, I've created a well as well now, but I am going to get the mechanics of that working before I update the git repo. The idea is that much like the spigot on the trees you'll be able to get water from the well. I'm not sure if I want to let people get water in a bucket, as that might make water too easy to get an endless supply of, but it will certainly be used for filling the canteens.
Re: Survival Mod [survival]

Posted:
Sun Apr 12, 2015 00:01
by everamzah
I haven't tried the new version today, but did you see this issue I posted some days ago?
https://github.com/NathanSalapat/survival/issues/1
Re: Survival Mod [survival]

Posted:
Sun Apr 12, 2015 00:27
by Nathan.S
Somehow I'd missed that. I'll look into it right away.
Edit: fixed, I was overriding something that farming needed.
Edit 2: Looking at how farming added some extra bits to the default:dirt_with_grass I was able to use the same method and cut down on the code needed for my changes to the node, and I should be able to use the same method for most other nodes from here out, so thank you for bring that to my attention and being instrumental in my discovery. :)
Re: Survival Mod [survival]

Posted:
Sun Apr 12, 2015 00:34
by everamzah
As I posted my second issue, I noticed you pushed a fix for soil 43 seconds prior! Will test now. The second issue is in regards to wool sleeping bags doing damage to the player.
Re: Survival Mod [survival]

Posted:
Sun Apr 12, 2015 01:53
by Nathan.S
Ya, I know about that, I'll take it out in the next update, until I get the functions all set up properly. In the mean time you can comment out lines 198 and 199 to take away the damage part.
Re: Survival Mod [survival]

Posted:
Sun Apr 12, 2015 03:12
by Nathan.S
Spigots should now only allow one bucket to be placed, and the damage should be gone from the beds. Thanks to evermazah for bringing those bugs to my attention.
Re: Survival Mod [survival]

Posted:
Sun Apr 26, 2015 17:53
by Nathan.S
Big update guys, wells are here, and they work as expected. You have to dig a hole three nodes into the ground, and the top layer needs to be dirt or dirt with grass, or the well won't be placeable. Put the bottom half of the well into the top node of the hole, it will appear above that position, and then put a top on the well. Right click on the well top to bring up the formspec which will allow you to fill a bucket or canteen with water. Currently there is no craft recipe for the canteen, use giveme survival:canteen_empty to get one. A canteen or bucket will take about ten seconds to fill with water. Boil a canteen of dirty water to get clean water, or risk drinking it dirty and possibly loosing hearts. There is a one in five-hundred chance that the well can dry out when you take a filled bucket from it. When a well dries out you will need to destroy the old well and dig a new hole as the old well will fill the hole when it dries out.
Re: Survival Mod [survival]

Posted:
Mon Apr 27, 2015 01:58
by Don
That well looks awesome!
Re: Survival Mod [survival]

Posted:
Mon Apr 27, 2015 02:11
by Nathan.S
Thanks. I'm going to start working on adding compatibility with the thirsty mod. Right now in my local copy I can get a full canteen of water that can be drank and fills hydration. However I want to have dirty and clean water so you still have to boil or craft it with a purification tablet to get the water clean.
Re: Survival Mod [survival]

Posted:
Mon May 04, 2015 20:10
by Ben
Thirsty's not finished yet, but one thing you should look at (if you haven't already) are the thirsty.on_use and thirsty.on_rightclick functions. They each take another on_use or on_rightclick handler, and will call that after the "drinking" part has been handled. So you could set your canteen to use those, and chain some "and now you may get ill" handler to dirty water containers.
I'm just not sure how to make sure clean canteens refill to dirty water – maybe with more function chaining?
Re: Survival Mod [survival]

Posted:
Wed Aug 26, 2015 19:44
by Nathan.S
Just pushed some new changes guys. Nothing huge, foods now effect thirst, so watch how much salty food you eat if you don't have water.
Re: Survival Mod [survival]

Posted:
Thu Aug 27, 2015 07:51
by cd2
cool mod :D
I really like your modding tutorials.
Re: Survival Mod [survival]

Posted:
Thu Aug 27, 2015 11:40
by Nathan.S
Thanks.
Re: Survival Mod [survival]

Posted:
Sat Mar 26, 2016 16:52
by geoslay53
Have you though to give the canteen in the beginning of the game. I try to play and it is hard to play with the thirsty mod in it. And when you kill the cow. It does not give you meat. Only leather.
Thanks,
George.
Re: Survival Mod [survival]

Posted:
Sat Mar 26, 2016 18:43
by MineYoshi
Nathan.S wrote:Just pushed some new changes guys. Nothing huge, foods now effect thirst, so watch how much salty food you eat if you don't have water.
Great features added to mod.
Great work!
Re: Survival Mod [survival]

Posted:
Sun Apr 10, 2016 11:58
by azekill_DIABLO
nice XD