mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 10:31:06 +01:00
Simplify pumpkin map generation
This commit is contained in:
parent
aee7c4b4a2
commit
a943428b11
2 changed files with 8 additions and 18 deletions
|
@ -2953,14 +2953,10 @@ local function register_decorations()
|
|||
|
||||
-- Pumpkin
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
schematic = {
|
||||
size = { x=1, y=2, z=1 },
|
||||
data = {
|
||||
{ name = "air", prob = 0 },
|
||||
{ name = "mcl_farming:pumpkin_face", param1=255, },
|
||||
},
|
||||
},
|
||||
deco_type = "simple",
|
||||
decoration = "mcl_farming:pumpkin_face",
|
||||
param2 = 0,
|
||||
param2_max = 3,
|
||||
place_on = {"group:grass_block_no_snow"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
|
@ -2973,7 +2969,6 @@ local function register_decorations()
|
|||
},
|
||||
y_min = 1,
|
||||
y_max = mcl_vars.mg_overworld_max,
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
-- Grasses and ferns
|
||||
|
|
|
@ -784,14 +784,10 @@ local function register_mgv6_decorations()
|
|||
|
||||
-- Pumpkin
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
schematic = {
|
||||
size = { x=1, y=2, z=1 },
|
||||
data = {
|
||||
{ name = "air", prob = 0 },
|
||||
{ name = "mcl_farming:pumpkin_face" },
|
||||
},
|
||||
},
|
||||
deco_type = "simple",
|
||||
decoration = "mcl_farming:pumpkin_face",
|
||||
param2 = 0,
|
||||
param2_max = 3,
|
||||
place_on = {"group:grass_block_no_snow"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
|
@ -804,7 +800,6 @@ local function register_mgv6_decorations()
|
|||
},
|
||||
y_min = 1,
|
||||
y_max = mcl_vars.overworld_max,
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
-- Tall grass
|
||||
|
|
Loading…
Reference in a new issue