Fix sapling growth
This commit is contained in:
parent
eb2691c857
commit
ef94b866ef
48
nodes.lua
48
nodes.lua
|
@ -5176,8 +5176,8 @@ Everness:register_node('everness:baobab_sapling', {
|
||||||
_mcl_blast_resistance = 0,
|
_mcl_blast_resistance = 0,
|
||||||
_mcl_hardness = 0,
|
_mcl_hardness = 0,
|
||||||
sounds = Everness.node_sound_leaves_defaults(),
|
sounds = Everness.node_sound_leaves_defaults(),
|
||||||
on_timer = function(...)
|
on_timer = function(pos, elapsed)
|
||||||
Everness.grow_sapling(...)
|
Everness.grow_sapling(pos)
|
||||||
end,
|
end,
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
minetest.get_node_timer(pos):start(math.random(300, 1500))
|
minetest.get_node_timer(pos):start(math.random(300, 1500))
|
||||||
|
@ -5453,8 +5453,8 @@ Everness:register_node('everness:coral_tree_sapling', {
|
||||||
_mcl_blast_resistance = 0,
|
_mcl_blast_resistance = 0,
|
||||||
_mcl_hardness = 0,
|
_mcl_hardness = 0,
|
||||||
sounds = Everness.node_sound_leaves_defaults(),
|
sounds = Everness.node_sound_leaves_defaults(),
|
||||||
on_timer = function(...)
|
on_timer = function(pos, elapsed)
|
||||||
Everness.grow_sapling(...)
|
Everness.grow_sapling(pos)
|
||||||
end,
|
end,
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
minetest.get_node_timer(pos):start(math.random(300, 1500))
|
minetest.get_node_timer(pos):start(math.random(300, 1500))
|
||||||
|
@ -5507,8 +5507,8 @@ Everness:register_node('everness:coral_tree_bioluminescent_sapling', {
|
||||||
_mcl_blast_resistance = 0,
|
_mcl_blast_resistance = 0,
|
||||||
_mcl_hardness = 0,
|
_mcl_hardness = 0,
|
||||||
sounds = Everness.node_sound_leaves_defaults(),
|
sounds = Everness.node_sound_leaves_defaults(),
|
||||||
on_timer = function(...)
|
on_timer = function(pos, elapsed)
|
||||||
Everness.grow_sapling(...)
|
Everness.grow_sapling(pos)
|
||||||
end,
|
end,
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
minetest.get_node_timer(pos):start(math.random(300, 1500))
|
minetest.get_node_timer(pos):start(math.random(300, 1500))
|
||||||
|
@ -5561,8 +5561,8 @@ Everness:register_node('everness:dry_tree_sapling', {
|
||||||
_mcl_blast_resistance = 0,
|
_mcl_blast_resistance = 0,
|
||||||
_mcl_hardness = 0,
|
_mcl_hardness = 0,
|
||||||
sounds = Everness.node_sound_leaves_defaults(),
|
sounds = Everness.node_sound_leaves_defaults(),
|
||||||
on_timer = function(...)
|
on_timer = function(pos, elapsed)
|
||||||
Everness.grow_sapling(...)
|
Everness.grow_sapling(pos)
|
||||||
end,
|
end,
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
minetest.get_node_timer(pos):start(math.random(300, 1500))
|
minetest.get_node_timer(pos):start(math.random(300, 1500))
|
||||||
|
@ -5615,8 +5615,8 @@ Everness:register_node('everness:cursed_dream_tree_sapling', {
|
||||||
_mcl_blast_resistance = 0,
|
_mcl_blast_resistance = 0,
|
||||||
_mcl_hardness = 0,
|
_mcl_hardness = 0,
|
||||||
sounds = Everness.node_sound_leaves_defaults(),
|
sounds = Everness.node_sound_leaves_defaults(),
|
||||||
on_timer = function(...)
|
on_timer = function(pos, elapsed)
|
||||||
Everness.grow_sapling(...)
|
Everness.grow_sapling(pos)
|
||||||
end,
|
end,
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
minetest.get_node_timer(pos):start(math.random(300, 1500))
|
minetest.get_node_timer(pos):start(math.random(300, 1500))
|
||||||
|
@ -5669,8 +5669,8 @@ Everness:register_node('everness:willow_tree_sapling', {
|
||||||
_mcl_blast_resistance = 0,
|
_mcl_blast_resistance = 0,
|
||||||
_mcl_hardness = 0,
|
_mcl_hardness = 0,
|
||||||
sounds = Everness.node_sound_leaves_defaults(),
|
sounds = Everness.node_sound_leaves_defaults(),
|
||||||
on_timer = function(...)
|
on_timer = function(pos, elapsed)
|
||||||
Everness.grow_sapling(...)
|
Everness.grow_sapling(pos)
|
||||||
end,
|
end,
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
minetest.get_node_timer(pos):start(math.random(300, 1500))
|
minetest.get_node_timer(pos):start(math.random(300, 1500))
|
||||||
|
@ -5725,8 +5725,8 @@ Everness:register_node('everness:sequoia_tree_sapling', {
|
||||||
_mcl_blast_resistance = 0,
|
_mcl_blast_resistance = 0,
|
||||||
_mcl_hardness = 0,
|
_mcl_hardness = 0,
|
||||||
sounds = Everness.node_sound_leaves_defaults(),
|
sounds = Everness.node_sound_leaves_defaults(),
|
||||||
on_timer = function(...)
|
on_timer = function(pos, elapsed)
|
||||||
Everness.grow_sapling(...)
|
Everness.grow_sapling(pos)
|
||||||
end,
|
end,
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
minetest.get_node_timer(pos):start(math.random(300, 1500))
|
minetest.get_node_timer(pos):start(math.random(300, 1500))
|
||||||
|
@ -5779,8 +5779,8 @@ Everness:register_node('everness:crystal_tree_sapling', {
|
||||||
_mcl_blast_resistance = 0,
|
_mcl_blast_resistance = 0,
|
||||||
_mcl_hardness = 0,
|
_mcl_hardness = 0,
|
||||||
sounds = Everness.node_sound_leaves_defaults(),
|
sounds = Everness.node_sound_leaves_defaults(),
|
||||||
on_timer = function(...)
|
on_timer = function(pos, elapsed)
|
||||||
Everness.grow_sapling(...)
|
Everness.grow_sapling(pos)
|
||||||
end,
|
end,
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
minetest.get_node_timer(pos):start(math.random(300, 1500))
|
minetest.get_node_timer(pos):start(math.random(300, 1500))
|
||||||
|
@ -5833,8 +5833,8 @@ Everness:register_node('everness:crystal_tree_large_sapling', {
|
||||||
_mcl_blast_resistance = 0,
|
_mcl_blast_resistance = 0,
|
||||||
_mcl_hardness = 0,
|
_mcl_hardness = 0,
|
||||||
sounds = Everness.node_sound_leaves_defaults(),
|
sounds = Everness.node_sound_leaves_defaults(),
|
||||||
on_timer = function(...)
|
on_timer = function(pos, elapsed)
|
||||||
Everness.grow_sapling(...)
|
Everness.grow_sapling(pos)
|
||||||
end,
|
end,
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
minetest.get_node_timer(pos):start(math.random(300, 1500))
|
minetest.get_node_timer(pos):start(math.random(300, 1500))
|
||||||
|
@ -5937,8 +5937,8 @@ Everness:register_node('everness:crystal_bush_sapling', {
|
||||||
paramtype = 'light',
|
paramtype = 'light',
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
on_timer = function(...)
|
on_timer = function(pos, elapsed)
|
||||||
Everness.grow_sapling(...)
|
Everness.grow_sapling(pos)
|
||||||
end,
|
end,
|
||||||
selection_box = {
|
selection_box = {
|
||||||
type = 'fixed',
|
type = 'fixed',
|
||||||
|
@ -6069,8 +6069,8 @@ Everness:register_node('everness:cursed_bush_sapling', {
|
||||||
paramtype = 'light',
|
paramtype = 'light',
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
on_timer = function(...)
|
on_timer = function(pos, elapsed)
|
||||||
Everness.grow_sapling(...)
|
Everness.grow_sapling(pos)
|
||||||
end,
|
end,
|
||||||
selection_box = {
|
selection_box = {
|
||||||
type = 'fixed',
|
type = 'fixed',
|
||||||
|
@ -8486,8 +8486,8 @@ Everness:register_node('everness:mese_tree_sapling', {
|
||||||
_mcl_blast_resistance = 0,
|
_mcl_blast_resistance = 0,
|
||||||
_mcl_hardness = 0,
|
_mcl_hardness = 0,
|
||||||
sounds = Everness.node_sound_leaves_defaults(),
|
sounds = Everness.node_sound_leaves_defaults(),
|
||||||
on_timer = function(...)
|
on_timer = function(pos, elapsed)
|
||||||
Everness.grow_sapling(...)
|
Everness.grow_sapling(pos)
|
||||||
end,
|
end,
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
minetest.get_node_timer(pos):start(math.random(300, 1500))
|
minetest.get_node_timer(pos):start(math.random(300, 1500))
|
||||||
|
|
Ŝarĝante…
Reference in New Issue