forked from MineClone5/MineClone5
Simplify pumpkin map generation
This commit is contained in:
parent
aee7c4b4a2
commit
a943428b11
|
@ -2953,14 +2953,10 @@ local function register_decorations()
|
||||||
|
|
||||||
-- Pumpkin
|
-- Pumpkin
|
||||||
minetest.register_decoration({
|
minetest.register_decoration({
|
||||||
deco_type = "schematic",
|
deco_type = "simple",
|
||||||
schematic = {
|
decoration = "mcl_farming:pumpkin_face",
|
||||||
size = { x=1, y=2, z=1 },
|
param2 = 0,
|
||||||
data = {
|
param2_max = 3,
|
||||||
{ name = "air", prob = 0 },
|
|
||||||
{ name = "mcl_farming:pumpkin_face", param1=255, },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
place_on = {"group:grass_block_no_snow"},
|
place_on = {"group:grass_block_no_snow"},
|
||||||
sidelen = 16,
|
sidelen = 16,
|
||||||
noise_params = {
|
noise_params = {
|
||||||
|
@ -2973,7 +2969,6 @@ local function register_decorations()
|
||||||
},
|
},
|
||||||
y_min = 1,
|
y_min = 1,
|
||||||
y_max = mcl_vars.mg_overworld_max,
|
y_max = mcl_vars.mg_overworld_max,
|
||||||
rotation = "random",
|
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Grasses and ferns
|
-- Grasses and ferns
|
||||||
|
|
|
@ -784,14 +784,10 @@ local function register_mgv6_decorations()
|
||||||
|
|
||||||
-- Pumpkin
|
-- Pumpkin
|
||||||
minetest.register_decoration({
|
minetest.register_decoration({
|
||||||
deco_type = "schematic",
|
deco_type = "simple",
|
||||||
schematic = {
|
decoration = "mcl_farming:pumpkin_face",
|
||||||
size = { x=1, y=2, z=1 },
|
param2 = 0,
|
||||||
data = {
|
param2_max = 3,
|
||||||
{ name = "air", prob = 0 },
|
|
||||||
{ name = "mcl_farming:pumpkin_face" },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
place_on = {"group:grass_block_no_snow"},
|
place_on = {"group:grass_block_no_snow"},
|
||||||
sidelen = 16,
|
sidelen = 16,
|
||||||
noise_params = {
|
noise_params = {
|
||||||
|
@ -804,7 +800,6 @@ local function register_mgv6_decorations()
|
||||||
},
|
},
|
||||||
y_min = 1,
|
y_min = 1,
|
||||||
y_max = mcl_vars.overworld_max,
|
y_max = mcl_vars.overworld_max,
|
||||||
rotation = "random",
|
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Tall grass
|
-- Tall grass
|
||||||
|
|
Loading…
Reference in New Issue