[nalc_mediterranean] Corrige génération olivier

This commit is contained in:
Sys Quatre 2020-06-14 00:31:51 +02:00
parent 117ae0933a
commit 60d957d7c8
3 changed files with 8 additions and 8 deletions

View File

@ -1,11 +1,11 @@
-- Load tree's schematics
--local schems_pin_parasol = assert(loadfile(minetest.get_modpath("nalc_mediterranean").."/pin_parasol.lua"))()
--local schems_pin_parasol = assert(loadfile(minetest.get_modpath("nalc_mediterranean").."/schematics/pin_parasol.lua"))()
--
--local schems_pin_maritime = assert(loadfile(minetest.get_modpath("nalc_mediterranean").."/pin_maritime.lua"))()
--local schems_pin_maritime = assert(loadfile(minetest.get_modpath("nalc_mediterranean").."/schematics/pin_maritime.lua"))()
--
--local schems_cypres = assert(loadfile(minetest.get_modpath("nalc_mediterranean").."/cypres.lua"))()
--local schems_cypres = assert(loadfile(minetest.get_modpath("nalc_mediterranean").."/schematics/cypres.lua"))()
--
--local schems_olivier = assert(loadfile(minetest.get_modpath("nalc_mediterranean").."/olivier.lua"))()
--local schems_olivier = assert(loadfile(minetest.get_modpath("nalc_mediterranean").."/schematics/olivier.lua"))()
-- Mediterranean Dirt definition
local dirt_data = table.copy(minetest.registered_nodes["default:dirt_with_dry_grass"])

View File

@ -2,9 +2,9 @@ local schematic = {
size = {x=7, y=9, z=7},
yslice_prob = {
{ypos=0, prob=254},
{ypos=1, prob=192},
{ypos=1, prob=128},
{ypos=2, prob=128},
{ypos=3, prob=254},
{ypos=3, prob=192},
{ypos=4, prob=254},
{ypos=5, prob=254},
{ypos=6, prob=254},
@ -204,14 +204,14 @@ local schematic = {
{name="air", prob=0, param2=0},
{name="air", prob=0, param2=0},
{name="air", prob=0, param2=0},
{name="nalc_mediterranean:olive_tree", prob=254, param2=2},
{name="nalc_mediterranean:olive_tree", prob=254, force_place=true, param2=2},
{name="air", prob=0, param2=0},
{name="air", prob=0, param2=0},
{name="air", prob=0, param2=0},
{name="air", prob=0, param2=0},
{name="air", prob=0, param2=0},
{name="air", prob=0, param2=0},
{name="nalc_mediterranean:olive_tree", prob=254, param2=0},
{name="nalc_mediterranean:olive_tree", prob=254, force_place=true, param2=0},
{name="air", prob=0, param2=0},
{name="air", prob=0, param2=0},
{name="air", prob=0, param2=0},