mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-24 03:21:05 +01:00
Global definition removed
This commit is contained in:
parent
e2bbc9df5c
commit
d6b329d657
1 changed files with 6 additions and 6 deletions
|
@ -11,11 +11,11 @@ mcl_hollow_logs.logs = {
|
||||||
}
|
}
|
||||||
|
|
||||||
if minetest.get_modpath("mcl_cherry_blossom") then
|
if minetest.get_modpath("mcl_cherry_blossom") then
|
||||||
table.insert(logs, {"cherrytree", "Hollow Cherry Log", "Stripped Hollow Cherry Log"})
|
table.insert(mcl_hollow_logs.logs, {"cherrytree", "Hollow Cherry Log", "Stripped Hollow Cherry Log"})
|
||||||
end
|
end
|
||||||
|
|
||||||
if minetest.get_modpath("mcl_mangrove") then
|
if minetest.get_modpath("mcl_mangrove") then
|
||||||
table.insert(logs, {"mangrove_tree", "Hollow Mangrove Log", "Stripped Hollow Mangrove Log"})
|
table.insert(mcl_hollow_logs.logs, {"mangrove_tree", "Hollow Mangrove Log", "Stripped Hollow Mangrove Log"})
|
||||||
end
|
end
|
||||||
|
|
||||||
local collisionbox = {
|
local collisionbox = {
|
||||||
|
@ -28,10 +28,10 @@ local collisionbox = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for i = 1, #logs do
|
for i = 1, #mcl_hollow_logs.logs do
|
||||||
local name = logs[i][1]
|
local name = mcl_hollow_logs.logs[i][1]
|
||||||
local normal_desc = logs[i][2]
|
local normal_desc = mcl_hollow_logs.logs[i][2]
|
||||||
local stripped_desc = logs[i][3]
|
local stripped_desc = mcl_hollow_logs.logs[i][3]
|
||||||
|
|
||||||
minetest.register_node("mcl_hollow_logs:"..name.."_hollow", {
|
minetest.register_node("mcl_hollow_logs:"..name.."_hollow", {
|
||||||
collision_box = collisionbox,
|
collision_box = collisionbox,
|
||||||
|
|
Loading…
Reference in a new issue