Some updates in the code
|
@ -1,7 +1,22 @@
|
||||||
local modpath = minetest.get_modpath(minetest.get_current_modname())
|
local modpath = minetest.get_modpath(minetest.get_current_modname())
|
||||||
local S = minetest.get_translator(minetest.get_current_modname())
|
local S = minetest.get_translator(minetest.get_current_modname())
|
||||||
|
|
||||||
local core_logs = {"acacia", "birch", "dark_oak", "jungle", "oak", "spruce"}
|
logs = {
|
||||||
|
{"acaciatree", "Hollow Acacia Log", "Stripped Hollow Acacia Log"},
|
||||||
|
{"birchtree", "Hollow Birch Log", "Stripped Hollow Birch Log"},
|
||||||
|
{"darktree", "Hollow Dark Oak Log", "Stripped Hollow Dark Oak Log"},
|
||||||
|
{"jungletree", "Hollow Jungle Log", "Stripped Hollow Jungle Log"},
|
||||||
|
{"sprucetree", "Hollow Spruce Log", "Stripped Hollow Spruce Log"},
|
||||||
|
{"tree", "Hollow Oak Log", "Stripped Hollow Oak Log"}
|
||||||
|
}
|
||||||
|
|
||||||
|
if minetest.get_modpath("mcl_cherry_blossom") then
|
||||||
|
table.insert(logs, {"cherrytree", "Hollow Cherry Log", "Stripped Hollow Cherry Log"})
|
||||||
|
end
|
||||||
|
|
||||||
|
if minetest.get_modpath("mcl_mangrove") then
|
||||||
|
table.insert(logs, {"mangrove_tree", "Hollow Mangrove Log", "Stripped Hollow Mangrove Log"})
|
||||||
|
end
|
||||||
|
|
||||||
local collisionbox = {
|
local collisionbox = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
|
@ -13,19 +28,14 @@ local collisionbox = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
local function set_desc(name)
|
for i = 1, #logs do
|
||||||
return (name:gsub("_", " "):gsub("(%a)([%w_']*)", function (first, rest)
|
local name = logs[i][1]
|
||||||
return first:upper()..rest:lower()
|
local normal_desc = logs[i][2]
|
||||||
end))
|
local stripped_desc = logs[i][3]
|
||||||
end
|
|
||||||
|
|
||||||
for i = 1, #core_logs do
|
minetest.register_node("mcl_hollow_logs:"..name.."_hollow", {
|
||||||
local name = core_logs[i]
|
|
||||||
local desc = set_desc(name)
|
|
||||||
|
|
||||||
minetest.register_node(":mcl_core:"..name.."_log_hollow", {
|
|
||||||
collision_box = collisionbox,
|
collision_box = collisionbox,
|
||||||
description = S("Hollow @1", S(desc.." Log")),
|
description = S(normal_desc),
|
||||||
drawtype = "mesh",
|
drawtype = "mesh",
|
||||||
groups = {
|
groups = {
|
||||||
axey = 1, building_block = 1, fire_encouragement = 5, fire_flammability = 5, flammable = 2,
|
axey = 1, building_block = 1, fire_encouragement = 5, fire_flammability = 5, flammable = 2,
|
||||||
|
@ -40,12 +50,12 @@ for i = 1, #core_logs do
|
||||||
tiles = {"mcl_hollow_logs_"..name..".png"},
|
tiles = {"mcl_hollow_logs_"..name..".png"},
|
||||||
_mcl_blast_resistance = 2,
|
_mcl_blast_resistance = 2,
|
||||||
_mcl_hardness = 2,
|
_mcl_hardness = 2,
|
||||||
_mcl_stripped_variant = "mcl_core:stripped_"..name.."_log_hollow"
|
_mcl_stripped_variant = "mcl_hollow_logs:stripped_"..name.."_hollow"
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node(":mcl_core:stripped_"..name.."_log_hollow", {
|
minetest.register_node("mcl_hollow_logs:stripped_"..name.."_hollow", {
|
||||||
collision_box = collisionbox,
|
collision_box = collisionbox,
|
||||||
description = S("Hollow @1", S(desc.." Log")),
|
description = S(stripped_desc),
|
||||||
drawtype = "mesh",
|
drawtype = "mesh",
|
||||||
groups = {
|
groups = {
|
||||||
axey = 1, building_block = 1, fire_encouragement = 5, fire_flammability = 5, flammable = 2,
|
axey = 1, building_block = 1, fire_encouragement = 5, fire_flammability = 5, flammable = 2,
|
||||||
|
@ -63,53 +73,12 @@ for i = 1, #core_logs do
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
if minetest.get_modpath("mcl_cherry_blossom") then
|
|
||||||
minetest.register_node(":mcl_cherry_blossom:cherry_log_hollow", {
|
|
||||||
collision_box = collisionbox,
|
|
||||||
description = S("Hollow @1", S("Cherry Log")),
|
|
||||||
drawtype = "mesh",
|
|
||||||
groups = {
|
|
||||||
axey = 1, building_block = 1, fire_encouragement = 5, fire_flammability = 5, flammable = 2,
|
|
||||||
handy = 1, hollow_log = 1
|
|
||||||
},
|
|
||||||
mesh = "mcl_hollow_logs_log.obj",
|
|
||||||
on_place = mcl_util.rotate_axis,
|
|
||||||
paramtype = "light",
|
|
||||||
paramtype2 = "facedir",
|
|
||||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
|
||||||
sunlight_propagates = true,
|
|
||||||
tiles = {"mcl_hollow_logs_cherry.png"},
|
|
||||||
_mcl_blast_resistance = 2,
|
|
||||||
_mcl_hardness = 2,
|
|
||||||
_mcl_stripped_variant = "mcl_cherry_blossom:stripped_cherry_log_hollow"
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_node(":mcl_cherry_blossom:stripped_cherry_log_hollow", {
|
|
||||||
collision_box = collisionbox,
|
|
||||||
description = S("Stripped @1", S("Hollow @1", S("Cherry Log"))),
|
|
||||||
drawtype = "mesh",
|
|
||||||
groups = {
|
|
||||||
axey = 1, building_block = 1, fire_encouragement = 5, fire_flammability = 5, flammable = 2,
|
|
||||||
handy = 1, hollow_log = 1
|
|
||||||
},
|
|
||||||
mesh = "mcl_hollow_logs_log.obj",
|
|
||||||
on_place = mcl_util.rotate_axis,
|
|
||||||
paramtype = "light",
|
|
||||||
paramtype2 = "facedir",
|
|
||||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
|
||||||
sunlight_propagates = true,
|
|
||||||
tiles = {"mcl_hollow_logs_stripped_cherry.png"},
|
|
||||||
_mcl_blast_resistance = 2,
|
|
||||||
_mcl_hardness = 2
|
|
||||||
})
|
|
||||||
end
|
|
||||||
|
|
||||||
if minetest.get_modpath("mcl_crimson") then
|
if minetest.get_modpath("mcl_crimson") then
|
||||||
minetest.register_node(":mcl_crimson:crimson_stem_hollow", {
|
minetest.register_node("mcl_hollow_logs:crimson_hyphae_hollow", {
|
||||||
collision_box = collisionbox,
|
collision_box = collisionbox,
|
||||||
description = S("Hollow @1", S("Crimson Stem")),
|
description = S("Hollow Crimson Stem"),
|
||||||
drawtype = "mesh",
|
drawtype = "mesh",
|
||||||
groups = {axey = 1, building_block = 1, handy = 1},
|
groups = {axey = 1, building_block = 1, handy = 1, hollow_stem = 1},
|
||||||
mesh = "mcl_hollow_logs_log.obj",
|
mesh = "mcl_hollow_logs_log.obj",
|
||||||
on_place = mcl_util.rotate_axis,
|
on_place = mcl_util.rotate_axis,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
@ -119,14 +88,14 @@ if minetest.get_modpath("mcl_crimson") then
|
||||||
tiles = {"mcl_hollow_logs_crimson.png"},
|
tiles = {"mcl_hollow_logs_crimson.png"},
|
||||||
_mcl_blast_resistance = 2,
|
_mcl_blast_resistance = 2,
|
||||||
_mcl_hardness = 2,
|
_mcl_hardness = 2,
|
||||||
_mcl_stripped_variant = "mcl_crimson:stripped_crimson_stem_hollow"
|
_mcl_stripped_variant = "mcl_hollow_logs:stripped_crimson_hyphae_hollow"
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node(":mcl_crimson:stripped_crimson_stem_hollow", {
|
minetest.register_node("mcl_hollow_logs:stripped_crimson_hyphae_hollow", {
|
||||||
collision_box = collisionbox,
|
collision_box = collisionbox,
|
||||||
description = S("Stripped @1", S("Hollow @1", S("Crimson Stem"))),
|
description = S("Stripped Hollow Crimson Stem"),
|
||||||
drawtype = "mesh",
|
drawtype = "mesh",
|
||||||
groups = {axey = 1, building_block = 1, handy = 1},
|
groups = {axey = 1, building_block = 1, handy = 1, hollow_stem = 1},
|
||||||
mesh = "mcl_hollow_logs_log.obj",
|
mesh = "mcl_hollow_logs_log.obj",
|
||||||
on_place = mcl_util.rotate_axis,
|
on_place = mcl_util.rotate_axis,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
@ -138,11 +107,11 @@ if minetest.get_modpath("mcl_crimson") then
|
||||||
_mcl_hardness = 2
|
_mcl_hardness = 2
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node(":mcl_crimson:warped_stem_hollow", {
|
minetest.register_node("mcl_hollow_logs:warped_hyphae_hollow", {
|
||||||
collision_box = collisionbox,
|
collision_box = collisionbox,
|
||||||
description = S("Hollow @1", S("Warped Stem")),
|
description = S("Hollow Warped Stem"),
|
||||||
drawtype = "mesh",
|
drawtype = "mesh",
|
||||||
groups = {axey = 1, building_block = 1, handy = 1},
|
groups = {axey = 1, building_block = 1, handy = 1, hollow_stem = 1},
|
||||||
mesh = "mcl_hollow_logs_log.obj",
|
mesh = "mcl_hollow_logs_log.obj",
|
||||||
on_place = mcl_util.rotate_axis,
|
on_place = mcl_util.rotate_axis,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
@ -152,14 +121,14 @@ if minetest.get_modpath("mcl_crimson") then
|
||||||
tiles = {"mcl_hollow_logs_warped.png"},
|
tiles = {"mcl_hollow_logs_warped.png"},
|
||||||
_mcl_blast_resistance = 2,
|
_mcl_blast_resistance = 2,
|
||||||
_mcl_hardness = 2,
|
_mcl_hardness = 2,
|
||||||
_mcl_stripped_variant = "mcl_crimson:stripped_warped_stem_hollow"
|
_mcl_stripped_variant = "mcl_hollow_logs:stripped_warped_hyphae_hollow"
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node(":mcl_crimson:stripped_warped_stem_hollow", {
|
minetest.register_node("mcl_hollow_logs:stripped_warped_hyphae_hollow", {
|
||||||
collision_box = collisionbox,
|
collision_box = collisionbox,
|
||||||
description = S("Stripped @1", S("Hollow @1", S("Warped Stem"))),
|
description = S("Stripped Hollow Warped Stem"),
|
||||||
drawtype = "mesh",
|
drawtype = "mesh",
|
||||||
groups = {axey = 1, building_block = 1, handy = 1},
|
groups = {axey = 1, building_block = 1, handy = 1, hollow_stem = 1},
|
||||||
mesh = "mcl_hollow_logs_log.obj",
|
mesh = "mcl_hollow_logs_log.obj",
|
||||||
on_place = mcl_util.rotate_axis,
|
on_place = mcl_util.rotate_axis,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
@ -172,45 +141,4 @@ if minetest.get_modpath("mcl_crimson") then
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
if minetest.get_modpath("mcl_mangrove") then
|
|
||||||
minetest.register_node(":mcl_mangrove:mangrove_log_hollow", {
|
|
||||||
collision_box = collisionbox,
|
|
||||||
description = S("Hollow @1", S("Mangrove Log")),
|
|
||||||
drawtype = "mesh",
|
|
||||||
groups = {
|
|
||||||
axey = 1, building_block = 1, fire_encouragement = 5, fire_flammability = 5, flammable = 2,
|
|
||||||
handy = 1, hollow_log = 1
|
|
||||||
},
|
|
||||||
mesh = "mcl_hollow_logs_log.obj",
|
|
||||||
on_place = mcl_util.rotate_axis,
|
|
||||||
paramtype = "light",
|
|
||||||
paramtype2 = "facedir",
|
|
||||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
|
||||||
sunlight_propagates = true,
|
|
||||||
tiles = {"mcl_hollow_logs_mangrove.png"},
|
|
||||||
_mcl_blast_resistance = 2,
|
|
||||||
_mcl_hardness = 2,
|
|
||||||
_mcl_stripped_variant = "mcl_mangrove:stripped_mangrove_log_hollow"
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_node(":mcl_mangrove:stripped_mangrove_log_hollow", {
|
|
||||||
collision_box = collisionbox,
|
|
||||||
description = S("Stipped @1", S("Hollow @1", S("Mangrove Log"))),
|
|
||||||
drawtype = "mesh",
|
|
||||||
groups = {
|
|
||||||
axey = 1, building_block = 1, fire_encouragement = 5, fire_flammability = 5, flammable = 2,
|
|
||||||
handy = 1, hollow_log = 1
|
|
||||||
},
|
|
||||||
mesh = "mcl_hollow_logs_log.obj",
|
|
||||||
on_place = mcl_util.rotate_axis,
|
|
||||||
paramtype = "light",
|
|
||||||
paramtype2 = "facedir",
|
|
||||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
|
||||||
sunlight_propagates = true,
|
|
||||||
tiles = {"mcl_hollow_logs_stripped_mangrove.png"},
|
|
||||||
_mcl_blast_resistance = 2,
|
|
||||||
_mcl_hardness = 2
|
|
||||||
})
|
|
||||||
end
|
|
||||||
|
|
||||||
dofile(modpath.."/recipes.lua")
|
dofile(modpath.."/recipes.lua")
|
||||||
|
|
|
@ -1,14 +1,21 @@
|
||||||
# textdomain: mcl_hollow_logs
|
# textdomain: mcl_hollow_logs
|
||||||
|
Hollow Acacia Log=Tronco de Acácia Oco
|
||||||
Hollow @1=@1 Oco
|
Hollow Birch Log=Tronco de Bétula Oco
|
||||||
Stripped @1=@1 Descascado
|
Hollow Cherry Log=Tronco de Cerejeira Oco
|
||||||
Acacia Log=Tronco de Acácia
|
Hollow Dark Oak Log=Tronco de Carvalho Escuro Oco
|
||||||
Birch Log=Tronco de Bétula
|
Hollow Jungle Log=Tronco da Selva Oco
|
||||||
Cherry Log=Tronco de Cerejeira
|
Hollow Mangrove Log=Tronco de Mangue Oco
|
||||||
Crimson Stem=Caule Carmesim
|
Hollow Oak Log=Tronco de Carvalho Oco
|
||||||
Dark Oak Log=Tronco de Carvalho Escuro
|
Hollow Spruce Log=Tronco de Pinheiro Oco
|
||||||
Jungle Log=Tronco da Selva
|
Hollow Crimson Stem=Caule Carmesim Oco
|
||||||
Mangrove Log=Tronco de Mangue
|
Hollow Warped Stem=Caule Distorcido Oco
|
||||||
Oak Log=Tronco de Carvalho
|
Stripped Hollow Acacia Log=Tronco de Acácia Oco Descascado
|
||||||
Spruce Log=Tronco de Pinheiro
|
Stripped Hollow Birch Log=Tronco de Bétula Oco Descascado
|
||||||
Warped Stem=Caule Distorcido
|
Stripped Hollow Cherry Log=Tronco de Cerejeira Oco Descascado
|
||||||
|
Stripped Hollow Dark Oak Log=Tronco de Carvalho Escuro Oco Descascado
|
||||||
|
Stripped Hollow Jungle Log=Tronco da Selva Oco Descascado
|
||||||
|
Stripped Hollow Mangrove Log=Tronco de Mangue Oco Descascado
|
||||||
|
Stripped Hollow Oak Log=Tronco de Carvalho Oco Descascado
|
||||||
|
Stripped Hollow Spruce Log=Tronco de Pinheiro Oco Descascado
|
||||||
|
Stripped Hollow Crimson Stem=Caule Carmesim Oco Descascado
|
||||||
|
Stripped Hollow Warped Stem=Caule Distorcido Oco Descascado
|
||||||
|
|
|
@ -1,14 +1,21 @@
|
||||||
# textdomain: mcl_hollow_logs
|
# textdomain: mcl_hollow_logs
|
||||||
|
Hollow Acacia Log=
|
||||||
Hollow @1=
|
Hollow Birch Log=
|
||||||
Stripped @1=
|
Hollow Cherry Log=
|
||||||
Acacia Log=
|
Hollow Dark Oak Log=
|
||||||
Birch Log=
|
Hollow Jungle Log=
|
||||||
Cherry Log=
|
Hollow Mangrove Log=
|
||||||
Crimson Stem=
|
Hollow Oak Log=
|
||||||
Dark Oak Log=
|
Hollow Spruce Log=
|
||||||
Jungle Log=
|
Hollow Crimson Stem=
|
||||||
Mangrove Log=
|
Hollow Warped Stem=
|
||||||
Oak Log=
|
Stripped Hollow Acacia Log=
|
||||||
Spruce Log=
|
Stripped Hollow Birch Log=
|
||||||
Warped Stem=
|
Stripped Hollow Cherry Log=
|
||||||
|
Stripped Hollow Dark Oak Log=
|
||||||
|
Stripped Hollow Jungle Log=
|
||||||
|
Stripped Hollow Mangrove Log=
|
||||||
|
Stripped Hollow Oak Log=
|
||||||
|
Stripped Hollow Spruce Log=
|
||||||
|
Stripped Hollow Crimson Stem=
|
||||||
|
Stripped Hollow Warped Stem=
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
name = mcl_hollow_logs
|
name = mcl_hollow_logs
|
||||||
depends = mcl_core, mcl_sounds, mcl_util
|
depends = mcl_core, mcl_sounds, mcl_util
|
||||||
optional_depends = mcl_cherry_blossom, mcl_crimson, mcl_mangrove
|
optional_depends = mcl_cherry_blossom, mcl_crimson, mcl_mangrove
|
||||||
|
author = JoseDouglas26
|
||||||
|
|
|
@ -1,134 +1,44 @@
|
||||||
minetest.register_craft({
|
for i = 1, #logs do
|
||||||
output = "mcl_core:acacia_log_hollow 4",
|
local mod, material, stripped_material
|
||||||
recipe = {
|
local name = logs[i][1]
|
||||||
{"", "mcl_core:acaciatree", ""},
|
|
||||||
{"mcl_core:acaciatree", "", "mcl_core:acaciatree"},
|
|
||||||
{"", "mcl_core:acaciatree", ""}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
if name:find("cherry") then
|
||||||
output = "mcl_core:stripped_acacia_log_hollow 4",
|
mod = "mcl_cherry_blossom:"
|
||||||
recipe = {
|
elseif name:find("mangrove") then
|
||||||
{"", "mcl_core:stripped_acacia", ""},
|
mod = "mcl_mangrove:"
|
||||||
{"mcl_core:stripped_acacia", "", "mcl_core:stripped_acacia"},
|
else
|
||||||
{"", "mcl_core:stripped_acacia", ""}
|
mod = "mcl_core:"
|
||||||
}
|
end
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
material = mod..name
|
||||||
output = "mcl_core:birch_log_hollow 4",
|
stripped_material = mod.."stripped_"..name
|
||||||
recipe = {
|
|
||||||
{"", "mcl_core:birchtree", ""},
|
|
||||||
{"mcl_core:birchtree", "", "mcl_core:birchtree"},
|
|
||||||
{"", "mcl_core:birchtree", ""}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
if name:find("mangrove") then
|
||||||
output = "mcl_core:stripped_birch_log_hollow 4",
|
stripped_material = "mcl_mangrove:mangrove_stripped"
|
||||||
recipe = {
|
end
|
||||||
{"", "mcl_core:stripped_birch", ""},
|
|
||||||
{"mcl_core:stripped_birch", "", "mcl_core:stripped_birch"},
|
|
||||||
{"", "mcl_core:stripped_birch", ""}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "mcl_core:dark_oak_log_hollow 4",
|
|
||||||
recipe = {
|
|
||||||
{"", "mcl_core:darktree", ""},
|
|
||||||
{"mcl_core:darktree", "", "mcl_core:darktree"},
|
|
||||||
{"", "mcl_core:darktree", ""}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "mcl_core:stripped_dark_oak_log_hollow 4",
|
|
||||||
recipe = {
|
|
||||||
{"", "mcl_core:stripped_dark_oak", ""},
|
|
||||||
{"mcl_core:stripped_dark_oak", "", "mcl_core:stripped_dark_oak"},
|
|
||||||
{"", "mcl_core:stripped_dark_oak", ""}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "mcl_core:jungle_log_hollow 4",
|
|
||||||
recipe = {
|
|
||||||
{"", "mcl_core:jungletree", ""},
|
|
||||||
{"mcl_core:jungletree", "", "mcl_core:jungletree"},
|
|
||||||
{"", "mcl_core:jungletree", ""}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "mcl_core:stripped_jungle_log_hollow 4",
|
|
||||||
recipe = {
|
|
||||||
{"", "mcl_core:stripped_jungle", ""},
|
|
||||||
{"mcl_core:stripped_jungle", "", "mcl_core:stripped_jungle"},
|
|
||||||
{"", "mcl_core:stripped_jungle", ""}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "mcl_core:spruce_log_hollow 4",
|
|
||||||
recipe = {
|
|
||||||
{"", "mcl_core:sprucetree", ""},
|
|
||||||
{"mcl_core:sprucetree", "", "mcl_core:sprucetree"},
|
|
||||||
{"", "mcl_core:sprucetree", ""}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "mcl_core:stripped_spruce_log_hollow 4",
|
|
||||||
recipe = {
|
|
||||||
{"", "mcl_core:stripped_spruce", ""},
|
|
||||||
{"mcl_core:stripped_spruce", "", "mcl_core:stripped_spruce"},
|
|
||||||
{"", "mcl_core:stripped_spruce", ""}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "mcl_core:oak_log_hollow 4",
|
|
||||||
recipe = {
|
|
||||||
{"", "mcl_core:tree", ""},
|
|
||||||
{"mcl_core:tree", "", "mcl_core:tree"},
|
|
||||||
{"", "mcl_core:tree", ""}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "mcl_core:stripped_oak_log_hollow 4",
|
|
||||||
recipe = {
|
|
||||||
{"", "mcl_core:stripped_oak", ""},
|
|
||||||
{"mcl_core:stripped_oak", "", "mcl_core:stripped_oak"},
|
|
||||||
{"", "mcl_core:stripped_oak", ""}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
if minetest.get_modpath("mcl_cherry_blossom") then
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "mcl_cherry_blossom:cherry_log_hollow 4",
|
output = "mcl_hollow_logs:"..logs[i][1].."_hollow 4",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"", "mcl_cherry_blossom:cherrytree", ""},
|
{"", material, ""},
|
||||||
{"mcl_cherry_blossom:cherrytree", "", "mcl_cherry_blossom:cherrytree"},
|
{material, "", material},
|
||||||
{"", "mcl_cherry_blossom:cherrytree", ""}
|
{"", material, ""}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "mcl_cherry_blossom:stripped_cherry_log_hollow 4",
|
output = "mcl_hollow_logs:stripped_"..logs[i][1].."_hollow 4",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"", "mcl_cherry_blossom:stripped_cherrytree", ""},
|
{"", stripped_material, ""},
|
||||||
{"mcl_cherry_blossom:stripped_cherrytree", "", "mcl_cherry_blossom:stripped_cherrytree"},
|
{stripped_material, "", stripped_material},
|
||||||
{"", "mcl_cherry_blossom:stripped_cherrytree", ""}
|
{"", stripped_material, ""}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
if minetest.get_modpath("mcl_crimson") then
|
if minetest.get_modpath("mcl_crimson") then
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "mcl_crimson:crimson_stem_hollow 4",
|
output = "mcl_crimson:crimson_hyphae_hollow 4",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"", "mcl_crimson:crimson_hyphae", ""},
|
{"", "mcl_crimson:crimson_hyphae", ""},
|
||||||
{"mcl_crimson:crimson_hyphae", "", "mcl_crimson:crimson_hyphae"},
|
{"mcl_crimson:crimson_hyphae", "", "mcl_crimson:crimson_hyphae"},
|
||||||
|
@ -137,7 +47,7 @@ if minetest.get_modpath("mcl_crimson") then
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "mcl_crimson:stripped_crimson_stem_hollow 4",
|
output = "mcl_crimson:stripped_crimson_hyphae_hollow 4",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"", "mcl_crimson:stripped_crimson_hyphae", ""},
|
{"", "mcl_crimson:stripped_crimson_hyphae", ""},
|
||||||
{"mcl_crimson:stripped_crimson_hyphae", "", "mcl_crimson:stripped_crimson_hyphae"},
|
{"mcl_crimson:stripped_crimson_hyphae", "", "mcl_crimson:stripped_crimson_hyphae"},
|
||||||
|
@ -146,7 +56,7 @@ if minetest.get_modpath("mcl_crimson") then
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "mcl_crimson:warped_stem_hollow 4",
|
output = "mcl_crimson:warped_hyphae_hollow 4",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"", "mcl_crimson:warped_hyphae", ""},
|
{"", "mcl_crimson:warped_hyphae", ""},
|
||||||
{"mcl_crimson:warped_hyphae", "", "mcl_crimson:warped_hyphae"},
|
{"mcl_crimson:warped_hyphae", "", "mcl_crimson:warped_hyphae"},
|
||||||
|
@ -155,7 +65,7 @@ if minetest.get_modpath("mcl_crimson") then
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "mcl_crimson:stripped_warped_stem_hollow 4",
|
output = "mcl_crimson:stripped_warped_hyphae_hollow 4",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"", "mcl_crimson:stripped_warped_hyphae", ""},
|
{"", "mcl_crimson:stripped_warped_hyphae", ""},
|
||||||
{"mcl_crimson:stripped_warped_hyphae", "", "mcl_crimson:stripped_warped_hyphae"},
|
{"mcl_crimson:stripped_warped_hyphae", "", "mcl_crimson:stripped_warped_hyphae"},
|
||||||
|
@ -164,26 +74,6 @@ if minetest.get_modpath("mcl_crimson") then
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
if minetest.get_modpath("mcl_mangrove") then
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "mcl_mangrove:mangrove_log_hollow 4",
|
|
||||||
recipe = {
|
|
||||||
{"", "mcl_mangrove:mangrove_tree", ""},
|
|
||||||
{"mcl_mangrove:mangrove_tree", "", "mcl_mangrove:mangrove_tree"},
|
|
||||||
{"", "mcl_mangrove:mangrove_tree", ""}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "mcl_mangrove:stripped_mangrove_log_hollow 4",
|
|
||||||
recipe = {
|
|
||||||
{"", "mcl_mangrove:mangrove_stripped", ""},
|
|
||||||
{"mcl_mangrove:mangrove_stripped", "", "mcl_mangrove:mangrove_stripped"},
|
|
||||||
{"", "mcl_mangrove:mangrove_stripped", ""}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
end
|
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
burntime = 10,
|
burntime = 10,
|
||||||
recipe = "group:hollow_log",
|
recipe = "group:hollow_log",
|
||||||
|
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |