This commit is contained in:
HybridDog 2015-07-05 21:01:34 +02:00
parent df794632c2
commit 32decc0149
3 changed files with 27 additions and 24 deletions

View File

@ -2,3 +2,5 @@
— glowshroom and lavashroom from bas080's plants mod (WTFPL)
— parasol mushroom from a mod called mushrooms (WTFPL)
— "45" mushrooms from r01922090's mush45 mod (WTFPL)
rest also WTFPL

View File

@ -404,7 +404,7 @@ minetest.override_item("default:apple", {
local mushrooms_list = {
["brown"] = {
brown = {
description = "brown mushroom",
box = {
{-0.15, -0.2, -0.15, 0.15, -0.1, 0.15},
@ -420,7 +420,7 @@ local mushrooms_list = {
chance = 18,
},
},
["red"] = {
red = {
description = "red mushroom",
box = {
{-1/16, -8/16, -1/16, 1/16, -6/16, 1/16},
@ -438,7 +438,7 @@ local mushrooms_list = {
chance = 30,
},
},
["fly_agaric"] = {
fly_agaric = {
description = "fly agaric",
box = {
{-0.05, -0.5, -0.05, 0.05, 1/20, 0.05},
@ -454,7 +454,7 @@ local mushrooms_list = {
chance = 30,
},
},
["lavashroom"] = {
lavashroom = {
description = "Lavashroom",
box = {
{-1/16, -8/16, -1/16, 1/16, -6/16, 1/16},
@ -471,16 +471,16 @@ local mushrooms_list = {
chance = 60,
},
},
["glowshroom"] = {
glowshroom = {
description = "Glowshroom",
box = {
{-1/16, -8/16, -1/16, 1/16, -1/16, 1/16},
{-2/16, -3/16, -2/16, 2/16, -2/16, 2/16},
{-3/16, -5/16, -3/16, 3/16, -3/16, 3/16},
{-1/16, -8/16, -1/16, 1/16, -1/16, 1/16},
{-2/16, -3/16, -2/16, 2/16, -2/16, 2/16},
{-3/16, -5/16, -3/16, 3/16, -3/16, 3/16},
{-3/16, -7/16, -3/16, -2/16, -5/16, -2/16},
{3/16, -7/16, -3/16, 2/16, -5/16, -2/16},
{-3/16, -7/16, 3/16, -2/16, -5/16, 2/16},
{3/16, -7/16, 3/16, 2/16, -5/16, 2/16}
{3/16, -7/16, -3/16, 2/16, -5/16, -2/16},
{-3/16, -7/16, 3/16, -2/16, -5/16, 2/16},
{3/16, -7/16, 3/16, 2/16, -5/16, 2/16}
},
growing = {
r = 3,
@ -491,7 +491,7 @@ local mushrooms_list = {
chance = 320,
},
},
["nether_shroom"] = {
nether_shroom = {
description = "Nether mushroom",
box = {
{-1/16, -8/16, -1/16, 1/16, -2/16, 1/16},
@ -504,7 +504,7 @@ local mushrooms_list = {
},
burntime = 6,
},
["parasol"] = {
parasol = {
description = "white parasol mushroom",
box = {
{-1/16, -8/16, -1/16, 1/16, 0, 1/16},
@ -522,15 +522,15 @@ local mushrooms_list = {
chance = 36,
},
},
["red45"] = {
red45 = {
description = "45 red mushroom",
box = {
{-1/16, -0.5, -1/16, 1/16, 1/8, 1/16},
{-3/16, 1/8, -3/16, 3/16, 1/4, 3/16},
{-1/16, -0.5, -1/16, 1/16, 1/8, 1/16},
{-3/16, 1/8, -3/16, 3/16, 1/4, 3/16},
{-5/16, -1/4, -5/16, -1/16, 1/8, -1/16},
{1/16, -1/4, -5/16, 5/16, 1/8, -1/16},
{-5/16, -1/4, 1/16, -1/16, 1/8, 5/16},
{1/16, -1/4, 1/16, 5/16, 1/8, 5/16}
{1/16, -1/4, -5/16, 5/16, 1/8, -1/16},
{-5/16, -1/4, 1/16, -1/16, 1/8, 5/16},
{1/16, -1/4, 1/16, 5/16, 1/8, 5/16}
},
growing = {
r = {min=3, max=4},
@ -541,14 +541,14 @@ local mushrooms_list = {
chance = 180,
},
},
["brown45"] = {
brown45 = {
description = "45 brown mushroom",
box = {
{-1/16, -0.5, -1/16, 1/16, 1/16, 1/16},
{-3/8, 1/8, -7/16, 3/8, 1/4, 7/16},
{-7/16, 1/8, -3/8, 7/16, 1/4, 3/8},
{-3/8, 1/4, -3/8, 3/8, 5/16, 3/8},
{-3/8, 1/16, -3/8, 3/8, 1/8, 3/8}
{-3/8, 1/8, -7/16, 3/8, 1/4, 7/16},
{-7/16, 1/8, -3/8, 7/16, 1/4, 3/8},
{-3/8, 1/4, -3/8, 3/8, 5/16, 3/8},
{-3/8, 1/16, -3/8, 3/8, 1/8, 3/8}
},
growing = {
r = {min=2, max=3},

View File

@ -211,6 +211,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
end
end
end
if ground_y then
data[area:index(x, ground_y, z)] = c.ground
for i = -1,-5,-1 do