Page 2 of 3

Posted: Wed Oct 10, 2012 02:39
by SegFault22
What if, instead of being crafted, the plants spawn at random and can be ''dyed'' to make decorational plants?
:D

Posted: Wed Oct 10, 2012 02:53
by Josh
Hmm.....well maybe that would be good. Would it be best to use unified dyes or the default mod?

Posted: Wed Oct 10, 2012 03:24
by SegFault22
Unified dyes if you want a large variety; default dyes if you want less non-default dependencies.

Posted: Mon Oct 22, 2012 03:11
by Josh
Just to let you know that if anyone can make better texture's i will add them.

Posted: Wed Oct 24, 2012 03:14
by Josh
Very Special Update!!
---------------------------
I probably should have done this at christmas....but anyway.
This will add a christmas decoplant. It even has a special crafting recipe:
L= Leaves
SI= Steel Ingot
LLL
LSIL
LLL
-------------------------
Isn't that cool?

Posted: Tue Nov 13, 2012 03:50
by Josh
Epic, Epic news! I have made some epic & stunning new textures for the Christmas Decoplant!
Download: https://dl.dropbox.com/u/102401091/decoplants7.zip
------------------------
But beware! these new textures will blow your mind :D

Posted: Sat Dec 08, 2012 02:06
by Josh
SegFault22 wrote:What if, instead of being crafted, the plants spawn at random and can be ''dyed'' to make decorational plants?
:D
Ok, i am going to use unified dyes to craft the decoplants, how will i add a dependency?

Posted: Sat Dec 08, 2012 03:17
by InfinityProject
Josh wrote:Ok, i am going to use unified dyes to craft the decoplants, how will i add a dependency?
Add a depends.txt in your mod folder, and write in the file the name of the mod you want your mod to depend on.

Posted: Sat Dec 08, 2012 03:26
by Josh
InfinityProject wrote:
Josh wrote:Ok, i am going to use unified dyes to craft the decoplants, how will i add a dependency?
Add a depends.txt in your mod folder, and write in the file the name of the mod you want your mod to depend on.
I see, now i want to add unified dyes to the crafting recipe, what are there init.lua names?

Posted: Sat Dec 08, 2012 03:47
by InfinityProject
Look at the mod's init.lua.

Posted: Sat Dec 08, 2012 03:58
by Josh
InfinityProject wrote:Look at the mod's init.lua.
I have actually changed my mind, what about using the default dyes?
-----------------------
Note: There a 11 decoplants but i have removed 7 so now there are 4, i will eventually add light source to all decoplants. And from now on all the decoplants will be the colors of the default dyes (I will make more)

Posted: Sat Dec 08, 2012 04:05
by InfinityProject
Same thing as you would do for unified dyes.

Posted: Sat Dec 08, 2012 04:09
by Josh
InfinityProject wrote:Same thing as you would do for unified dyes.
i see, so that would be default:green or dyes:green in init.lua?

Posted: Sat Dec 08, 2012 04:19
by InfinityProject
Are dyes in the default mod? No, they are in the dyes mod. The modname is "dye" so you know that you would have "dye:something". I'm assuming it's dye:green but I'm too lazy to look.

Posted: Sat Dec 08, 2012 04:30
by Josh
InfinityProject wrote:Are dyes in the default mod? No, they are in the dyes mod. The modname is "dye" so you know that you would have "dye:something". I'm assuming it's dye:green but I'm too lazy to look.
I had a look, seem's correct, now i will just test them and then add light source to them :)

Posted: Sat Dec 08, 2012 05:07
by VanessaE
If you use the groups method to call upon those dyes, unifieddyes will work with your mod anyway. I believe you use things like "group:basecolor,red" or "group:basecolor,green" in your recipes. Check the default dyes/init.lua for more info on that.

Posted: Sun Dec 09, 2012 02:31
by Josh
Please note: I have removed the download links of all decoplants up to Version 7 (You can still download Version 7)
Because i wanted to clean up my Dropbox folder :)

Posted: Sun Dec 09, 2012 03:42
by sdzen
you know josh you could make the decorative plants be dry shrubs that have been dyed, that would simplify the crafting recipes AND when i first saw the textures for them it kinda reminded me of the shrub. just a suggestion.

Posted: Sun Dec 09, 2012 04:08
by Josh
sdzen wrote:you know josh you could make the decorative plants be dry shrubs that have been dyed, that would simplify the crafting recipes AND when i first saw the textures for them it kinda reminded me of the shrub. just a suggestion.
Yeah, but now the final/last version of decoplants will be made using leaves and dyes from the default dye mod. And all colors of the default dyes will be all the colors of the decoplants. So the crafting is now very simple.
But before i release the final version i would like to know how to add a light source, how do you do it?

Posted: Sun Dec 09, 2012 06:23
by VanessaE
If you mean making a plant act as a light source, then in your register_node() call, add this somewhere appropriate:

light_source = LIGHT_MAX - somevalue,

Internally, the engine sets LIGHT_MAX equal to 14, but I suppose that could change in the future. Somevalue is a number you supply, and should probably be in the range of about 3-6 or so. Or you could just set it to a specific value without subtracting, e.g.:

light_source = 10,

A higher final value gives more light, of course.

Posted: Sun Dec 09, 2012 06:51
by Aqua
As I said before...
Aqua wrote:to make glowing decoplants add this "light_source = 14," that'll be cool

Posted: Mon Dec 10, 2012 02:07
by Josh
Aqua wrote:As I said before...
Aqua wrote:to make glowing decoplants add this "light_source = 14," that'll be cool
Thank's i will do that then release it :)
(This will be the final version)

Posted: Tue Dec 18, 2012 03:37
by Josh
Here it is......**The. Final. Version. Of. Decoplants!**
Now all the decoplants can be made using dye (Being placed in the center of the crafting table)
And placing leaves in a square shape (Like your crafting a chest)
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Sorry i left out the light_source feature. I have also included a license: WTFPL
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Enjoy using and playing with my decoplants mod! Download: https://dl.dropbox.com/u/102401091/decoplants.zip
-------------------------------------------------------------------------------------------------------------------------------------------------------------

Posted: Fri Dec 21, 2012 03:38
by Josh
I would appreciate if someone *COUGHDAVIDCOUGH* could make a review of Decoplants :)
P.S: Anyone can make a review :D

Posted: Fri Dec 21, 2012 03:44
by davidpace
A video review? :-)