mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-23 19:11:06 +01:00
Fix warning with leafdecay_distance
This commit is contained in:
parent
9ce4cd1281
commit
89c4720de1
1 changed files with 4 additions and 4 deletions
|
@ -48,7 +48,7 @@ local register_tree_trunk = function(subname, description_trunk, description_bar
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Register stripped trunk
|
-- Register stripped trunk
|
||||||
minetest.register_node("mcl_core:stripped_oak", {
|
minetest.register_node("mcl_core:stripped_oak", {
|
||||||
description = "Stripped Oak Log",
|
description = "Stripped Oak Log",
|
||||||
_doc_items_longdesc = "Stripped Oak Log is a log that has been stripped of it's bark.",
|
_doc_items_longdesc = "Stripped Oak Log is a log that has been stripped of it's bark.",
|
||||||
|
@ -230,7 +230,7 @@ local register_leaves = function(subname, description, longdesc, tiles, sapling,
|
||||||
end
|
end
|
||||||
local apple_chances = {200, 180, 160, 120, 40}
|
local apple_chances = {200, 180, 160, 120, 40}
|
||||||
local stick_chances = {50, 45, 30, 35, 10}
|
local stick_chances = {50, 45, 30, 35, 10}
|
||||||
|
|
||||||
local function get_drops(fortune_level)
|
local function get_drops(fortune_level)
|
||||||
local drop = {
|
local drop = {
|
||||||
max_items = 1,
|
max_items = 1,
|
||||||
|
@ -273,7 +273,7 @@ local register_leaves = function(subname, description, longdesc, tiles, sapling,
|
||||||
hoey=1,
|
hoey=1,
|
||||||
shearsy=1,
|
shearsy=1,
|
||||||
swordy=1,
|
swordy=1,
|
||||||
leafdecay=leafdecay_distance,
|
leafdecay=4,
|
||||||
flammable=2,
|
flammable=2,
|
||||||
leaves=1,
|
leaves=1,
|
||||||
deco_block=1,
|
deco_block=1,
|
||||||
|
@ -386,4 +386,4 @@ register_leaves("birchleaves", S("Birch Leaves"), S("Birch leaves are grown from
|
||||||
-- Node aliases
|
-- Node aliases
|
||||||
|
|
||||||
minetest.register_alias("default:acacia_tree", "mcl_core:acaciatree")
|
minetest.register_alias("default:acacia_tree", "mcl_core:acaciatree")
|
||||||
minetest.register_alias("default:acacia_leaves", "mcl_core:acacialeaves")
|
minetest.register_alias("default:acacia_leaves", "mcl_core:acacialeaves")
|
||||||
|
|
Loading…
Reference in a new issue