Survival Mod [survival]

User avatar
Nathan.S
Member
 
Posts: 858
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Survival Mod [survival]

by Nathan.S » Wed Mar 18, 2015 18:55

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:
Image

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/survival
Download: https://github.com/NathanSalapat/survival/archive/master.zip

License: Code and textures: CC0

Depends:
farming
default
wool
beds
Attachments
Survival_update.png
(512.92 KiB) Not downloaded yet
Last edited by Nathan.S on Thu Apr 16, 2015 01:42, edited 4 times in total.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

User avatar
Krock
Developer
 
Posts: 4219
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

Re: Survival Mod [survival]

by Krock » Wed Mar 18, 2015 20:02

Wow, this meshnode has great textures!
I hope you can add some new nodes instead of copying from other mods :)
>> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

User avatar
Nathan.S
Member
 
Posts: 858
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: Survival Mod [survival]

by Nathan.S » Wed Mar 18, 2015 20:59

heh, I forgot to mention what all my planned nodes are. oops, I'll update the first post.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

User avatar
Don
Member
 
Posts: 1642
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: Survival Mod [survival]

by Don » Thu Mar 19, 2015 00:21

+1
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
Nathan.S
Member
 
Posts: 858
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: Survival Mod [survival]

by Nathan.S » Thu Mar 19, 2015 01:27

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.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

User avatar
Don
Member
 
Posts: 1642
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: Survival Mod [survival]

by Don » Thu Mar 19, 2015 02:31

What about leaves? They have sugar in them.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
Nathan.S
Member
 
Posts: 858
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: Survival Mod [survival]

by Nathan.S » Thu Mar 19, 2015 17:51

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.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

User avatar
Don
Member
 
Posts: 1642
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: Survival Mod [survival]

by Don » Thu Mar 19, 2015 18:03

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
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
TG-MyinaWD
Member
 
Posts: 356
Joined: Thu May 08, 2014 21:22
Location: Far Eden
GitHub: Maddie-Myina
IRC: Maddie-Myina
In-game: .

Re: Survival Mod [survival]

by TG-MyinaWD » Thu Mar 19, 2015 19:29

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.
I'm a Transgender no shame about it.
I prefer to be considered as a "Girl/Lady/Miss/Madam/Female" for now on.
 

User avatar
Nathan.S
Member
 
Posts: 858
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: Survival Mod [survival]

by Nathan.S » Fri Mar 20, 2015 04:05

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 record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

User avatar
Don
Member
 
Posts: 1642
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: Survival Mod [survival]

by Don » Fri Mar 20, 2015 04:47

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.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
Nathan.S
Member
 
Posts: 858
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: Survival Mod [survival]

by Nathan.S » Sun Mar 29, 2015 23:22

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.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

User avatar
Nathan.S
Member
 
Posts: 858
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: Survival Mod [survival]

by Nathan.S » Sat Apr 11, 2015 19:37

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.
Code: Select all
giveme survival:spigot
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

User avatar
Don
Member
 
Posts: 1642
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: Survival Mod [survival]

by Don » Sat Apr 11, 2015 22:29

Awesome. Glad to hear that you got it working.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
Nathan.S
Member
 
Posts: 858
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: Survival Mod [survival]

by Nathan.S » Sat Apr 11, 2015 22:40

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.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

User avatar
everamzah
Member
 
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

Re: Survival Mod [survival]

by everamzah » Sun Apr 12, 2015 00:01

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
 

User avatar
Nathan.S
Member
 
Posts: 858
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: Survival Mod [survival]

by Nathan.S » Sun Apr 12, 2015 00:27

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. :)
Last edited by Nathan.S on Sun Apr 12, 2015 02:17, edited 2 times in total.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

User avatar
everamzah
Member
 
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

Re: Survival Mod [survival]

by everamzah » Sun Apr 12, 2015 00:34

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.
 

User avatar
Nathan.S
Member
 
Posts: 858
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: Survival Mod [survival]

by Nathan.S » Sun Apr 12, 2015 01:53

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.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

User avatar
Nathan.S
Member
 
Posts: 858
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: Survival Mod [survival]

by Nathan.S » Sun Apr 12, 2015 03:12

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.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

User avatar
Nathan.S
Member
 
Posts: 858
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: Survival Mod [survival]

by Nathan.S » Sun Apr 26, 2015 17:53

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.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

User avatar
Don
Member
 
Posts: 1642
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: Survival Mod [survival]

by Don » Mon Apr 27, 2015 01:58

That well looks awesome!
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
Nathan.S
Member
 
Posts: 858
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: Survival Mod [survival]

by Nathan.S » Mon Apr 27, 2015 02:11

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.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

User avatar
Ben
Member
 
Posts: 160
Joined: Tue Mar 31, 2015 20:09

Re: Survival Mod [survival]

by Ben » Mon May 04, 2015 20:10

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?
 

User avatar
Nathan.S
Member
 
Posts: 858
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: Survival Mod [survival]

by Nathan.S » Wed Aug 26, 2015 19:44

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.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

Next

Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 10 guests