1
0
Fork 0

Simplify pumpkin map generation

This commit is contained in:
Wuzzy 2019-03-10 06:37:36 +01:00
parent aee7c4b4a2
commit a943428b11
2 changed files with 8 additions and 18 deletions

View File

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

View File

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