[mineclone5] Tune sweet berries a bit

This commit is contained in:
kay27 2021-06-21 04:51:05 +04:00
parent 85b3fef4bf
commit d10ab0d1ee
1 changed files with 18 additions and 9 deletions

View File

@ -12,7 +12,7 @@ for i=0, 3 do
paramtype2 = "meshoptions", paramtype2 = "meshoptions",
place_param2 = 3, place_param2 = 3,
walkable = false, walkable = false,
drop = "mcl_farming:sweet_berry", drop = (i>=2) and ("mcl_farming:sweet_berry" .. (i==3 and " 3" or "")) or "",
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, 0.5, 6 / 16}, fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, 0.5, 6 / 16},
@ -45,12 +45,21 @@ minetest.register_craftitem("mcl_farming:sweet_berry", {
minetest.register_alias("mcl_sweet_berry:sweet_berry", "mcl_farming:sweet_berry") minetest.register_alias("mcl_sweet_berry:sweet_berry", "mcl_farming:sweet_berry")
minetest.register_decoration({ minetest.register_decoration({
deco_type = "simple", deco_type = "simple",
place_on = {"mcl_core:dirt_with_grass"}, place_on = {"mcl_core:dirt_with_grass"},
sidelen = 16, sidelen = 16,
noise_params = {offset=0, scale=.45, spread={x=100, y=100, z=100}, seed=354, octaves=3, persist=0.7}, noise_params = {
biomes = {"Taiga","Forest"}, offset = 0,
y_max = mcl_vars.mg_overworld_max, scale = 0.001,
y_min = mcl_vars.mg_overworld_min, spread = {x = 100, y = 100, z = 100},
decoration = "mcl_sweet_berry:sweet_berry_bush_2" seed = 354,
octaves = 1,
persist = 0.5,
lacunarity = 1.0,
flags = "absvalue"
},
biomes = {"Taiga","Forest"},
y_max = mcl_vars.mg_overworld_max,
y_min = 2,
decoration = "mcl_sweet_berry:sweet_berry_bush_3"
}) })