[Mod] Hydroponics [git] [hydroponics]

User avatar
mtmodder148
Member
 
Posts: 131
Joined: Wed May 14, 2014 13:44
GitHub: MT-Modder
In-game: mtmodder148

[Mod] Hydroponics [git] [hydroponics]

by mtmodder148 » Sun Feb 01, 2015 03:14

"Hydroponics" (hydroponics)

License: WTFPL

Dependencies:
default (Comes with minetest_game)
dye (Comes with minetest_game)
pipeworks?
mesecons?

Adds:
- A hydroponic bucket that works with pipeworks.
- A grow light that works with mesecons and an infinite (customizable) amount of nodes above soil.

How to Use:

Bucket -

- Can be used with pipeworks or (without pipeworks) placed next to water.
- It also counts toward both grassland and desert fertility.

Light -

- Can be used with mesecons or (without mesecons) punched to turn on.
- Can be placed infinitely (customizable) above soil/medium.

Screenshots:
+ Spoiler


Crafting:
+ Spoiler


Download: https://github.com/MT-Modder/hydroponics/archive/master.zip
Browse Code: https://github.com/MT-Modder/hydroponics
Dropbox: https://www.dropbox.com/s/dvi5kjhwl0oxs42/hydroponics.zip?dl=0
Last edited by mtmodder148 on Thu Mar 03, 2016 01:37, edited 10 times in total.
 

User avatar
Topywo
Member
 
Posts: 1718
Joined: Fri May 18, 2012 20:27

Re: [Mod] Hydroponics [git] [hydroponics]

by Topywo » Sun Feb 01, 2015 13:19

Nice!

Iirc in mauvebic's hydro mod, there were 4 spaces between the earth and lightsource. You might want to consider that distance too for crops that grow higher than 1 node.
 

User avatar
mtmodder148
Member
 
Posts: 131
Joined: Wed May 14, 2014 13:44
GitHub: MT-Modder
In-game: mtmodder148

Re: [Mod] Hydroponics [git] [hydroponics]

by mtmodder148 » Sun Feb 01, 2015 15:39

I'll think about it, thanks for the input.

Edit: I've been fiddling with this idea and until I learn to set the lighting for air multi-node plants won't grow unless the mod checks for "airlike" or "buildable_to". Papyrus is one example of this.
 

User avatar
mtmodder148
Member
 
Posts: 131
Joined: Wed May 14, 2014 13:44
GitHub: MT-Modder
In-game: mtmodder148

Re: [Mod] Hydroponics [git] [hydroponics]

by mtmodder148 » Sun Feb 01, 2015 17:49

Updated: Now you can place the light however high up you want and it works with all growing plants.
 

User avatar
Topywo
Member
 
Posts: 1718
Joined: Fri May 18, 2012 20:27

Re: [Mod] Hydroponics [git] [hydroponics]

by Topywo » Sun Feb 01, 2015 18:39

Great, thanks for making it possible :-)
 

User avatar
mtmodder148
Member
 
Posts: 131
Joined: Wed May 14, 2014 13:44
GitHub: MT-Modder
In-game: mtmodder148

Re: [Mod] Hydroponics [git] [hydroponics]

by mtmodder148 » Sun Feb 01, 2015 18:41

No thank you for giving me the idea :-). I would have never thought to do it.
 

User avatar
mtmodder148
Member
 
Posts: 131
Joined: Wed May 14, 2014 13:44
GitHub: MT-Modder
In-game: mtmodder148

Re: [Mod] Hydroponics [git] [hydroponics]

by mtmodder148 » Mon Feb 02, 2015 00:23

I added a height max setting if someone wants to use it. It's located at the top of grow_light.lua. Default is 0, which means there is no height max.
 

User avatar
mtmodder148
Member
 
Posts: 131
Joined: Wed May 14, 2014 13:44
GitHub: MT-Modder
In-game: mtmodder148

Re: [Mod] Hydroponics [git] [hydroponics]

by mtmodder148 » Wed Feb 04, 2015 06:01

Major cleanup/rewrite. See github for more info.
 

User avatar
mtmodder148
Member
 
Posts: 131
Joined: Wed May 14, 2014 13:44
GitHub: MT-Modder
In-game: mtmodder148

Re: [Mod] Hydroponics [git] [hydroponics]

by mtmodder148 » Sun Mar 01, 2015 23:04

This mod has been optimized and now runs a bit faster.
 

tbillion
Member
 
Posts: 189
Joined: Wed Apr 03, 2013 16:07

Re: [Mod] Hydroponics [git] [hydroponics]

by tbillion » Wed Dec 09, 2015 08:41

is there a way to get this to work with saplings?
 

User avatar
mtmodder148
Member
 
Posts: 131
Joined: Wed May 14, 2014 13:44
GitHub: MT-Modder
In-game: mtmodder148

Re: [Mod] Hydroponics [git] [hydroponics]

by mtmodder148 » Sat Feb 27, 2016 23:19

Sorry for the late reply but default saplings should work unless you have a mod such as ethereal because certain mods like that will override how they grow.
 

User avatar
mtmodder148
Member
 
Posts: 131
Joined: Wed May 14, 2014 13:44
GitHub: MT-Modder
In-game: mtmodder148

Re: [Mod] Hydroponics [git] [hydroponics]

by mtmodder148 » Thu Mar 03, 2016 01:41

Another Complete Cleanup/Optimization/Rewrite
Whatever you wanna call it...

Changes:
- Remove a lot of unneeded comments
- Drop support for homedecor & moreblocks
- Unify grow light functions
- Update gravel texture
- Made the default light height 2
 

User avatar
benrob0329
Member
 
Posts: 1192
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
In-game: benrob03

Re: [Mod] Hydroponics [git] [hydroponics]

by benrob0329 » Wed May 25, 2016 14:46

I'm confused as to what this does for plants...
 

User avatar
mtmodder148
Member
 
Posts: 131
Joined: Wed May 14, 2014 13:44
GitHub: MT-Modder
In-game: mtmodder148

Re: [Mod] Hydroponics [git] [hydroponics]

by mtmodder148 » Thu May 26, 2016 00:50

@benrob329

Nothing much. lol

The hydroponic bucket is best used with pipeworks otherwise it's just a different looking soil.

The hydroponic light can be placed, by default, 2 nodes above a plant and it will still grow.

So like this:

[light]
[air]
[plant]
[soil/medium]
 

User avatar
benrob0329
Member
 
Posts: 1192
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
In-game: benrob03

Re: [Mod] Hydroponics [git] [hydroponics]

by benrob0329 » Thu May 26, 2016 01:28

Does it help the plants grow better, like bonemeal?
 

User avatar
mtmodder148
Member
 
Posts: 131
Joined: Wed May 14, 2014 13:44
GitHub: MT-Modder
In-game: mtmodder148

Re: [Mod] Hydroponics [git] [hydroponics]

by mtmodder148 » Thu May 26, 2016 02:26

No sorry.

But if you use tenplus1's farming_redo and ethereal mods then dirt will randomly drop a bone which can be crafted into bonemeal and used on those plants to make them grow faster, I believe.
 


Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 93 guests

cron