mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-24 11:31:09 +01:00
Global definition removed
This commit is contained in:
parent
4eecab501d
commit
e2bbc9df5c
1 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
for i = 1, #logs do
|
for i = 1, #mcl_hollow_logs.logs do
|
||||||
local mod, material, stripped_material
|
local mod, material, stripped_material
|
||||||
local name = logs[i][1]
|
local name = mcl_hollow_logs.logs[i][1]
|
||||||
|
|
||||||
if name:find("cherry") then
|
if name:find("cherry") then
|
||||||
mod = "mcl_cherry_blossom:"
|
mod = "mcl_cherry_blossom:"
|
||||||
|
@ -18,7 +18,7 @@ for i = 1, #logs do
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "mcl_hollow_logs:"..logs[i][1].."_hollow 4",
|
output = "mcl_hollow_logs:"..name.."_hollow 4",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"", material, ""},
|
{"", material, ""},
|
||||||
{material, "", material},
|
{material, "", material},
|
||||||
|
@ -27,7 +27,7 @@ for i = 1, #logs do
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "mcl_hollow_logs:stripped_"..logs[i][1].."_hollow 4",
|
output = "mcl_hollow_logs:stripped_"..name.."_hollow 4",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"", stripped_material, ""},
|
{"", stripped_material, ""},
|
||||||
{stripped_material, "", stripped_material},
|
{stripped_material, "", stripped_material},
|
||||||
|
|
Loading…
Reference in a new issue