[nalc_mediterranean] Corrige spawn saplings

This commit is contained in:
Sys Quatre 2020-06-27 16:51:29 +02:00
父節點 6a59c140ff
當前提交 63206e7b19
共有 1 個文件被更改,包括 9 次插入9 次删除

查看文件

@ -81,15 +81,15 @@ local function grow_umbrella_pine(pos)
end
local function grow_maritime_pine(pos)
minetest.place_schematic({x= pos.x -4, y = pos.y - 1, z = pos.z - 4}, path.."/pin_maritime.mts", "0", nil, true)
minetest.place_schematic({x= pos.x -3, y = pos.y - 1, z = pos.z - 3}, path.."/pin_maritime.mts", "0", nil, true)
end
local function grow_cypress(pos)
minetest.place_schematic({x= pos.x -4, y = pos.y - 1, z = pos.z - 4}, path.."/cypres.mts", "0", nil, true)
minetest.place_schematic({x= pos.x -3, y = pos.y - 1, z = pos.z - 3}, path.."/cypres.mts", "0", nil, true)
end
local function grow_olive_tree(pos)
minetest.place_schematic({x= pos.x -4, y = pos.y - 1, z = pos.z - 4}, path.."/olivier.mts", "random", nil, true)
minetest.place_schematic({x= pos.x -3, y = pos.y - 1, z = pos.z - 3}, path.."/olivier.mts", "random", nil, true)
end
local function grow_sapling(pos)
@ -136,20 +136,20 @@ local trees = {
},
{ description = "Maritime Pine Sapling",
sapling = "nalc_mediterranean:sapling_maritime_pine",
minp = {x = -4, y = 1, z = -4},
maxp = {x = 4, y = 14, z = 4},
minp = {x = -3, y = 1, z = -3},
maxp = {x = 3, y = 14, z = 3},
texture = "default_pine_sapling.png",
},
{ description = "Cypress Sapling",
sapling = "nalc_mediterranean:sapling_cypress",
minp = {x = -4, y = 1, z = -4},
maxp = {x = 4, y = 19, z = 4},
minp = {x = -3, y = 1, z = -3},
maxp = {x = 3, y = 19, z = 3},
texture = "default_pine_sapling.png",
},
{ description = "Olive Sapling",
sapling = "nalc_mediterranean:sapling_olive",
minp = {x = -4, y = 1, z = -4},
maxp = {x = 4, y = 9, z = 4},
minp = {x = -3, y = 1, z = -3},
maxp = {x = 3, y = 9, z = 3},
texture = "default_sapling.png",
},
}