Generate sugar canes again

This commit is contained in:
Wuzzy 2017-08-22 15:57:19 +02:00
parent 3d1ea57e4b
commit 209a2ca678
2 changed files with 8 additions and 8 deletions

View file

@ -1415,8 +1415,8 @@ local function register_decorations()
-- Sugar canes
minetest.register_decoration({
deco_type = "schematic",
place_on = {"mcl_core:dirt", "mcl_core:dirt_with_grass", "group:sand", "mcl_core:podzol"},
deco_type = "simple",
place_on = {"mcl_core:dirt", "mcl_core:coarse_dirt", "mcl_core:dirt_with_grass", "group:sand", "mcl_core:podzol", "mcl_core:reeds"},
sidelen = 16,
noise_params = {
offset = -0.3,
@ -1426,9 +1426,9 @@ local function register_decorations()
octaves = 3,
persist = 0.7
},
biomes = {"grassland", "beach", "red_desert", "desert", "swamp"},
biomes = {"grassland", "grassland_dunes", "snowy_grassland", "beach", "red_desert", "desert", "swamp"},
y_min = 1,
y_max = 1,
y_max = mcl_vars.mg_overworld_max,
decoration = "mcl_core:reeds",
height = 1,
height_max = 3,

View file

@ -624,11 +624,11 @@ local function register_mgv6_decorations()
-- Sugar canes
minetest.register_decoration({
deco_type = "schematic",
place_on = {"mcl_core:dirt", "mcl_core:dirt_with_grass", "group:sand", "mcl_core:podzol"},
deco_type = "simple",
place_on = {"mcl_core:dirt", "mcl_core:coarse_dirt", "mcl_core:dirt_with_grass", "group:sand", "mcl_core:podzol", "mcl_core:reeds"},
sidelen = 16,
noise_params = {
offset = -0.3,
offset = 0.3,
scale = 0.7,
spread = {x = 100, y = 100, z = 100},
seed = 2,
@ -636,7 +636,7 @@ local function register_mgv6_decorations()
persist = 0.7
},
y_min = 1,
y_max = 1,
y_max = mcl_vars.mg_overworld_max,
decoration = "mcl_core:reeds",
height = 1,
height_max = 3,