mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-06-01 03:20:03 -04:00
fix dry grass deco registration
This commit is contained in:
parent
3376b402a8
commit
7f4896a9b7
1 changed files with 1 additions and 22 deletions
|
@ -1799,28 +1799,7 @@ local function register_dry_grass_decoration(offset, scale, length)
|
|||
minetest.register_decoration({
|
||||
name = "default:dry_grass_" .. length,
|
||||
deco_type = "simple",
|
||||
place_on = {"default:dirt_with_dry_grass"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = offset,
|
||||
scale = scale,
|
||||
spread = {x = 200, y = 200, z = 200},
|
||||
seed = 329,
|
||||
octaves = 3,
|
||||
persist = 0.6
|
||||
},
|
||||
biomes = {"savanna"},
|
||||
y_max = 31000,
|
||||
y_min = 1,
|
||||
decoration = "default:dry_grass_" .. length,
|
||||
})
|
||||
end
|
||||
|
||||
local function register_dry_grass_decoration(offset, scale, length)
|
||||
minetest.register_decoration({
|
||||
name = "default:dry_grass_" .. length,
|
||||
deco_type = "simple",
|
||||
place_on = {"default:dry_dirt_with_dry_grass"},
|
||||
place_on = {"default:dirt_with_dry_grass", "default:dry_dirt_with_dry_grass"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = offset,
|
||||
|
|
Loading…
Add table
Reference in a new issue