Browse Source

🐈

pull/1/head
HybridDog 6 years ago
parent
commit
32decc0149
  1. 2
      LICENSE.txt
  2. 48
      init.lua
  3. 1
      mapgen.lua

2
LICENSE.txt

@ -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

48
init.lua

@ -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},

1
mapgen.lua

@ -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

Loading…
Cancel
Save