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
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"
}
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)
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.
Users browsing this forum: No registered users and 18 guests