Browse Source

[nalc_mediterranean] Corrige spawn saplings

tags/nalc-1.2.0
sys4 1 month ago
parent
commit
63206e7b19
1 changed files with 9 additions and 9 deletions
  1. +9
    -9
      nalc_mediterranean/init.lua

+ 9
- 9
nalc_mediterranean/init.lua View File

@@ -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",
},
}


Loading…
Cancel
Save