Improve coral bone tree schematic and fix light
This commit is contained in:
parent
119d3a5619
commit
82786dae74
|
@ -48,7 +48,7 @@ schematic = {
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="everness:coral_grass_1", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
|
@ -1286,7 +1286,7 @@ schematic = {
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="everness:coral_bones", prob=126, param2=0},
|
{name="everness:coral_bones", prob=254, param2=0},
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
|
@ -2882,7 +2882,7 @@ schematic = {
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="everness:coral_bones", prob=126, param2=0},
|
{name="everness:coral_bones", prob=254, param2=0},
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
|
@ -3373,7 +3373,7 @@ schematic = {
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="everness:coral_bones", prob=126, param2=0},
|
{name="everness:coral_bones", prob=126, param2=0},
|
||||||
{name="everness:coral_bones", prob=254, param2=0},
|
{name="everness:coral_bones", prob=254, param2=0},
|
||||||
{name="everness:coral_bones", prob=126, param2=0},
|
{name="everness:coral_bones", prob=254, param2=0},
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="everness:coral_bones", prob=254, param2=0},
|
{name="everness:coral_bones", prob=254, param2=0},
|
||||||
|
@ -3478,7 +3478,7 @@ schematic = {
|
||||||
{name="everness:coral_bones", prob=254, param2=0, force_place=true},
|
{name="everness:coral_bones", prob=254, param2=0, force_place=true},
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="everness:coral_grass_1", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
|
@ -4718,7 +4718,7 @@ schematic = {
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="everness:coral_bones", prob=254, param2=0},
|
{name="everness:coral_bones", prob=126, param2=0},
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
|
@ -5927,7 +5927,7 @@ schematic = {
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="everness:coral_grass_1", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
{name="air", prob=254, param2=0},
|
{name="air", prob=254, param2=0},
|
||||||
|
|
10
mapgen.lua
10
mapgen.lua
|
@ -3161,7 +3161,10 @@ local deco_ids_baobab = {
|
||||||
minetest.get_decoration_id('everness:baobab_tree_2')
|
minetest.get_decoration_id('everness:baobab_tree_2')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
local deco_id_coral_bones_tree = minetest.get_decoration_id('everness:coral_bones_tree')
|
||||||
|
|
||||||
minetest.set_gen_notify('decoration', deco_ids_baobab)
|
minetest.set_gen_notify('decoration', deco_ids_baobab)
|
||||||
|
minetest.set_gen_notify('decoration', { deco_id_coral_bones_tree })
|
||||||
|
|
||||||
-- Localise data buffer table outside the loop, to be re-used for all
|
-- Localise data buffer table outside the loop, to be re-used for all
|
||||||
-- mapchunks, therefore minimising memory use.
|
-- mapchunks, therefore minimising memory use.
|
||||||
|
@ -3195,6 +3198,13 @@ minetest.register_on_generated(function(minp, maxp, blockseed)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Coral bone tree - fix light
|
||||||
|
--
|
||||||
|
for _, pos in ipairs(gennotify['decoration#' .. deco_id_coral_bones_tree] or {}) do
|
||||||
|
minetest.fix_light(vector.offset(pos, -1, -1, -1), vector.offset(pos, 14, 35, 14))
|
||||||
|
end
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Bamboo
|
-- Bamboo
|
||||||
--
|
--
|
||||||
|
|
Binary file not shown.
Ŝarĝante…
Reference in New Issue