mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 10:31:06 +01:00
Mapgen: Rotate pumpkins randomly
This commit is contained in:
parent
680e59ee1d
commit
c914e69081
1 changed files with 9 additions and 2 deletions
|
@ -723,7 +723,14 @@ local function register_mgv6_decorations()
|
|||
|
||||
-- Pumpkin
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
deco_type = "schematic",
|
||||
schematic = {
|
||||
size = { x=1, y=2, z=1 },
|
||||
data = {
|
||||
{ name = "air", prob = 0 },
|
||||
{ name = "mcl_farming:pumpkin_face", param1=255, },
|
||||
},
|
||||
},
|
||||
place_on = {"mcl_core:dirt_with_grass"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
|
@ -736,7 +743,7 @@ local function register_mgv6_decorations()
|
|||
},
|
||||
y_min = 3,
|
||||
y_max = 29,
|
||||
decoration = "mcl_farming:pumpkin_face",
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
-- Melon
|
||||
|
|
Loading…
Reference in a new issue