[Mod] Tulips [0.2] [tulips]

User avatar
Bas080
Member
 
Posts: 398
Joined: Mon May 21, 2012 15:54
GitHub: bas080
IRC: bas080
In-game: bas080

[Mod] Tulips [0.2] [tulips]

by Bas080 » Fri Mar 29, 2013 17:46

Tulips in the base colors of VanessaE's unified dyes mod that can be crafted to dyes and can be farmed using PilzAdams' farming mod.

Screenshots
Image
Image
Image
Image

Instructions
* Pick tulips that spawn very rarely to get tulip seeds
* Farm the seeds on soil to grow tulips and get new seeds
* Tulips drop dyes (makes it easier to obtain dyes)
* Use dyes to color everything that uses unified dyes mod (wool, flags, beds etc)

Changelog

Depends
default
- farming
- dye
plants_lib

Download
https://github.com/bas080/tulips/archive/master.zip
...or see code https://github.com/bas080/tulips

License
WTFPL
Last edited by Bas080 on Tue Jul 30, 2013 15:40, edited 1 time in total.
 

User avatar
jmf
Member
 
Posts: 164
Joined: Mon Nov 05, 2012 18:13

by jmf » Fri Mar 29, 2013 21:37

The tulips look very awesome. Good job.
My ingame name is "john", my IRC name is "john_minetest".
I am chef mod on this server: minetest.org : 30015(see here)
"I am immune to signature virus." <-- Add this to your signature to gain immunity!!!
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Sat Mar 30, 2013 00:27

This is great, but can you remove the screenshots from the repo and move them to another host like dropbox or imgur? They make the download much larger.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

User avatar
Inocudom
Member
 
Posts: 2889
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Sat Mar 30, 2013 00:38

I approve of this idea, Bas080. This will give players an alternate way to create wools of various colors.
 

User avatar
Bas080
Member
 
Posts: 398
Joined: Mon May 21, 2012 15:54
GitHub: bas080
IRC: bas080
In-game: bas080

by Bas080 » Sat Mar 30, 2013 08:16

jmf, glad you like it. I was inspired by dutch tulip fields. (image)

kaeza, I started using github as image host for a while now. It makes it really easy to update a screenshot. Maybe i can make the resolution smaller or less screenshots.

Inocudum, It makes it allot easier to get colored wool. Something I have never obtained in large numbers without /giveme. Once you got tulips and cotton farm going it is easier to get colored wool.

Glad people see use for this idea.
 

User avatar
JoeyXtreme
Member
 
Posts: 35
Joined: Sat Dec 15, 2012 09:49

by JoeyXtreme » Sat Mar 30, 2013 10:45

Tulip fields look very nice.
Although i'm dutch and never seen any :(
now i can make my own tulip fields in minetest.
Last edited by JoeyXtreme on Sat Mar 30, 2013 10:55, edited 1 time in total.
Hi i'm a signature :D
 

User avatar
mimilus
Member
 
Posts: 75
Joined: Thu Mar 06, 2014 09:08
GitHub: mimilus
IRC: Mimilus

by mimilus » Mon Mar 31, 2014 07:52

09:49:40: ERROR[main]: ========== ERROR FROM LUA ===========
09:49:40: ERROR[main]: Failed to load and run script from
09:49:40: ERROR[main]: /home/mimilus/.minetest/mods/tulips/init.lua:
09:49:40: ERROR[main]: /home/mimilus/.minetest/mods/tulips/init.lua:26: attempt to index global 'dye' (a nil value)
09:49:40: ERROR[main]: stack traceback:
09:49:40: ERROR[main]: /home/mimilus/.minetest/mods/tulips/init.lua:26: in main chunk
09:49:40: ERROR[main]: ======= END OF ERROR FROM LUA ========
09:49:40: ERROR[main]: Server: Failed to load and run /home/mimilus/.minetest/mods/tulips/init.lua
09:49:40: ERROR[main]: ModError: ModError: Failed to load and run /home/mimilus/.minetest/mods/tulips/init.lua

Minetest 0.4.9
minetest 0.4.9
Ubuntu 12.04
 

UOAbigail
Member
 
Posts: 19
Joined: Mon Feb 24, 2014 13:07

by UOAbigail » Mon Mar 31, 2014 12:09

Greetings

mimilus wrote:9:49:40: ERROR[main]: ========== ERROR FROM LUA ===========
09:49:40: ERROR[main]: Failed to load and run script from
09:49:40: ERROR[main]: /home/mimilus/.minetest/mods/tulips/init.lua:
09:49:40: ERROR[main]: /home/mimilus/.minetest/mods/tulips/init.lua:26: attempt to index global 'dye' (a nil value)
09:49:40: ERROR[main]: stack traceback:
09:49:40: ERROR[main]: /home/mimilus/.minetest/mods/tulips/init.lua:26: in main chunk
09:49:40: ERROR[main]: ======= END OF ERROR FROM LUA ========
09:49:40: ERROR[main]: Server: Failed to load and run /home/mimilus/.minetest/mods/tulips/init.lua
09:49:40: ERROR[main]: ModError: ModError: Failed to load and run /home/mimilus/.minetest/mods/tulips/init.lua

Minetest 0.4.9



I, too, was having this error, having just recently joined the minetest community as of 0.4.9 release.

Yesterday, in the Flags thread, someone posted a list of dye colors and stated that the global 'hues' and 'hues2' had been changed to local values instead, which broke any mods that depended on them being global values. He listed a set of code to be pasted into the init file of the flags mod to make it work again.. I will re-paste that here.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
local HUES = {
    "red",
    "orange",
    "yellow",
    "lime",
    "green",
    "aqua",
    "cyan",
    "skyblue",
    "blue",
    "violet",
    "magenta",
    "redviolet"
}

local HUES2 = {
    "Red",
    "Orange",
    "Yellow",
    "Lime",
    "Green",
    "Aqua",
    "Cyan",
    "Sky-blue",
    "Blue",
    "Violet",
    "Magenta",
    "Red-violet"
}


Upon adding this, however, I ran into a different problem and a new error. Being new to lua, I fiddled around and made a few changes to the init file for tulips.. as such:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
for i = 1, 9 do
  --local hue = dye.basecolors[i]
  --local hue2 = dye.basecolors[i]
   local hue = HUES[i]
   local hue2 = HUES2[i]
  local img = mod.."_"..hue..".png"
  --farming
  farming:add_plant(mod..":"..hue, {"tulips:"..hue.."_seeds",mod..":"..hue.."_sprout"}, 60, 2)


this, then produced a new error.. about a global method returning a nil value or somesuch.. so I checked the depends file and it depends on 'farming' which I am using 'farming_plus'

I changed the depends file to reflect this, and the mod loaded properly (I assume) and it does work (harvested an orange and a yellow tulip and planted them/grew them successfully.)

I do not know if this will help you much.. but if it does great ;)

Peace
UOAbigail
 

User avatar
mimilus
Member
 
Posts: 75
Joined: Thu Mar 06, 2014 09:08
GitHub: mimilus
IRC: Mimilus

by mimilus » Mon Mar 31, 2014 12:44

Could you post your init.lua ?

Please
minetest 0.4.9
Ubuntu 12.04
 

User avatar
domtron vox
Member
 
Posts: 106
Joined: Thu Feb 20, 2014 21:07
GitHub: DomtronVox
IRC: Domtron
In-game: Domtron

by domtron vox » Mon Mar 31, 2014 13:23

Bas080 wrote:kaeza, I started using github as image host for a while now. It makes it really easy to update a screenshot. Maybe i can make the resolution smaller or less screenshots.


You might try creating a branch and storing screenshots in it. That way you can have as many pictures as you want and not effect the mods download size(unless someone is cloning it).
 

User avatar
mimilus
Member
 
Posts: 75
Joined: Thu Mar 06, 2014 09:08
GitHub: mimilus
IRC: Mimilus

by mimilus » Mon Mar 31, 2014 15:46

Ok UOAbigail

It works now

thx
minetest 0.4.9
Ubuntu 12.04
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 18 guests

cron