mcl_copper

This commit is contained in:
JoseDouglas26 2024-05-26 19:15:50 -03:00
parent 82908cfdca
commit 3bd570add3
13 changed files with 763 additions and 1768 deletions

View File

@ -1,5 +1,7 @@
# VoxeLibre Copper
### by NO11, JoseDouglas26 and teknomunk
### by NO11
Adds copper ore, blocks and items.
![screenshot](./screenshot.png)

View File

@ -1,213 +1,3 @@
--- This function determines the format of the crafting recipe in the crafting grid based on the
--- block name. Each block must have its own crafting format for the given material(s).
--- Some materials in the recipe can be pre-defined (e.g. copper bulbs have fixed materials
--- (blaze stick and redstone) and materials that vary according to the material parameter).
--- material can be nil if the recipe uses copper ingots.
---@param name string
---@param material string|nil
---@return table
local function get_shape(name, material)
if not material then
material = "mcl_copper:copper_ingot"
end
if name == "cut" then -- Shape of cut copper blocks.
return {
{material, material},
{material, material}
}
elseif name == "grate" then -- Shape of copper grates.
return {
{"", material, ""},
{material, "", material},
{"", material, ""}
}
elseif name == "chiseled" then -- Shape of chiseled copper blocks.
return {
{material},
{material},
}
elseif name == "bulb_off" then -- Shape of copper bulbs (with fixed materials).
return {
{"", material, ""},
{material, "mcl_mobitems:blaze_rod", material},
{"", "mesecons:redstone", ""}
}
elseif name == "mcl_copper:door" then
return {
{material, material},
{material, material},
{material, material}
}
elseif name:find("trapdoor") then
return {
{material, material},
{material, material}
}
elseif name:find("button_copper_off") then
return {material}
elseif name:find("pressure_plate_copper_off") then
return {
{material, material}
}
elseif name:find("bars_copper_flat") then
return {
{material, material, material},
{material, material, material}
}
else
return {}
end
end
--- This function is responsible for recording the recipes for each block (including oxidized variants).
--- If the recipe's main material is the Block of Copper, the material parameter must be passed as "block".
--- If the main material is another block (as in the case of the chiseled copper block), the material
--- parameter must be a table containing 8 itemstrings of the blocks used in the recipes.
--- Special fixed materials (such as copper bulbs) must be registered to the crafting grid format in the
--- get_shape function.
---@param name string
---@param material string|table
---@param amount integer
local function register_variants_recipes(name, material, amount)
local names
local materials = {}
-- Handling the inconsistency of the original itemstrings.
if name ~= "cut" then
names = {
name, "waxed_"..name,
name.."_exposed", "waxed_"..name.."_exposed",
name.."_weathered", "waxed_"..name.."_weathered",
name.."_oxidized", "waxed_"..name.."_oxidized"
}
else
names = {
"block_"..name, "waxed_block_"..name,
"block_exposed_"..name, "waxed_block_exposed_"..name,
"block_weathered_"..name, "waxed_block_weathered_"..name,
"block_oxidized_"..name, "waxed_block_oxidized_"..name
}
end
-- Checking the type of material.
if type(material) == "string" then
materials = {
"mcl_copper:"..material, "mcl_copper:waxed_"..material,
"mcl_copper:"..material.."_exposed", "mcl_copper:waxed_"..material.."_exposed",
"mcl_copper:"..material.."_weathered", "mcl_copper:waxed_"..material.."_weathered",
"mcl_copper:"..material.."_oxidized", "mcl_copper:waxed_"..material.."_oxidized"
}
else
materials = material
end
-- Registering each recipe according to the materials blocks made from copper and its oxidized and
-- waxed variations.
for i = 1, 8 do
minetest.register_craft({
output = "mcl_copper:"..names[i].." "..tostring(amount),
recipe = get_shape(name, materials[i])
})
end
end
-- Using the function above to record the recipes for cut copper blocks, copper grates and copper bulbs.
register_variants_recipes("cut", "block", 4)
register_variants_recipes("grate", "block", 4)
register_variants_recipes("bulb_off", "block", 4)
--- Function used to register recipes that uses copper ingots as material.
---@param name string
---@param amount integer
local function register_ingot_recipes(name, amount)
local type = "shaped"
if name:find("button") then
type = "shapeless"
end
minetest.register_craft({
output = name.." "..tostring(amount),
recipe = get_shape(name, nil),
type = type
})
end
-- Blocks made with copper ingots.
local made_of_ingots = {
{"xpanes:bars_copper_flat", 16},
{"mesecons_button:button_copper_off", 1},
{"mcl_copper:door", 3},
{"mcl_copper:pressure_plate_copper_off", 1},
{"mcl_copper:trapdoor", 2}
}
-- Registering crafting recipes for blocks made with copper ingot.
for i = 1, #made_of_ingots do
register_ingot_recipes(made_of_ingots[i][1], made_of_ingots[i][2])
end
-- Chiseled copper uses slabs as the main material.
local chiseled_materials = {
"mcl_stairs:slab_copper_cut",
"mcl_stairs:slab_waxed_copper_cut",
"mcl_stairs:slab_copper_exposed_cut",
"mcl_stairs:slab_waxed_copper_exposed_cut",
"mcl_stairs:slab_copper_weathered_cut",
"mcl_stairs:slab_waxed_copper_weathered_cut",
"mcl_stairs:slab_copper_oxidized_cut",
"mcl_stairs:slab_waxed_copper_oxidized_cut"
}
-- Registering recipes for chiseled copper blocks using the slabs.
register_variants_recipes("chiseled", chiseled_materials, 1)
-- List of blocks that can be waxed.
local waxable_blocks = {
"block",
"block_cut",
"grate",
"chiseled",
"bulb_off",
"block_exposed",
"block_exposed_cut",
"grate_exposed",
"chiseled_exposed",
"bulb_off_exposed",
"block_weathered",
"block_weathered_cut",
"grate_weathered",
"chiseled_weathered",
"bulb_off_weathered",
"block_oxidized",
"block_oxidized_cut",
"grate_oxidized",
"chiseled_oxidized",
"bulb_off_oxidized"
}
-- Registering the waxing recipes for each block listed above.
for _, w in ipairs(waxable_blocks) do
minetest.register_craft({
output = "mcl_copper:waxed_"..w,
recipe = {
{ "mcl_copper:"..w, "mcl_honey:honeycomb" },
},
})
end
-- List of blocks that can be cutted on stonecutter.
local cuttable_blocks = {
"block",
"waxed_block",
"block_exposed",
"waxed_block_exposed",
"block_weathered",
"waxed_block_weathered",
"block_oxidized",
"waxed_block_oxidized"
}
-- Registering stonecutter recipes using the blocks listed above.
for _, c in ipairs(cuttable_blocks) do
mcl_stonecutter.register_recipe("mcl_copper:"..c, "mcl_copper:"..c.."_cut", 4)
--mcl_stonecutter.register_recipe("mcl_copper:"..c, "mcl_copper:"..c:gsub("block", "grate"), 4)
--mcl_stonecutter.register_recipe("mcl_copper:"..c, "mcl_copper:"..c:gsub("block", "chiseled"), 4)
--mcl_stonecutter.register_recipe("mcl_copper:"..c.."_cut", "mcl_copper:"..c:gsub("block", "chiseled"))
end
-- Registering blocks and items specific recipes.
minetest.register_craft({
output = "mcl_copper:block_raw",
recipe = {
@ -226,6 +16,55 @@ minetest.register_craft({
},
})
minetest.register_craft({
output = "mcl_copper:block_cut 4",
recipe = {
{ "mcl_copper:block", "mcl_copper:block" },
{ "mcl_copper:block", "mcl_copper:block" },
},
})
minetest.register_craft({
output = "mcl_copper:block_exposed_cut 4",
recipe = {
{ "mcl_copper:block_exposed", "mcl_copper:block_exposed" },
{ "mcl_copper:block_exposed", "mcl_copper:block_exposed" },
},
})
minetest.register_craft({
output = "mcl_copper:block_oxidized_cut 4",
recipe = {
{ "mcl_copper:block_oxidized", "mcl_copper:block_oxidized" },
{ "mcl_copper:block_oxidized", "mcl_copper:block_oxidized" },
},
})
minetest.register_craft({
output = "mcl_copper:block_weathered_cut 4",
recipe = {
{ "mcl_copper:block_weathered", "mcl_copper:block_weathered" },
{ "mcl_copper:block_weathered", "mcl_copper:block_weathered" },
},
})
local waxable_blocks = { "block", "block_cut", "block_exposed", "block_exposed_cut", "block_weathered", "block_weathered_cut", "block_oxidized", "block_oxidized_cut" }
for _, w in ipairs(waxable_blocks) do
minetest.register_craft({
output = "mcl_copper:waxed_"..w,
recipe = {
{ "mcl_copper:"..w, "mcl_honey:honeycomb" },
},
})
end
local cuttable_blocks = { "block", "waxed_block", "block_exposed", "waxed_block_exposed", "block_weathered", "waxed_block_weathered", "block_oxidized", "waxed_block_oxidized" }
for _, c in ipairs(cuttable_blocks) do
mcl_stonecutter.register_recipe("mcl_copper:"..c, "mcl_copper:"..c.."_cut", 4)
end
minetest.register_craft({
output = "mcl_copper:copper_ingot 9",
recipe = {

View File

@ -1,202 +0,0 @@
local S = minetest.get_translator("mcl_copper")
-- Copper-related blocks descriptions, indexed by its names and selected by its position on the
-- oxidation chain.
mcl_copper.copper_descs = {
["block"] = {
S("Block of Copper"), S("Waxed Block of Copper"),
S("Exposed Copper"), S("Waxed Exposed Copper"),
S("Weathered Copper"), S("Waxed Weathered Copper"),
S("Oxidized Copper"), S("Waxed Oxidized Copper")
},
["cut"] = {
S("Cut Copper"), S("Waxed Cut Copper"),
S("Exposed Cut Copper"), S("Waxed Exposed Cut Copper"),
S("Weathered Cut Copper"), S("Waxed Weathered Cut Copper"),
S("Oxidized Cut Copper"), S("Waxed Oxidized Cut Copper")
},
["grate"] = {
S("Copper Grate"), S("Waxed Copper Grate"),
S("Exposed Copper Grate"), S("Waxed Exposed Copper Grate"),
S("Weathered Copper Grate"), S("Waxed Weathered Copper Grate"),
S("Oxidized Copper Grate"), S("Waxed Oxidized Copper Grate")
},
["chiseled"] = {
S("Chiseled Copper"), S("Waxed Chiseled Copper"),
S("Exposed Chiseled Copper"), S("Waxed Exposed Chiseled Copper"),
S("Weathered Chiseled Copper"), S("Waxed Weathered Chiseled Copper"),
S("Oxidized Chiseled Copper"), S("Waxed Oxidized Chiseled Copper")
},
["bulb_off"] = {
S("Copper Bulb"), S("Waxed Copper Bulb"),
S("Exposed Copper Bulb"), S("Waxed Exposed Copper Bulb"),
S("Weathered Copper Bulb"), S("Waxed Weathered Copper Bulb"),
S("Oxidized Copper Bulb"), S("Waxed Oxidized Copper Bulb")
},
["bulb_on"] = {
S("Copper Bulb").." "..S("(Lit)"),
S("Waxed Copper Bulb").." "..S("(Lit)"),
S("Exposed Copper Bulb").." "..S("(Lit)"),
S("Waxed Exposed Copper Bulb").." "..S("(Lit)"),
S("Weathered Copper Bulb").." "..S("(Lit)"),
S("Waxed Weathered Copper Bulb").." "..S("(Lit)"),
S("Oxidized Copper Bulb").." "..S("(Lit)"),
S("Waxed Oxidized Copper Bulb").." "..S("(Lit)")
},
["bulb_powered_off"] = {
S("Copper Bulb").." "..S("(Powered)"),
S("Waxed Copper Bulb").." "..S("(Powered)"),
S("Exposed Copper Bulb").." "..S("(Powered)"),
S("Waxed Exposed Copper Bulb").." "..S("(Powered)"),
S("Weathered Copper Bulb").." "..S("(Powered)"),
S("Waxed Weathered Copper Bulb").." "..S("(Powered)"),
S("Oxidized Copper Bulb").." "..S("(Powered)"),
S("Waxed Oxidized Copper Bulb").." "..S("(Powered)")
},
["bulb_powered_on"] = {
S("Copper Bulb").." "..S("(Lit and Powered)"),
S("Waxed Copper Bulb").." "..S("(Lit and Powered)"),
S("Exposed Copper Bulb").." "..S("(Lit and Powered)"),
S("Waxed Exposed Copper Bulb").." "..S("(Lit and Powered)"),
S("Weathered Copper Bulb").." "..S("(Lit and Powered)"),
S("Waxed Weathered Copper Bulb").." "..S("(Lit and Powered)"),
S("Oxidized Copper Bulb").." "..S("(Lit and Powered)"),
S("Waxed Oxidized Copper Bulb").." "..S("(Lit and Powered)")
}
}
-- All longdescs for copper-related blocks. Waxed variants share the same description with its unwaxed
-- variant. Like the descriptions, they are indexed by the block name.
mcl_copper.copper_longdescs = {
["block"] = {
S("A block of copper is mostly a decorative block."),
S("Exposed copper is a decorative block."),
S("Weathered copper is a decorative block."),
S("Oxidized copper is a decorative block.")
},
["cut"] = {
S("Cut copper is a decorative block."),
S("Exposed cut copper is a decorative block."),
S("Weathered cut copper is a decorative block."),
S("Oxidized cut copper is a decorative block.")
},
["grate"] = {
S("Copper grate is a decorative block."),
S("Exposed copper grate is a decorative block."),
S("Weathered copper grate is a decorative block."),
S("Oxidized copper grate is a decorative block.")
},
["chiseled"] = {
S("Chiseled copper is a decorative block."),
S("Exposed chiseled copper is a decorative block."),
S("Weathered chiseled copper is a decorative block."),
S("Oxidized chiseled copper is a decorative block.")
},
["bulb_off"] = {
S("Copper bulb is a decorative block and a light source when lited."),
S("Exposed copper bulb is a decorative block and a light source when lited."),
S("Weathered copper bulb is a decorative block and a light source when lited."),
S("Oxidized copper bulb is a decorative block and a light source when lited.")
},
["bulb_on"] = {
S("Copper bulb is a decorative block and a light source."),
S("Exposed copper bulb is a decorative block and a light source."),
S("Weathered copper bulb is a decorative block and a light source."),
S("Oxidized copper bulb is a decorative block and a light source.")
},
["bulb_powered_off"] = {
S("Copper bulb is a decorative block and a light source when lited."),
S("Exposed copper bulb is a decorative block and a light source when lited."),
S("Weathered copper bulb is a decorative block and a light source when lited."),
S("Oxidized copper bulb is a decorative block and a light source when lited.")
},
["bulb_powered_on"] = {
S("Copper bulb is a decorative block and a light source."),
S("Exposed copper bulb is a decorative block and a light source."),
S("Weathered copper bulb is a decorative block and a light source."),
S("Oxidized copper bulb is a decorative block and a light source.")
}
}
-- Subnames for copper stairs and slabs. For now, just indexed for the cut copper blocks.
mcl_copper.stairs_subnames = {
["cut"] = {
"copper_cut", "waxed_copper_cut",
"copper_exposed_cut", "waxed_copper_exposed_cut",
"copper_weathered_cut", "waxed_copper_weathered_cut",
"copper_oxidized_cut", "waxed_copper_oxidized_cut"
}
}
-- Descriptions for the mcl_stairs blocks. Indexed by the name of oxidation stage of its material.
mcl_copper.stairs_descs = {
["copper_cut"] = {
S("Slab of Cut Copper"),
S("Double Slab of Cut Copper"),
S("Stairs of Cut Copper"),
},
["waxed_copper_cut"] = {
S("Waxed Slab of Cut Copper"),
S("Waxed Double Slab of Cut Copper"),
S("Waxed Stairs of Cut Copper"),
},
["copper_exposed_cut"] = {
S("Slab of Exposed Cut Copper"),
S("Double Slab of Exposed Cut Copper"),
S("Stairs of Exposed Cut Copper")
},
["waxed_copper_exposed_cut"] = {
S("Waxed Slab of Exposed Cut Copper"),
S("Waxed Double Slab of Exposed Cut Copper"),
S("Waxed Stairs of Exposed Cut Copper")
},
["copper_weathered_cut"] = {
S("Slab of Weathered Cut Copper"),
S("Double Slab of Weathered Cut Copper"),
S("Stairs of Weathered Cut Copper")
},
["waxed_copper_weathered_cut"] = {
S("Waxed Slab of Weathered Cut Copper"),
S("Waxed Double Slab of Weathered Cut Copper"),
S("Waxed Stairs of Weathered Cut Copper")
},
["copper_oxidized_cut"] = {
S("Slab of Oxidized Cut Copper"),
S("Double Slab of Oxidized Cut Copper"),
S("Stairs of Oxidized Cut Copper")
},
["waxed_copper_oxidized_cut"] = {
S("Waxed Slab of Oxidized Cut Copper"),
S("Waxed Double Slab of Oxidized Cut Copper"),
S("Waxed Stairs of Oxidized Cut Copper")
}
}
-- Description for the mcl_doors blocks. Selected by its position on the inner table.
-- {door_description, trapdoor_description}.
mcl_copper.doors_descs = {
{S("Copper Door"), S("Copper Trapdoor")},
{S("Waxed Copper Door"), S("Waxed Copper Trapdoor")},
{S("Exposed Copper Door"), S("Exposed Copper Trapdoor")},
{S("Waxed Exposed Copper Door"), S("Waxed Exposed Copper Trapdoor")},
{S("Weathered Copper Door"), S("Weathered Copper Trapdoor")},
{S("Waxed Weathered Copper Door"), S("Waxed Weathered Copper Trapdoor")},
{S("Oxidized Copper Door"), S("Oxidized Copper Trapdoor")},
{S("Waxed Oxidized Copper Door"), S("Waxed Oxidized Copper Trapdoor")}
}
-- Description for copper buttons, selected by its position on the table.
mcl_copper.button_descs = {
S("Copper Button"), S("Waxed Copper Button"),
S("Exposed Copper Button"), S("Waxed Exposed Copper Button"),
S("Weathered Copper Button"), S("Waxed Weathered Copper Button"),
S("Oxidized Copper Button"), S("Waxed Oxidized Copper Button")
}
-- Description for copper pressure plates, selected by its position on the table.
mcl_copper.pp_descs = {
S("Copper Pressure Plate"), S("Waxed Copper Pressure Plate"),
S("Exposed Copper Pressure Plate"), S("Waxed Exposed Copper Pressure Plate"),
S("Weathered Copper Pressure Plate"), S("Waxed Weathered Copper Pressure Plate"),
S("Oxidized Copper Pressure Plate"), S("Waxed Oxidized Copper Pressure Plate")
}
-- Description for copper bars, selected by its position on the table.
mcl_copper.bars_descs = {
S("Copper Bars"), S("Waxed Copper Bars"),
S("Exposed Copper Bars"), S("Waxed Exposed Copper Bars"),
S("Weathered Copper Bars"), S("Waxed Weathered Copper Bars"),
S("Oxidized Copper Bars"), S("Waxed Oxidized Copper Bars")
}

View File

@ -1,208 +1,132 @@
mcl_copper.subnodes = {
["bars_copper"] = {"", "flat"},
["button_copper"] = {"off"},
["door"] = {"b_1", "b_2", "b_3", "b_4", "t_1", "t_2", "t_3", "t_4"},
["pressure_plate_copper"] = {"off"},
["slab_copper"] = {"", "double", "top"},
["stair_copper"] = {"", "inner", "outer"},
["trapdoor"] = {"", "open"}
local stair_oxidization = {
{ "cut", "exposed_cut" },
{ "cut_inner", "exposed_cut_inner" },
{ "cut_outer", "exposed_cut_outer" },
{ "exposed_cut", "weathered_cut" },
{ "exposed_cut_inner", "weathered_cut_inner" },
{ "exposed_cut_outer", "weathered_cut_outer" },
{ "weathered_cut", "oxidized_cut" },
{ "weathered_cut_inner", "oxidized_cut_inner" },
{ "weathered_cut_outer", "oxidized_cut_outer" }
}
-- Functions used to strip wax from the other half of the door
local function strip(pos, node, node_def)
local node = node or minetest.get_node(pos)
local node_def = node_def or minetest.registered_nodes[node.name]
if not node_def then return end
if not node_def._mcl_stripped_variant then return end
node.name = node_def._mcl_stripped_variant
minetest.swap_node(pos, node)
end
local function strip_door_top(pos, node, node_def)
strip(vector.offset(pos, 0, 1, 0))
end
local function strip_door_bottom(pos, node, node_def)
strip(vector.offset(pos, 0, -1, 0))
end
-- Functions used to wax the other half of the door
local function wax(pos, node, node_def)
local node = node or minetest.get_node(pos)
local node_def = node_def or minetest.registered_nodes[node.name]
if not node_def then return end
if not node_def._mcl_waxed_variant then return end
node.name = node_def._mcl_waxed_variant
minetest.swap_node(pos, node)
end
local function wax_door_top(pos, node, node_def)
wax(vector.offset(pos, 0, 1, 0))
end
local function wax_door_bottom(pos, node, node_def)
wax(vector.offset(pos, 0, -1, 0))
end
-- Functions used to oxidize the other half of the door.
local function oxidize_door_top(pos, node, node_def)
mcl_oxidize.oxidize(vector.offset(pos, 0, 1, 0))
end
local function oxidize_door_bottom(pos, node, node_def)
mcl_oxidize.oxidize(vector.offset(pos, 0, 1, 0))
end
--- Function used to define the oxidized and stripped variants of copper-related blocks that
--- are registered by APIs external to mcl_copper (stairs, slabs, doors and trapdoors). "mod_name"
--- should be the name of the mod the blocks belong to. "subname" must be the subname of the block that
--- will receive the changes (see registered subnames below). "decay_chain" should be a table containing
--- the list of subnames of the block oxidation chain (without the waxed variants subnames).
---@param mod_name string
---@param subname string
---@param decay_chain table
local function register_oxidation_and_scraping(mod_name, subname, decay_chain)
local item, oxidized_item
-- Handling special decay chain names.
if mod_name == "mcl_stairs" then
for i = 1, 4 do
decay_chain[i] = decay_chain[i].."_cut"
end
end
for i = 1, #decay_chain - 1 do
item = mod_name..":"..subname..decay_chain[i]
oxidized_item = mod_name..":"..subname..decay_chain[i + 1]
for _, subnode in pairs(mcl_copper.subnodes[subname]) do
if subnode == "" then
minetest.override_item(item, {_mcl_oxidized_variant = oxidized_item})
minetest.override_item(oxidized_item, {_mcl_stripped_variant = item})
else
if subname == "door" then
if subnode:find("b_") then
minetest.override_item(item.."_"..subnode,
{
_mcl_oxidized_variant = oxidized_item.."_"..subnode,
_mcl_on_oxidize = oxidize_door_top,
}
)
minetest.override_item(oxidized_item.."_"..subnode,
{
_mcl_stripped_variant = item.."_"..subnode,
_mcl_on_strip = strip_door_top,
}
)
else
minetest.override_item(item.."_"..subnode,
{
_mcl_oxidized_variant = oxidized_item.."_"..subnode,
_mcl_on_oxidize = oxidize_door_bottom,
}
)
minetest.override_item(oxidized_item.."_"..subnode,
{
_mcl_stripped_variant = item.."_"..subnode,
_mcl_on_strip = strip_door_bottom,
}
)
end
else
minetest.override_item(item.."_"..subnode,
{_mcl_oxidized_variant = oxidized_item.."_"..subnode}
)
minetest.override_item(oxidized_item.."_"..subnode,
{_mcl_stripped_variant = item.."_"..subnode}
)
end
end
end
end
end
--- Function used to define the waxed and stripped variants (for the waxed variants) of copper-related
--- blocks that are registered by APIs external to mcl_copper (stairs, slabs, doors and trapdoors).
--- "mod_name" should be the name of the mod the blocks belong to. "subname" must be the subname of the
--- block that will receive the changes (see registered subnames below). "decay_chain" should be a table
--- containing the list of subnames of the block oxidation chain (without the waxed variants subnames).
local function register_waxing_and_scraping(mod_name, subname, decay_chain)
local waxed_item, unwaxed_item
-- Handling special decay chain names.
if mod_name == "mcl_stairs" then
for i = 1, 4 do
decay_chain[i] = decay_chain[i].."_cut"
end
end
for i = 1, #decay_chain do
waxed_item = mod_name..":"..subname..decay_chain[i]
unwaxed_item = mod_name..":"..subname:gsub("waxed_", "")..decay_chain[i]
for _, subnode in pairs(mcl_copper.subnodes[subname]) do
if subnode == "" then
minetest.override_item(waxed_item, {_mcl_stripped_variant = unwaxed_item})
minetest.override_item(unwaxed_item, {_mcl_waxed_variant = waxed_item})
else
if subname == "door" then
if subnode:find("b_") then
minetest.override_item(waxed_item.."_"..subnode,
{
_mcl_stripped_variant = unwaxed_item.."_"..subnode,
_mcl_on_strip = strip_door_top,
}
)
minetest.override_item(unwaxed_item.."_"..subnode,
{
_mcl_waxed_variant = waxed_item.."_"..subnode,
_mcl_on_wax = wax_door_top,
}
)
else
minetest.override_item(waxed_item.."_"..subnode,
{
_mcl_stripped_variant = unwaxed_item.."_"..subnode,
_mcl_on_strip = strip_door_bottom,
}
)
minetest.override_item(unwaxed_item.."_"..subnode,
{
_mcl_waxed_variant = waxed_item.."_"..subnode,
_mcl_on_wax = wax_door_bottom,
}
)
end
else
minetest.override_item(waxed_item.."_"..subnode,
{_mcl_stripped_variant = unwaxed_item.."_"..subnode}
)
minetest.override_item(unwaxed_item.."_"..subnode,
{_mcl_waxed_variant = waxed_item.."_"..subnode}
)
end
end
end
end
end
-- Decay chain for almost all blocks.
local decay_chain = {
"",
"_exposed",
"_weathered",
"_oxidized"
local slab_oxidization = {
{ "cut", "exposed_cut" },
{ "cut_top", "exposed_cut_top" },
{ "cut_double", "exposed_cut_double" },
{ "exposed_cut", "weathered_cut" },
{ "exposed_cut_top", "weathered_cut_top" },
{ "exposed_cut_double", "weathered_cut_double" },
{ "weathered_cut", "oxidized_cut" },
{ "weathered_cut_top", "oxidized_cut_top" },
{ "weathered_cut_double", "oxidized_cut_double" },
}
-- Blocks per mod. {mod_name, unwaxed (first on decay chain), waxed (first waxed on decay chain)}
local mods_and_blocks = {
{"xpanes", "bars_copper", "bars_waxed_copper"},
{"mesecons_button", "button_copper", "button_waxed_copper"},
{"mcl_copper", "door", "waxed_door"},
{"mcl_copper", "pressure_plate_copper", "pressure_plate_waxed_copper"},
{"mcl_stairs", "slab_copper", "slab_waxed_copper"},
{"mcl_stairs", "stair_copper", "stair_waxed_copper"},
{"mcl_copper", "trapdoor", "waxed_trapdoor"}
}
-- Defining variants for almost all blocks registered by other API's.
for _, mod_and_blocks in pairs(mods_and_blocks) do
local mod = mod_and_blocks[1]
local oxidize_and_scrap = mod_and_blocks[2]
local wax_and_scrap = mod_and_blocks[3]
register_oxidation_and_scraping(mod, oxidize_and_scrap, decay_chain)
register_waxing_and_scraping(mod, wax_and_scrap, decay_chain)
local def
local def_variant_oxidized
local def_variant_waxed
local def_variant_scraped
-- set up oxidized and waxed variants.
for i = 1, #stair_oxidization do
-- stairs
def = "mcl_stairs:stair_copper_" .. stair_oxidization[i][1]
def_variant_oxidized = "mcl_stairs:stair_copper_" .. stair_oxidization[i][2]
minetest.override_item(def, { _mcl_oxidized_variant = def_variant_oxidized })
def_variant_waxed = "mcl_stairs:stair_waxed_copper_" .. stair_oxidization[i][1]
minetest.override_item(def, { _mcl_waxed_variant = def_variant_waxed })
-- slabs
def = "mcl_stairs:slab_copper_" .. slab_oxidization[i][1]
def_variant_oxidized = "mcl_stairs:slab_copper_" .. slab_oxidization[i][2]
minetest.override_item(def, { _mcl_oxidized_variant = def_variant_oxidized })
def_variant_waxed = "mcl_stairs:slab_waxed_copper_" .. slab_oxidization[i][1]
minetest.override_item(def, { _mcl_waxed_variant = def_variant_waxed })
end
-- Set up scraped variants.
for i = 1, #stair_oxidization do
-- does both stairs and slabs.
if i > 3 then
def = "mcl_stairs:stair_copper_" .. stair_oxidization[i][1]
def_variant_scraped = "mcl_stairs:stair_copper_" .. stair_oxidization[i - 3][1]
minetest.override_item(def, { _mcl_stripped_variant = def_variant_scraped })
def = "mcl_stairs:slab_copper_" .. slab_oxidization[i][1]
def_variant_scraped = "mcl_stairs:slab_copper_" .. slab_oxidization[i - 3][1]
minetest.override_item(def, { _mcl_stripped_variant = def_variant_scraped })
end
if i > 6 then
def = "mcl_stairs:stair_copper_" .. stair_oxidization[i][2]
def_variant_scraped = "mcl_stairs:stair_copper_" .. stair_oxidization[i][1]
minetest.override_item(def, { _mcl_stripped_variant = def_variant_scraped })
def = "mcl_stairs:slab_copper_" .. slab_oxidization[i][2]
def_variant_scraped = "mcl_stairs:slab_copper_" .. slab_oxidization[i][1]
minetest.override_item(def, { _mcl_stripped_variant = def_variant_scraped })
end
end
-- Set up scraped variants for waxed stairs.
local waxed_variants = {
{ "waxed_copper_cut", "copper_cut" },
{ "waxed_copper_exposed_cut", "copper_exposed_cut" },
{ "waxed_copper_weathered_cut", "copper_weathered_cut" },
{ "waxed_copper_oxidized_cut", "copper_oxidized_cut" },
}
for i = 1, #waxed_variants do
-- stairs
def = "mcl_stairs:stair_" .. waxed_variants[i][1]
def_variant_scraped = "mcl_stairs:stair_" .. waxed_variants[i][2]
minetest.override_item(def, { _mcl_stripped_variant = def_variant_scraped })
def = "mcl_stairs:stair_" .. waxed_variants[i][1] .. "_inner"
def_variant_scraped = "mcl_stairs:stair_" .. waxed_variants[i][2] .. "_inner"
minetest.override_item(def, { _mcl_stripped_variant = def_variant_scraped })
def = "mcl_stairs:stair_" .. waxed_variants[i][1] .. "_outer"
def_variant_scraped = "mcl_stairs:stair_" .. waxed_variants[i][2] .. "_outer"
minetest.override_item(def, { _mcl_stripped_variant = def_variant_scraped })
-- slab
def = "mcl_stairs:slab_" .. waxed_variants[i][1]
def_variant_scraped = "mcl_stairs:slab_" .. waxed_variants[i][2]
minetest.override_item(def, { _mcl_stripped_variant = def_variant_scraped })
def = "mcl_stairs:slab_" .. waxed_variants[i][1] .. "_top"
def_variant_scraped = "mcl_stairs:slab_" .. waxed_variants[i][2] .. "_top"
minetest.override_item(def, { _mcl_stripped_variant = def_variant_scraped })
def = "mcl_stairs:slab_" .. waxed_variants[i][1] .. "_double"
def_variant_scraped = "mcl_stairs:slab_" .. waxed_variants[i][2] .. "_double"
minetest.override_item(def, { _mcl_stripped_variant = def_variant_scraped })
end
-- Waxed Oxidized Slabs and Stairs
local oxidized_slabs = {
"oxidized_cut",
"oxidized_cut_double",
"oxidized_cut_top"
}
for i = 1, #oxidized_slabs do
def = "mcl_stairs:slab_copper_" .. oxidized_slabs[i]
def_variant_waxed = "mcl_stairs:slab_waxed_copper_" .. oxidized_slabs[i]
minetest.override_item(def, { _mcl_waxed_variant = def_variant_waxed })
end
local oxidized_stairs = {
"oxidized_cut",
"oxidized_cut_inner",
"oxidized_cut_outer"
}
for i = 1, #oxidized_stairs do
def = "mcl_stairs:stair_copper_" .. oxidized_stairs[i]
def_variant_waxed = "mcl_stairs:stair_waxed_copper_" .. oxidized_stairs[i]
minetest.override_item(def, { _mcl_waxed_variant = def_variant_waxed })
end

View File

@ -1,15 +1,8 @@
local path = minetest.get_modpath("mcl_copper") -- Getting mcl_copper mod path
local path = minetest.get_modpath("mcl_copper")
mcl_copper = {} -- Initializing global variable mcl_copper.
mcl_copper = {} -- initialize global variable.
-- Loading the file containing the descriptions and longdescs of each block
dofile(path .. "/descriptions.lua")
-- Loading the file that registers all blocks provided by this mod
dofile(path .. "/nodes.lua")
-- Loading the file that registers craftitems
dofile(path .. "/items.lua")
-- Loading the file that registers the blocks crafting recipes
dofile(path .. "/crafting.lua")
-- Loading the file that handles oxidized, waxed and stripped variants for blocks that are registered
-- in other mods and normally do not have these variants.
dofile(path .. "/functions.lua")

View File

@ -1,140 +1,37 @@
# textdomain: mcl_copper
Block of Copper=Kupferblock
Waxed Block of Copper=
Exposed Copper=Angelaufener Kupferblock
Waxed Exposed Copper=
Weathered Copper=Verwitterter Kupferblock
Waxed Weathered Copper=
Oxidized Copper=Oxidierter Kupferblock
Waxed Oxidized Copper=
Cut Copper=Geschnittener Kupferblock
Waxed Cut Copper=
Exposed Cut Copper=Angelaufener geschnittener Kupferblock
Waxed Exposed Cut Copper=
Weathered Cut Copper=Verwitterter geschnittener Kupferblock
Waxed Weathered Cut Copper=
Oxidized Cut Copper=Oxidierter geschnittener Kupferblock
Waxed Oxidized Cut Copper=
Copper Grate=
Waxed Copper Grate=
Exposed Copper Grate=
Waxed Exposed Copper Grate=
Weathered Copper Grate=
Waxed Weathered Copper Grate=
Oxidized Copper Grate=
Waxed Oxidized Copper Grate=
Chiseled Copper=
Waxed Chiseled Copper=
Exposed Chiseled Copper=
Waxed Exposed Chiseled Copper=
Weathered Chiseled Copper=
Waxed Weathered Chiseled Copper=
Oxidized Chiseled Copper=
Waxed Oxidized Chiseled Copper=
Copper Bulb=
Waxed Copper Bulb=
Exposed Copper Bulb=
Waxed Exposed Copper Bulb=
Weathered Copper Bulb=
Waxed Weathered Copper Bulb=
Oxidized Copper Bulb=
Waxed Oxidized Copper Bulb=
(Lit)=
(Powered)=
(Lit and Powered)=
A block of copper is mostly a decorative block.=Ein Kupferblock wird meistens als dekorativer Block verwendet.
Exposed copper is a decorative block.=Ein Angelaufener Kupferblock ist ein dekorativer Block.
Weathered copper is a decorative block.=Ein Verwitterter Kupferblock ist ein dekorativer Block.
Oxidized copper is a decorative block.=Ein Oxidierter Kupferblockist ist ein dekorativer Block.
Cut copper is a decorative block.=Ein Geschnittener Kupferblock ist ein dekorativer Block.
Exposed cut copper is a decorative block.=Ein Angelaufener geschnittener Kupferblock ist ein dekorativer Block.
Weathered cut copper is a decorative block.=Ein Verwitterter geschnittener Kupferblock ist ein dekorativer Block.
Oxidized cut copper is a decorative block.=Ein Oxidierter geschnittener Kupferblock ist ein dekorativer Block.
Copper grate is a decorative block.=
Exposed copper grate is a decorative block.=
Weathered copper grate is a decorative block.=
Oxidized copper grate is a decorative block.=
Chiseled copper is a decorative block.=
Exposed chiseled copper is a decorative block.=
Weathered chiseled copper is a decorative block.=
Oxidized chiseled copper is a decorative block.=
Copper bulb is a decorative block and a light source when lited.=
Exposed copper bulb is a decorative block and a light source when lited.=
Weathered copper bulb is a decorative block and a light source when lited.=
Oxidized copper bulb is a decorative block and a light source when lited.=
Copper bulb is a decorative block and a light source.=
Exposed copper bulb is a decorative block and a light source.=
Weathered copper bulb is a decorative block and a light source.=
Oxidized copper bulb is a decorative block and a light source.=
Slab of Cut Copper=Geschnittene Kupferstufe
Double Slab of Cut Copper=Doppelte Geschnittene Kupferstufe
Stairs of Cut Copper=Geschnittene Kupfertreppe
Waxed Slab of Cut Copper=
Waxed Double Slab of Cut Copper=
Waxed Stairs of Cut Copper=
Slab of Exposed Cut Copper=Angelaufene Geschnittene Kupferstufe
Double Slab of Exposed Cut Copper=Doppelte Angelaufene Geschnittene Kupferstufe
Stairs of Exposed Cut Copper=Angelaufene Geschnittene Kupfertreppe
Waxed Slab of Exposed Cut Copper=
Waxed Double Slab of Exposed Cut Copper=
Waxed Stairs of Exposed Cut Copper=
Slab of Weathered Cut Copper=Verwitterte Geschnittene Kupferstufe
Double Slab of Weathered Cut Copper=Doppelte Verwitterte Geschnittene Kupferstufe
Stairs of Weathered Cut Copper=Verwitterte Geschnittene Kupfertreppe
Waxed Slab of Weathered Cut Copper=
Waxed Double Slab of Weathered Cut Copper=
Waxed Stairs of Weathered Cut Copper=
Slab of Oxidized Cut Copper=Oxidierte Geschnittene Kupferstufe
Double Slab of Oxidized Cut Copper=Doppelte Oxidierte Geschnittene Kupferstufe
Stairs of Oxidized Cut Copper=Oxidierte Geschnittene Kupfertreppe
Waxed Slab of Oxidized Cut Copper=
Waxed Double Slab of Oxidized Cut Copper=
Waxed Stairs of Oxidized Cut Copper=
Copper Door=
Copper Trapdoor=
Waxed Copper Door=
Waxed Copper Trapdoor=
Exposed Copper Door=
Exposed Copper Trapdoor=
Waxed Exposed Copper Door=
Waxed Exposed Copper Trapdoor=
Weathered Copper Door=
Weathered Copper Trapdoor=
Waxed Weathered Copper Door=
Waxed Weathered Copper Trapdoor=
Oxidized Copper Door=
Oxidized Copper Trapdoor=
Waxed Oxidized Copper Door=
Waxed Oxidized Copper Trapdoor=
Copper Button=
Waxed Copper Button=
Exposed Copper Button=
Waxed Exposed Copper Button=
Weathered Copper Button=
Waxed Weathered Copper Button=
Oxidized Copper Button=
Waxed Oxidized Copper Button=
Copper Pressure Plate=
Waxed Copper Pressure Plate=
Exposed Copper Pressure Plate=
Waxed Exposed Copper Pressure Plate=
Weathered Copper Pressure Plate=
Waxed Weathered Copper Pressure Plate=
Oxidized Copper Pressure Plate=
Waxed Oxidized Copper Pressure Plate=
Copper Bars=
Waxed Copper Bars=
Exposed Copper Bars=
Waxed Exposed Copper Bars=
Weathered Copper Bars=
Waxed Weathered Copper Bars=
Oxidized Copper Bars=
Waxed Oxidized Copper Bars=
Copper Ingot=Kupfer Barren
Molten Raw Copper. It is used to craft blocks.=Geschmolzenes Rohkupfer. Es wird verwendet, um Blöcke herzustellen.
Raw Copper=Rohkupfer
Raw Copper. Mine a Copper Ore to get it.=Bauen sie ein Kupfererz ab, um es zu erhalten.
Copper Ore=Kupfererz
Some copper contained in stone, it is pretty common and can be found below sea level.=Stein, in dem etwas Kupfer enthalten ist. Es ist ziemlich häufig und kann unter dem Meeresspiegel gefunden werden.
Block of Raw Copper=Rohkupferblock
A block used for compact raw copper storage.=Ein Block für die kompakte Lagerung von Rohkupfer.
Block of Copper=Kupferblock
Block of Raw Copper=Rohkupferblock
Copper Ingot=Kupfer Barren
Copper Ore=Kupfererz
Cut copper is a decorative block.=Ein Geschnittener Kupferblock ist ein dekorativer Block.
Cut Copper=Geschnittener Kupferblock
Double Slab of Cut Copper=Doppelte Geschnittene Kupferstufe
Double Slab of Exposed Cut Copper=Doppelte Angelaufene Geschnittene Kupferstufe
Double Slab of Oxidized Cut Copper=Doppelte Oxidierte Geschnittene Kupferstufe
Double Slab of Weathered Cut Copper=Doppelte Verwitterte Geschnittene Kupferstufe
Exposed copper is a decorative block.=Ein Angelaufener Kupferblock ist ein dekorativer Block.
Exposed Copper=Angelaufener Kupferblock
Exposed cut copper is a decorative block.=Ein Angelaufener geschnittener Kupferblock ist ein dekorativer Block.
Exposed Cut Copper=Angelaufener geschnittener Kupferblock
Molten Raw Copper. It is used to craft blocks.=Geschmolzenes Rohkupfer. Es wird verwendet, um Blöcke herzustellen.
Oxidized copper is a decorative block.=Ein Oxidierter Kupferblockist ist ein dekorativer Block.
Oxidized Copper=Oxidierter Kupferblock
Oxidized cut copper is a decorative block.=Ein Oxidierter geschnittener Kupferblock ist ein dekorativer Block.
Oxidized Cut Copper=Oxidierter geschnittener Kupferblock
Raw Copper. Mine a Copper Ore to get it.=Bauen sie ein Kupfererz ab, um es zu erhalten.
Raw Copper=Rohkupfer
Slab of Cut Copper=Geschnittene Kupferstufe
Slab of Exposed Cut Copper=Angelaufene Geschnittene Kupferstufe
Slab of Oxidized Cut Copper=Oxidierte Geschnittene Kupferstufe
Slab of Weathered Cut Copper=Verwitterte Geschnittene Kupferstufe
Some copper contained in stone, it is pretty common and can be found below sea level.=Stein, in dem etwas Kupfer enthalten ist. Es ist ziemlich häufig und kann unter dem Meeresspiegel gefunden werden.
Stairs of Cut Copper=Geschnittene Kupfertreppe
Stairs of Exposed Cut Copper=Angelaufene Geschnittene Kupfertreppe
Stairs of Oxidized Cut Copper=Oxidierte Geschnittene Kupfertreppe
Stairs of Weathered Cut Copper=Verwitterte Geschnittene Kupfertreppe
Weathered copper is a decorative block.=Ein Verwitterter Kupferblock ist ein dekorativer Block.
Weathered Copper=Verwitterter Kupferblock
Weathered cut copper is a decorative block.=Ein Verwitterter geschnittener Kupferblock ist ein dekorativer Block.
Weathered Cut Copper=Verwitterter geschnittener Kupferblock

View File

@ -1,140 +1,57 @@
# textdomain: mcl_copper
A block of copper is mostly a decorative block.=Le bloc de cuivre est surtout un bloc décoratif.
A block used for compact raw copper storage.=Un bloc utilisé pour le stockage compact de cuivre brut.
Block of Copper=Bloc de cuivre
Waxed Block of Copper=Bloc de cuivre ciré
Exposed Copper=Cuivre exposé
Waxed Exposed Copper=Cuivre exposé ciré
Weathered Copper=Cuivre érodé
Waxed Weathered Copper=Cuivre érodé ciré
Oxidized Copper=Cuivre oxydé
Waxed Oxidized Copper=Cuivre oxydé ciré
Block of Raw Copper=Bloc de cuivre brut
Copper Ingot=Lingot de cuivre
Copper Ore=Minerai de cuivre
Cut copper is a decorative block.=Le cuivre taillé est un bloc décoratif.
Cut Copper=Cuivre taillé
Waxed Cut Copper=Cuivre taillé ciré
Double Slab of Cut Copper=Double dalle de cuivre taillé
Double Slab of Exposed Cut Copper=Double dalle de cuivre taillé exposé
Double Slab of Oxidized Cut Copper=Double dalle de cuivre taillé oxydé
Double Slab of Weathered Cut Copper=Double dalle de cuivre taillé érodé
Waxed Double Slab of Cut Copper=Double dalle de cuivre taillé ciré
Waxed Double Slab of Exposed Cut Copper=Double dalle de cuivre taillé exposé ciré
Waxed Double Slab of Oxidized Cut Copper=Double dalle de cuivre taillé oxydé ciré
Waxed Double Slab of Weathered Cut Copper=Double dalle de cuivre taillé érodé ciré
Exposed copper is a decorative block.=Le cuivre exposé est un bloc décoratif.
Exposed Copper=Cuivre exposé
Waxed Exposed Copper=Cuivre exposé ciré
Exposed cut copper is a decorative block.=Le cuivre taillé exposé est un bloc décoratif.
Exposed Cut Copper=Cuivre taillé exposé
Waxed Exposed Cut Copper=Cuivre taillé exposé ciré
Weathered Cut Copper=Cuivre taillé érodé
Waxed Weathered Cut Copper=Cuivre taillé érodé ciré
Molten Raw Copper. It is used to craft blocks.=Cuivre brut fondu. Utilisé pour fabriquer des blocs.
Oxidized copper is a decorative block.=Le cuivre oxydé est un bloc décoratif.
Oxidized Copper=Cuivre oxydé
Waxed Oxidized Copper=Cuivre oxydé ciré
Oxidized cut copper is a decorative block.=Le cuivre taillé oxydé est un bloc décoratif.
Oxidized Cut Copper=Cuivre taillé oxydé
Waxed Oxidized Cut Copper=Cuivre taillé oxydé ciré
Copper Grate=
Waxed Copper Grate=
Exposed Copper Grate=
Waxed Exposed Copper Grate=
Weathered Copper Grate=
Waxed Weathered Copper Grate=
Oxidized Copper Grate=
Waxed Oxidized Copper Grate=
Chiseled Copper=
Waxed Chiseled Copper=
Exposed Chiseled Copper=
Waxed Exposed Chiseled Copper=
Weathered Chiseled Copper=
Waxed Weathered Chiseled Copper=
Oxidized Chiseled Copper=
Waxed Oxidized Chiseled Copper=
Copper Bulb=
Waxed Copper Bulb=
Exposed Copper Bulb=
Waxed Exposed Copper Bulb=
Weathered Copper Bulb=
Waxed Weathered Copper Bulb=
Oxidized Copper Bulb=
Waxed Oxidized Copper Bulb=
(Lit)=
(Powered)=
(Lit and Powered)=
A block of copper is mostly a decorative block.=Le bloc de cuivre est surtout un bloc décoratif.
Exposed copper is a decorative block.=Le cuivre exposé est un bloc décoratif.
Weathered copper is a decorative block.=Le cuivre érodé est un bloc décoratif.
Oxidized copper is a decorative block.=Le cuivre oxydé est un bloc décoratif.
Cut copper is a decorative block.=Le cuivre taillé est un bloc décoratif.
Exposed cut copper is a decorative block.=Le cuivre taillé exposé est un bloc décoratif.
Weathered cut copper is a decorative block.=Le cuivre taillé érodé est un bloc décoratif.
Oxidized cut copper is a decorative block.=Le cuivre taillé oxydé est un bloc décoratif.
Copper grate is a decorative block.=
Exposed copper grate is a decorative block.=
Weathered copper grate is a decorative block.=
Oxidized copper grate is a decorative block.=
Chiseled copper is a decorative block.=
Exposed chiseled copper is a decorative block.=
Weathered chiseled copper is a decorative block.=
Oxidized chiseled copper is a decorative block.=
Copper bulb is a decorative block and a light source when lited.=
Exposed copper bulb is a decorative block and a light source when lited.=
Weathered copper bulb is a decorative block and a light source when lited.=
Oxidized copper bulb is a decorative block and a light source when lited.=
Copper bulb is a decorative block and a light source.=
Exposed copper bulb is a decorative block and a light source.=
Weathered copper bulb is a decorative block and a light source.=
Oxidized copper bulb is a decorative block and a light source.=
Slab of Cut Copper=Dalle de cuivre taillé
Double Slab of Cut Copper=Double dalle de cuivre taillé
Stairs of Cut Copper=Escalier de cuivre taillé
Waxed Slab of Cut Copper=Dalle de cuivre taillé ciré
Waxed Double Slab of Cut Copper=Double dalle de cuivre taillé ciré
Waxed Stairs of Cut Copper=Escalier de cuivre taillé ciré
Slab of Exposed Cut Copper=Dalle de cuivre taillé exposé
Double Slab of Exposed Cut Copper=Double dalle de cuivre taillé exposé
Stairs of Exposed Cut Copper=Escalier de cuivre taillé exposé
Waxed Slab of Exposed Cut Copper=Dalle de cuivre taillé exposé ciré
Waxed Double Slab of Exposed Cut Copper=Double dalle de cuivre taillé exposé ciré
Waxed Stairs of Exposed Cut Copper=Escalier de cuivre taillé exposé ciré
Slab of Weathered Cut Copper=Dalle de cuivre taillé érodé
Double Slab of Weathered Cut Copper=Double dalle de cuivre taillé érodé
Stairs of Weathered Cut Copper=Escalier de cuivre taillé érodé
Waxed Slab of Weathered Cut Copper=Dalle de cuivre taillé érodé ciré
Waxed Double Slab of Weathered Cut Copper=Double dalle de cuivre taillé érodé ciré
Waxed Stairs of Weathered Cut Copper=Escalier de cuivre taillé érodé ciré
Slab of Oxidized Cut Copper=Dalle de cuivre taillé oxydé
Double Slab of Oxidized Cut Copper=Double dalle de cuivre taillé oxydé
Stairs of Oxidized Cut Copper=Escalier de cuivre taillé oxydé
Waxed Slab of Oxidized Cut Copper=Dalle de cuivre taillé oxydé ciré
Waxed Double Slab of Oxidized Cut Copper=Double dalle de cuivre taillé oxydé ciré
Waxed Stairs of Oxidized Cut Copper=Escalier de cuivre taillé oxydé ciré
Copper Door=
Copper Trapdoor=
Waxed Copper Door=
Waxed Copper Trapdoor=
Exposed Copper Door=
Exposed Copper Trapdoor=
Waxed Exposed Copper Door=
Waxed Exposed Copper Trapdoor=
Weathered Copper Door=
Weathered Copper Trapdoor=
Waxed Weathered Copper Door=
Waxed Weathered Copper Trapdoor=
Oxidized Copper Door=
Oxidized Copper Trapdoor=
Waxed Oxidized Copper Door=
Waxed Oxidized Copper Trapdoor=
Copper Button=
Waxed Copper Button=
Exposed Copper Button=
Waxed Exposed Copper Button=
Weathered Copper Button=
Waxed Weathered Copper Button=
Oxidized Copper Button=
Waxed Oxidized Copper Button=
Copper Pressure Plate=
Waxed Copper Pressure Plate=
Exposed Copper Pressure Plate=
Waxed Exposed Copper Pressure Plate=
Weathered Copper Pressure Plate=
Waxed Weathered Copper Pressure Plate=
Oxidized Copper Pressure Plate=
Waxed Oxidized Copper Pressure Plate=
Copper Bars=
Waxed Copper Bars=
Exposed Copper Bars=
Waxed Exposed Copper Bars=
Weathered Copper Bars=
Waxed Weathered Copper Bars=
Oxidized Copper Bars=
Waxed Oxidized Copper Bars=
Copper Ingot=Lingot de cuivre
Molten Raw Copper. It is used to craft blocks.=Cuivre brut fondu. Utilisé pour fabriquer des blocs.
Raw Copper=Cuivre brut
Raw Copper. Mine a Copper Ore to get it.=Cuivre brut. Creuser dans du minerai de cuivre pour l'obtenir.
Copper Ore=Minerai de cuivre
Raw Copper=Cuivre brut
Slab of Cut Copper=Dalle de cuivre taillé
Slab of Exposed Cut Copper=Dalle de cuivre taillé exposé
Slab of Oxidized Cut Copper=Dalle de cuivre taillé oxydé
Slab of Weathered Cut Copper=Dalle de cuivre taillé érodé
Waxed Slab of Cut Copper=Dalle de cuivre taillé ciré
Waxed Slab of Exposed Cut Copper=Dalle de cuivre taillé exposé ciré
Waxed Slab of Oxidized Cut Copper=Dalle de cuivre taillé oxydé ciré
Waxed Slab of Weathered Cut Copper=Dalle de cuivre taillé érodé ciré
Some copper contained in stone, it is pretty common and can be found below sea level.=Un peu de cuivre se trouve dans la pierre, il est plutôt répandu et peut être trouvé sous le niveau de la mer.
Block of Raw Copper=Bloc de cuivre brut
A block used for compact raw copper storage.=Un bloc utilisé pour le stockage compact de cuivre brut.
Stairs of Cut Copper=Escalier de cuivre taillé
Stairs of Exposed Cut Copper=Escalier de cuivre taillé exposé
Stairs of Oxidized Cut Copper=Escalier de cuivre taillé oxydé
Stairs of Weathered Cut Copper=Escalier de cuivre taillé érodé
Waxed Stairs of Cut Copper=Escalier de cuivre taillé ciré
Waxed Stairs of Exposed Cut Copper=Escalier de cuivre taillé exposé ciré
Waxed Stairs of Oxidized Cut Copper=Escalier de cuivre taillé oxydé ciré
Waxed Stairs of Weathered Cut Copper=Escalier de cuivre taillé érodé ciré
Weathered copper is a decorative block.=Le cuivre érodé est un bloc décoratif.
Weathered Copper=Cuivre érodé
Waxed Weathered Copper=Cuivre érodé ciré
Weathered cut copper is a decorative block.=Le cuivre taillé érodé est un bloc décoratif.
Weathered Cut Copper=Cuivre taillé érodé
Waxed Weathered Cut Copper=Cuivre taillé érodé ciré

View File

@ -1,140 +1,57 @@
# textdomain: mcl_copper
A block of copper is mostly a decorative block.=銅ブロックは、そのほとんどが装飾ブロックです。
A block used for compact raw copper storage.=銅の粗鉱をコンパクトに保管するのに使えるブロックです。
Block of Copper=銅ブロック
Waxed Block of Copper=錆止め済み銅ブロック
Exposed Copper=少し酸化した銅
Waxed Exposed Copper=少し酸化した錆止め済み銅
Weathered Copper=半ば酸化した銅
Waxed Weathered Copper=半ば酸化した錆止め済み銅
Oxidized Copper=殆ど酸化した銅
Waxed Oxidized Copper=殆ど酸化した錆止め済み銅
Block of Raw Copper=銅の粗鉱ブロック
Copper Ingot=銅インゴット
Copper Ore=銅鉱石
Cut copper is a decorative block.=溝入り銅は、装飾ブロックです。
Cut Copper=溝入り銅
Waxed Cut Copper=錆止め済み溝入り銅
Double Slab of Cut Copper=溝入り銅の2重スラブ
Double Slab of Exposed Cut Copper=少し酸化した溝入り銅の2重スラブ
Double Slab of Oxidized Cut Copper=殆ど酸化した溝入り銅の2重スラブ
Double Slab of Weathered Cut Copper=半ば酸化した溝入り銅の2重スラブ
Waxed Double Slab of Cut Copper=錆止め済み溝入り銅の2重スラブ
Waxed Double Slab of Exposed Cut Copper=少し酸化した錆止め済み溝入り銅の2重スラブ
Waxed Double Slab of Oxidized Cut Copper=殆ど酸化した錆止め済み溝入り銅の2重スラブ
Waxed Double Slab of Weathered Cut Copper=半ば酸化した錆止め済み溝入り銅の2重スラブ
Exposed copper is a decorative block.=少し酸化した銅は、装飾ブロックです。
Exposed Copper=少し酸化した銅
Waxed Exposed Copper=少し酸化した錆止め済み銅
Exposed cut copper is a decorative block.=少し酸化した溝入り銅は、装飾ブロックです。
Exposed Cut Copper=少し酸化した溝入り銅
Waxed Exposed Cut Copper=少し酸化した錆止め済み溝入り銅
Weathered Cut Copper=半ば酸化した溝入り銅
Waxed Weathered Cut Copper=半ば酸化した錆止め済み溝入り銅
Molten Raw Copper. It is used to craft blocks.=溶けた未処理の銅。ブロックのクラフトに使われます。
Oxidized copper is a decorative block.=殆ど酸化した銅は、装飾ブロックです。
Oxidized Copper=殆ど酸化した銅
Waxed Oxidized Copper=殆ど酸化した錆止め済み銅
Oxidized cut copper is a decorative block.=殆ど酸化した溝入り銅は、装飾ブロックです。
Oxidized Cut Copper=殆ど酸化した溝入り銅
Waxed Oxidized Cut Copper=殆ど酸化した錆止め済み溝入り銅
Copper Grate=
Waxed Copper Grate=
Exposed Copper Grate=
Waxed Exposed Copper Grate=
Weathered Copper Grate=
Waxed Weathered Copper Grate=
Oxidized Copper Grate=
Waxed Oxidized Copper Grate=
Chiseled Copper=
Waxed Chiseled Copper=
Exposed Chiseled Copper=
Waxed Exposed Chiseled Copper=
Weathered Chiseled Copper=
Waxed Weathered Chiseled Copper=
Oxidized Chiseled Copper=
Waxed Oxidized Chiseled Copper=
Copper Bulb=
Waxed Copper Bulb=
Exposed Copper Bulb=
Waxed Exposed Copper Bulb=
Weathered Copper Bulb=
Waxed Weathered Copper Bulb=
Oxidized Copper Bulb=
Waxed Oxidized Copper Bulb=
(Lit)=
(Powered)=
(Lit and Powered)=
A block of copper is mostly a decorative block.=銅ブロックは、そのほとんどが装飾ブロックです。
Exposed copper is a decorative block.=少し酸化した銅は、装飾ブロックです。
Weathered copper is a decorative block.=半ば酸化した銅は、装飾ブロックです。
Oxidized copper is a decorative block.=殆ど酸化した銅は、装飾ブロックです。
Cut copper is a decorative block.=溝入り銅は、装飾ブロックです。
Exposed cut copper is a decorative block.=少し酸化した溝入り銅は、装飾ブロックです。
Weathered cut copper is a decorative block.=半ば酸化した溝入り銅は、装飾ブロックです。
Oxidized cut copper is a decorative block.=殆ど酸化した溝入り銅は、装飾ブロックです。
Copper grate is a decorative block.=
Exposed copper grate is a decorative block.=
Weathered copper grate is a decorative block.=
Oxidized copper grate is a decorative block.=
Chiseled copper is a decorative block.=
Exposed chiseled copper is a decorative block.=
Weathered chiseled copper is a decorative block.=
Oxidized chiseled copper is a decorative block.=
Copper bulb is a decorative block and a light source when lited.=
Exposed copper bulb is a decorative block and a light source when lited.=
Weathered copper bulb is a decorative block and a light source when lited.=
Oxidized copper bulb is a decorative block and a light source when lited.=
Copper bulb is a decorative block and a light source.=
Exposed copper bulb is a decorative block and a light source.=
Weathered copper bulb is a decorative block and a light source.=
Oxidized copper bulb is a decorative block and a light source.=
Slab of Cut Copper=溝入り銅のスラブ
Double Slab of Cut Copper=溝入り銅の2重スラブ
Stairs of Cut Copper=溝入り銅の階段
Waxed Slab of Cut Copper=錆止め済み溝入り銅のスラブ
Waxed Double Slab of Cut Copper=錆止め済み溝入り銅の2重スラブ
Waxed Stairs of Cut Copper=錆止め済み溝入り銅の階段
Slab of Exposed Cut Copper=少し酸化した溝入り銅のスラブ
Double Slab of Exposed Cut Copper=少し酸化した溝入り銅の2重スラブ
Stairs of Exposed Cut Copper=少し酸化した溝入り銅の階段
Waxed Slab of Exposed Cut Copper=少し酸化した錆止め済み溝入り銅のスラブ
Waxed Double Slab of Exposed Cut Copper=少し酸化した錆止め済み溝入り銅の2重スラブ
Waxed Stairs of Exposed Cut Copper=少し酸化した錆止め済み溝入り銅の階段
Slab of Weathered Cut Copper=半ば酸化した溝入り銅のスラブ
Double Slab of Weathered Cut Copper=半ば酸化した溝入り銅の2重スラブ
Stairs of Weathered Cut Copper=半ば酸化した溝入り銅の階段
Waxed Slab of Weathered Cut Copper=半ば酸化した錆止め済み溝入り銅のスラブ
Waxed Double Slab of Weathered Cut Copper=半ば酸化した錆止め済み溝入り銅の2重スラブ
Waxed Stairs of Weathered Cut Copper=半ば酸化した錆止め済み溝入り銅の階段
Slab of Oxidized Cut Copper=殆ど酸化した溝入り銅のスラブ
Double Slab of Oxidized Cut Copper=殆ど酸化した溝入り銅の2重スラブ
Stairs of Oxidized Cut Copper=殆ど酸化した溝入り銅の階段
Waxed Slab of Oxidized Cut Copper=殆ど酸化した錆止め済み溝入り銅のスラブ
Waxed Double Slab of Oxidized Cut Copper=殆ど酸化した錆止め済み溝入り銅の2重スラブ
Waxed Stairs of Oxidized Cut Copper=殆ど酸化した錆止め済み溝入り銅の階段
Copper Door=
Copper Trapdoor=
Waxed Copper Door=
Waxed Copper Trapdoor=
Exposed Copper Door=
Exposed Copper Trapdoor=
Waxed Exposed Copper Door=
Waxed Exposed Copper Trapdoor=
Weathered Copper Door=
Weathered Copper Trapdoor=
Waxed Weathered Copper Door=
Waxed Weathered Copper Trapdoor=
Oxidized Copper Door=
Oxidized Copper Trapdoor=
Waxed Oxidized Copper Door=
Waxed Oxidized Copper Trapdoor=
Copper Button=
Waxed Copper Button=
Exposed Copper Button=
Waxed Exposed Copper Button=
Weathered Copper Button=
Waxed Weathered Copper Button=
Oxidized Copper Button=
Waxed Oxidized Copper Button=
Copper Pressure Plate=
Waxed Copper Pressure Plate=
Exposed Copper Pressure Plate=
Waxed Exposed Copper Pressure Plate=
Weathered Copper Pressure Plate=
Waxed Weathered Copper Pressure Plate=
Oxidized Copper Pressure Plate=
Waxed Oxidized Copper Pressure Plate=
Copper Bars=
Waxed Copper Bars=
Exposed Copper Bars=
Waxed Exposed Copper Bars=
Weathered Copper Bars=
Waxed Weathered Copper Bars=
Oxidized Copper Bars=
Waxed Oxidized Copper Bars=
Copper Ingot=銅インゴット
Molten Raw Copper. It is used to craft blocks.=溶けた未処理の銅。ブロックのクラフトに使われます。
Raw Copper=銅の粗鉱
Raw Copper. Mine a Copper Ore to get it.=未処理の銅。銅鉱石を採掘すると手に入ります。
Copper Ore=銅鉱石
Raw Copper=銅の粗鉱
Slab of Cut Copper=溝入り銅のスラブ
Slab of Exposed Cut Copper=少し酸化した溝入り銅のスラブ
Slab of Oxidized Cut Copper=殆ど酸化した溝入り銅のスラブ
Slab of Weathered Cut Copper=半ば酸化した溝入り銅のスラブ
Waxed Slab of Cut Copper=錆止め済み溝入り銅のスラブ
Waxed Slab of Exposed Cut Copper=少し酸化した錆止め済み溝入り銅のスラブ
Waxed Slab of Oxidized Cut Copper=殆ど酸化した錆止め済み溝入り銅のスラブ
Waxed Slab of Weathered Cut Copper=半ば酸化した錆止め済み溝入り銅のスラブ
Some copper contained in stone, it is pretty common and can be found below sea level.=石に含まれる銅は ごく一般的で、海面下の高さで見られます。
Block of Raw Copper=銅の粗鉱ブロック
A block used for compact raw copper storage.=銅の粗鉱をコンパクトに保管するのに使えるブロックです。
Stairs of Cut Copper=溝入り銅の階段
Stairs of Exposed Cut Copper=少し酸化した溝入り銅の階段
Stairs of Oxidized Cut Copper=殆ど酸化した溝入り銅の階段
Stairs of Weathered Cut Copper=半ば酸化した溝入り銅の階段
Waxed Stairs of Cut Copper=錆止め済み溝入り銅の階段
Waxed Stairs of Exposed Cut Copper=少し酸化した錆止め済み溝入り銅の階段
Waxed Stairs of Oxidized Cut Copper=殆ど酸化した錆止め済み溝入り銅の階段
Waxed Stairs of Weathered Cut Copper=半ば酸化した錆止め済み溝入り銅の階段
Weathered copper is a decorative block.=半ば酸化した銅は、装飾ブロックです。
Weathered Copper=半ば酸化した銅
Waxed Weathered Copper=半ば酸化した錆止め済み銅
Weathered cut copper is a decorative block.=半ば酸化した溝入り銅は、装飾ブロックです。
Weathered Cut Copper=半ば酸化した溝入り銅
Waxed Weathered Cut Copper=半ば酸化した錆止め済み溝入り銅

View File

@ -1,140 +1,57 @@
# textdomain: mcl_copper
A block of copper is mostly a decorative block.=Um bloco de cobre é principalmente um bloco decorativo.
A block used for compact raw copper storage.=Um bloco usado para armazenar minério de cobre compactado.
Block of Copper=Bloco de Cobre
Waxed Block of Copper=Bloco de Cobre Encerado
Exposed Copper=Cobre Exposto
Waxed Exposed Copper=Cobre Exposto Encerado
Weathered Copper=Cobre Desgastado
Waxed Weathered Copper=Cobre Desgastado Encerado
Oxidized Copper=Cobre Oxidado
Waxed Oxidized Copper=Cobre Oxidado Encerado
Block of Raw Copper=Bloco de Cobre Crú
Copper Ingot=Lingote de Cobre
Copper Ore=Minério de Cobre
Cut copper is a decorative block.=Cobre lapidado é um bloco decorativo
Cut Copper=Cobre Lapidado
Waxed Cut Copper=Cobre Lapidado Encerado
Double Slab of Cut Copper=Laje Dupla de Cobre Lapidado
Double Slab of Exposed Cut Copper=Laje Dupla de Cobre Lapidado Exposto
Double Slab of Oxidized Cut Copper=Laje Dupla de Cobre Lapidado Oxidado
Double Slab of Weathered Cut Copper=Laje Dupla de Cobre Lapidado Desgastado
Waxed Double Slab of Cut Copper=Laje Dupla de Cobre Lapidado Encerado
Waxed Double Slab of Exposed Cut Copper=Laje Dupla de Cobre Lapidado Exposto Encerado
Waxed Double Slab of Oxidized Cut Copper=Laje Dupla de Cobre Lapidado Oxidado Encerado
Waxed Double Slab of Weathered Cut Copper=Laje Dupla de Cobre Lapidado Desgastado Encerado
Exposed copper is a decorative block.=Cobre exposto é um bloco decorativo.
Exposed Copper=Cobre Exposto
Waxed Exposed Copper=Cobre Exposto Encerado
Exposed cut copper is a decorative block.=Cobre lapidado encerado é um bloco decorativo.
Exposed Cut Copper=Cobre Lapidado Exposto
Waxed Exposed Cut Copper=Cobre Lapidado Exposto Encerado
Weathered Cut Copper=Cobre Lapidado Desgastado
Waxed Weathered Cut Copper=Cobre Lapidado Desgastado Encerado
Molten Raw Copper. It is used to craft blocks.=Minério de Cobre Fundido. É utilizado para fabricar blocos.
Oxidized copper is a decorative block.=Cobre oxidado é um bloco decorativo.
Oxidized Copper=Cobre Oxidado
Waxed Oxidized Copper=Cobre Oxidado Encerado
Oxidized cut copper is a decorative block.=Cobre lapidado oxidado é um bloco decorativo.
Oxidized Cut Copper=Cobre Lapidado Oxidado
Waxed Oxidized Cut Copper=Cobre Lapidado Oxidado Encerado
Copper Grate=Grade de Cobre
Waxed Copper Grate=Grade de Cobre Encerada
Exposed Copper Grate=Grade de Cobre Exposto
Waxed Exposed Copper Grate=Grade de Cobre Exposto Encerada
Weathered Copper Grate=Grade de Cobre Desgastado
Waxed Weathered Copper Grate=Grade de Cobre Desgastado Encerada
Oxidized Copper Grate=Grade de Cobre Oxidado
Waxed Oxidized Copper Grate=Grade de Cobre Oxidado Encerada
Chiseled Copper=Cobre Talhado
Waxed Chiseled Copper=Cobre Talhado Encerado
Exposed Chiseled Copper=Cobre Talhado Exposto
Waxed Exposed Chiseled Copper=Cobre Talhado Exposto Encerado
Weathered Chiseled Copper=Cobre Talhado Desgastado
Waxed Weathered Chiseled Copper=Cobre Talhado Desgastado Encerado
Oxidized Chiseled Copper=Cobre Talhado Oxidado
Waxed Oxidized Chiseled Copper=Cobre Talhado Oxidado Encerado
Copper Bulb=Bulbo de Cobre
Waxed Copper Bulb=Bulbo de Cobre Encerado
Exposed Copper Bulb=Bulbo de Cobre Exposto
Waxed Exposed Copper Bulb=Bulbo de Cobre Exposto Encerado
Weathered Copper Bulb=Bulbo de Cobre Desgastado
Waxed Weathered Copper Bulb=Bulbo de Cobre Desgastado Encerado
Oxidized Copper Bulb=Bulbo de Cobre Oxidado
Waxed Oxidized Copper Bulb=Bulbo de Cobre Oxidado Encerado
(Lit)=(Aceso)
(Powered)=(Energizado)
(Lit and Powered)=(Aceso e Energizado)
A block of copper is mostly a decorative block.=Um bloco de cobre é principalmente um bloco decorativo.
Exposed copper is a decorative block.=Cobre exposto é um bloco decorativo.
Weathered copper is a decorative block.=Cobre desgastado é um bloco decorativo.
Oxidized copper is a decorative block.=Cobre oxidado é um bloco decorativo.
Cut copper is a decorative block.=Cobre lapidado é um bloco decorativo
Exposed cut copper is a decorative block.=Cobre lapidado encerado é um bloco decorativo.
Weathered cut copper is a decorative block.=Cobre lapidado desgastado é um bloco decorativo.
Oxidized cut copper is a decorative block.=Cobre lapidado oxidado é um bloco decorativo.
Copper grate is a decorative block.=Grade de cobre é um bloco decorativo.
Exposed copper grate is a decorative block.=Grade de cobre exposto é um bloco decorativo.
Weathered copper grate is a decorative block.=Grade de cobre de desgastado é um bloco decorativo.
Oxidized copper grate is a decorative block.=Grade de cobre oxidado é um bloco decorativo.
Chiseled copper is a decorative block.=Cobre talhado é um bloco decorativo.
Exposed chiseled copper is a decorative block.=Cobre talhado exposto é um bloco decorativo.
Weathered chiseled copper is a decorative block.=Cobre talhado desgastado é um bloco decorativo.
Oxidized chiseled copper is a decorative block.=Cobre talhado oxidado é um bloco decorativo.
Copper bulb is a decorative block and a light source when lited.=Bulbo de cobre é um bloco decorativo e uma fonte de luz quando aceso.
Exposed copper bulb is a decorative block and a light source when lited.=Bulbo de cobre exposto é um bloco decorativo e uma fonte de luz quando aceso.
Weathered copper bulb is a decorative block and a light source when lited.=Bulbo de cobre desgastado é um bloco decorativo e uma fonte de luz quando aceso.
Oxidized copper bulb is a decorative block and a light source when lited.=Bulbo de cobre oxidado é um bloco decorativo e uma fonte de luz quando aceso.
Copper bulb is a decorative block and a light source.=Bulbo de cobre é um bloco decorativo e uma fonte de luz.
Exposed copper bulb is a decorative block and a light source.=Bulbo de cobre exposto é um bloco decorativo e uma fonte de luz.
Weathered copper bulb is a decorative block and a light source.=Bulbo de cobre desgastado é um bloco decorativo e uma fonte de luz.
Oxidized copper bulb is a decorative block and a light source.=Bulbo de cobre oxidado é um bloco decorativo e uma fonte de luz.
Slab of Cut Copper=Laje de Cobre Lapidado
Double Slab of Cut Copper=Laje Dupla de Cobre Lapidado
Stairs of Cut Copper=Escadas de Cobre Lapidado
Waxed Slab of Cut Copper=Laje de Cobre Lapidado Encerado
Waxed Double Slab of Cut Copper=Laje Dupla de Cobre Lapidado Encerado
Waxed Stairs of Cut Copper=Escadas de Cobre Lapidado Encerado
Slab of Exposed Cut Copper=Laje de Cobre Lapidado Exposto
Double Slab of Exposed Cut Copper=Laje Dupla de Cobre Lapidado Exposto
Stairs of Exposed Cut Copper=Escadas de Cobre Lapidado Exposto
Waxed Slab of Exposed Cut Copper=Laje de Cobre Lapidado Exposto Encerado
Waxed Double Slab of Exposed Cut Copper=Laje Dupla de Cobre Lapidado Exposto Encerado
Waxed Stairs of Exposed Cut Copper=Escadas de Cobre Lapidado Exposto Encerado
Slab of Weathered Cut Copper=Laje de Cobre Lapidado Desgastado
Double Slab of Weathered Cut Copper=Laje Dupla de Cobre Lapidado Desgastado
Stairs of Weathered Cut Copper=Escadas de Cobre Lapidado Desgastado
Waxed Slab of Weathered Cut Copper=Laje de Cobre Lapidado Desgastado Encerado
Waxed Double Slab of Weathered Cut Copper=Laje Dupla de Cobre Lapidado Desgastado Encerado
Waxed Stairs of Weathered Cut Copper=Escadas de Cobre Lapidado Desgastado Encerado
Slab of Oxidized Cut Copper=Laje de Cobre Lapidado Oxidado
Double Slab of Oxidized Cut Copper=Laje Dupla de Cobre Lapidado Oxidado
Stairs of Oxidized Cut Copper=Escadas de Cobre Lapidado Oxidado
Waxed Slab of Oxidized Cut Copper=Laje de Cobre Lapidado Oxidado Encerado
Waxed Double Slab of Oxidized Cut Copper=Laje Dupla de Cobre Lapidado Oxidado Encerado
Waxed Stairs of Oxidized Cut Copper=Escadas de Cobre Lapidado Oxidado Encerado
Copper Door=Porta de Cobre
Copper Trapdoor=Alçapão de Cobre
Waxed Copper Door=Porta de Cobre Encerada
Waxed Copper Trapdoor=Alçapão de Cobre Encerado
Exposed Copper Door=Porta de Cobre Exposto
Exposed Copper Trapdoor=Alçapão de Cobre Exposto
Waxed Exposed Copper Door=Porta de Cobre Exposto Encerada
Waxed Exposed Copper Trapdoor=Alçapão de Cobre Exposto Encerado
Weathered Copper Door=Porta de Cobre Desgastado
Weathered Copper Trapdoor=Alçapão de Cobre Desgastado
Waxed Weathered Copper Door=Porta de Cobre Desgastado Encerada
Waxed Weathered Copper Trapdoor=Alçapão de Cobre Desgastado Encerado
Oxidized Copper Door=Porta de Cobre Oxidado
Oxidized Copper Trapdoor=Alçapão de Cobre Oxidado
Waxed Oxidized Copper Door=Porta de Cobre Oxidado Encerada
Waxed Oxidized Copper Trapdoor=Alçapão de Cobre Oxidado Encerado
Copper Button=
Waxed Copper Button=
Exposed Copper Button=
Waxed Exposed Copper Button=
Weathered Copper Button=
Waxed Weathered Copper Button=
Oxidized Copper Button=
Waxed Oxidized Copper Button=
Copper Pressure Plate=
Waxed Copper Pressure Plate=
Exposed Copper Pressure Plate=
Waxed Exposed Copper Pressure Plate=
Weathered Copper Pressure Plate=
Waxed Weathered Copper Pressure Plate=
Oxidized Copper Pressure Plate=
Waxed Oxidized Copper Pressure Plate=
Copper Bars=
Waxed Copper Bars=
Exposed Copper Bars=
Waxed Exposed Copper Bars=
Weathered Copper Bars=
Waxed Weathered Copper Bars=
Oxidized Copper Bars=
Waxed Oxidized Copper Bars=
Copper Ingot=Lingote de Cobre
Molten Raw Copper. It is used to craft blocks.=Minério de Cobre Fundido. É utilizado para fabricar blocos.
Raw Copper=Cobre Crú
Raw Copper. Mine a Copper Ore to get it.=Cobre Crú. Minere um minério de cobre para obtê-lo.
Copper Ore=Minério de Cobre
Raw Copper=Cobre Crú
Slab of Cut Copper=Laje de Cobre Lapidado
Slab of Exposed Cut Copper=Laje de Cobre Lapidado Exposto
Slab of Oxidized Cut Copper=Laje de Cobre Lapidado Oxidado
Slab of Weathered Cut Copper=Laje de Cobre Lapidado Desgastado
Waxed Slab of Cut Copper=Laje de Cobre Lapidado Encerado
Waxed Slab of Exposed Cut Copper=Laje de Cobre Lapidado Exposto Encerado
Waxed Slab of Oxidized Cut Copper=Laje de Cobre Lapidado Oxidado Encerado
Waxed Slab of Weathered Cut Copper=Laje de Cobre Lapidado Desgastado Encerado
Some copper contained in stone, it is pretty common and can be found below sea level.=Um pouco de cobre contido em rocha, é bem comum e pode ser encontrado abaixo do nível do mar.
Block of Raw Copper=Bloco de Cobre Crú
A block used for compact raw copper storage.=Um bloco usado para armazenar minério de cobre compactado.
Stairs of Cut Copper=Escadas de Cobre Lapidado
Stairs of Exposed Cut Copper=Escadas de Cobre Lapidado Exposto
Stairs of Oxidized Cut Copper=Escadas de Cobre Lapidado Oxidado
Stairs of Weathered Cut Copper=Escadas de Cobre Lapidado Desgastado
Waxed Stairs of Cut Copper=Escadas de Cobre Lapidado Encerado
Waxed Stairs of Exposed Cut Copper=Escadas de Cobre Lapidado Exposto Encerado
Waxed Stairs of Oxidized Cut Copper=Escadas de Cobre Lapidado Oxidado Encerado
Waxed Stairs of Weathered Cut Copper=Escadas de Cobre Lapidado Desgastado Encerado
Weathered copper is a decorative block.=Cobre desgastado é um bloco decorativo.
Weathered Copper=Cobre Desgastado
Waxed Weathered Copper=Cobre Desgastado Encerado
Weathered cut copper is a decorative block.=Cobre lapidado desgastado é um bloco decorativo.
Weathered Cut Copper=Cobre Lapidado Desgastado
Waxed Weathered Cut Copper=Cobre Lapidado Desgastado Encerado

View File

@ -1,140 +1,57 @@
# textdomain: mcl_copper
A block of copper is mostly a decorative block.=Медный блок — это декоративный блок.
A block used for compact raw copper storage.=Блок используется для компактного хранения необработанной меди.
Block of Copper=Медный блок
Waxed Block of Copper=Вощёный медный блок
Exposed Copper=Потемневший медный блок
Waxed Exposed Copper=Вощёный потемневший медный блок
Weathered Copper=Состаренный медный блок
Waxed Weathered Copper=Вощёный состаренный медный блок
Oxidized Copper=Окисленный медный блок
Waxed Oxidized Copper=Вощёный окисленный медный блок
Block of Raw Copper=Блок необработанной меди
Copper Ingot=Медный слиток
Copper Ore=Медная руда
Cut copper is a decorative block.=Резной медный блок это декоративный блок.
Cut Copper=Резной медный блок
Waxed Cut Copper=Вощёный резной медный блок
Double Slab of Cut Copper=Двойная плита из резного медного блока
Double Slab of Exposed Cut Copper=Двойная плита из потемневшего резного медного блока
Double Slab of Oxidized Cut Copper=Двойная плита из окисленного резного медного блока
Double Slab of Weathered Cut Copper=Двойная плита из состаренного резного медного блока
Waxed Double Slab of Cut Copper=Вощёная двойная плита из резного медного блока
Waxed Double Slab of Exposed Cut Copper=Вощёная двойная плита из потемневшего резного медного блока
Waxed Double Slab of Oxidized Cut Copper=Вощёная двойная плита из окисленного резного медного блока
Waxed Double Slab of Weathered Cut Copper=Вощёная двойная плита из состаренного резного медного блока
Exposed copper is a decorative block.=Потемневший медный блок это декоративный блок.
Exposed Copper=Потемневший медный блок
Waxed Exposed Copper=Вощёный потемневший медный блок
Exposed cut copper is a decorative block.=Потемневший резной медный блок это декоративный блок.
Exposed Cut Copper=Потемневший резной медный блок
Waxed Exposed Cut Copper=Вощёный потемневший резной медный блок
Weathered Cut Copper=Состаренный резной медный блок
Waxed Weathered Cut Copper=Вощёный состаренный резной медный блок
Molten Raw Copper. It is used to craft blocks.=Медный слиток. Используется для крафта блоков.
Oxidized copper is a decorative block.=Окисленный медный блок это декоративный блок.
Oxidized Copper=Окисленный медный блок
Waxed Oxidized Copper=Вощёный окисленный медный блок
Oxidized cut copper is a decorative block.=Окисленный резной медный блок это декоративный блок.
Oxidized Cut Copper=Окисленный резной медный блок
Waxed Oxidized Cut Copper=Вощёный окисленный резной медный блок
Copper Grate=
Waxed Copper Grate=
Exposed Copper Grate=
Waxed Exposed Copper Grate=
Weathered Copper Grate=
Waxed Weathered Copper Grate=
Oxidized Copper Grate=
Waxed Oxidized Copper Grate=
Chiseled Copper=
Waxed Chiseled Copper=
Exposed Chiseled Copper=
Waxed Exposed Chiseled Copper=
Weathered Chiseled Copper=
Waxed Weathered Chiseled Copper=
Oxidized Chiseled Copper=
Waxed Oxidized Chiseled Copper=
Copper Bulb=
Waxed Copper Bulb=
Exposed Copper Bulb=
Waxed Exposed Copper Bulb=
Weathered Copper Bulb=
Waxed Weathered Copper Bulb=
Oxidized Copper Bulb=
Waxed Oxidized Copper Bulb=
(Lit)=
(Powered)=
(Lit and Powered)=
A block of copper is mostly a decorative block.=Медный блок — это декоративный блок.
Exposed copper is a decorative block.=Потемневший медный блок это декоративный блок.
Weathered copper is a decorative block.=Состаренный медный блок это декоративный блок.
Oxidized copper is a decorative block.=Окисленный медный блок это декоративный блок.
Cut copper is a decorative block.=Резной медный блок это декоративный блок.
Exposed cut copper is a decorative block.=Потемневший резной медный блок это декоративный блок.
Weathered cut copper is a decorative block.=Состаренный резной медный блок это декоративный блок.
Oxidized cut copper is a decorative block.=Окисленный резной медный блок это декоративный блок.
Copper grate is a decorative block.=
Exposed copper grate is a decorative block.=
Weathered copper grate is a decorative block.=
Oxidized copper grate is a decorative block.=
Chiseled copper is a decorative block.=
Exposed chiseled copper is a decorative block.=
Weathered chiseled copper is a decorative block.=
Oxidized chiseled copper is a decorative block.=
Copper bulb is a decorative block and a light source when lited.=
Exposed copper bulb is a decorative block and a light source when lited.=
Weathered copper bulb is a decorative block and a light source when lited.=
Oxidized copper bulb is a decorative block and a light source when lited.=
Copper bulb is a decorative block and a light source.=
Exposed copper bulb is a decorative block and a light source.=
Weathered copper bulb is a decorative block and a light source.=
Oxidized copper bulb is a decorative block and a light source.=
Slab of Cut Copper=Плита из резного медного блока
Double Slab of Cut Copper=Двойная плита из резного медного блока
Stairs of Cut Copper=Ступени из резного медного блока
Waxed Slab of Cut Copper=Вощёная плита из резного медного блока
Waxed Double Slab of Cut Copper=Вощёная двойная плита из резного медного блока
Waxed Stairs of Cut Copper=Вощёные ступени из резного медного блока
Slab of Exposed Cut Copper=Плита из потемневшего резного медного блока
Double Slab of Exposed Cut Copper=Двойная плита из потемневшего резного медного блока
Stairs of Exposed Cut Copper=Ступени из потемневшего резного медного блока
Waxed Slab of Exposed Cut Copper=Вощёная плита из потемневшего резного медного блока
Waxed Double Slab of Exposed Cut Copper=Вощёная двойная плита из потемневшего резного медного блока
Waxed Stairs of Exposed Cut Copper=Вощёные ступени из потемневшего резного медного блока
Slab of Weathered Cut Copper=Плита из состаренного резного медного блока
Double Slab of Weathered Cut Copper=Двойная плита из состаренного резного медного блока
Stairs of Weathered Cut Copper=Ступени из состаренного резного медного блока
Waxed Slab of Weathered Cut Copper=Вощёная плита из состаренного резного медного блока
Waxed Double Slab of Weathered Cut Copper=Вощёная двойная плита из состаренного резного медного блока
Waxed Stairs of Weathered Cut Copper=Вощёные ступени из состаренного резного медного блока
Slab of Oxidized Cut Copper=Плита из окисленного резного медного блока
Double Slab of Oxidized Cut Copper=Двойная плита из окисленного резного медного блока
Stairs of Oxidized Cut Copper=Ступени из окисленного резного медного блока
Waxed Slab of Oxidized Cut Copper=Вощёная плита из окисленного резного медного блока
Waxed Double Slab of Oxidized Cut Copper=Вощёная двойная плита из окисленного резного медного блока
Waxed Stairs of Oxidized Cut Copper=Вощёные ступени из окисленного резного медного блока
Copper Door=
Copper Trapdoor=
Waxed Copper Door=
Waxed Copper Trapdoor=
Exposed Copper Door=
Exposed Copper Trapdoor=
Waxed Exposed Copper Door=
Waxed Exposed Copper Trapdoor=
Weathered Copper Door=
Weathered Copper Trapdoor=
Waxed Weathered Copper Door=
Waxed Weathered Copper Trapdoor=
Oxidized Copper Door=
Oxidized Copper Trapdoor=
Waxed Oxidized Copper Door=
Waxed Oxidized Copper Trapdoor=
Copper Button=
Waxed Copper Button=
Exposed Copper Button=
Waxed Exposed Copper Button=
Weathered Copper Button=
Waxed Weathered Copper Button=
Oxidized Copper Button=
Waxed Oxidized Copper Button=
Copper Pressure Plate=
Waxed Copper Pressure Plate=
Exposed Copper Pressure Plate=
Waxed Exposed Copper Pressure Plate=
Weathered Copper Pressure Plate=
Waxed Weathered Copper Pressure Plate=
Oxidized Copper Pressure Plate=
Waxed Oxidized Copper Pressure Plate=
Copper Bars=
Waxed Copper Bars=
Exposed Copper Bars=
Waxed Exposed Copper Bars=
Weathered Copper Bars=
Waxed Weathered Copper Bars=
Oxidized Copper Bars=
Waxed Oxidized Copper Bars=
Copper Ingot=Медный слиток
Molten Raw Copper. It is used to craft blocks.=Медный слиток. Используется для крафта блоков.
Raw Copper=Необработанная медь
Raw Copper. Mine a Copper Ore to get it.=Необработанная медь. Добудьте медную руду, чтобы получить её.
Copper Ore=Медная руда
Raw Copper=Необработанная медь
Slab of Cut Copper=Плита из резного медного блока
Slab of Exposed Cut Copper=Плита из потемневшего резного медного блока
Slab of Oxidized Cut Copper=Плита из окисленного резного медного блока
Slab of Weathered Cut Copper=Плита из состаренного резного медного блока
Waxed Slab of Cut Copper=Вощёная плита из резного медного блока
Waxed Slab of Exposed Cut Copper=Вощёная плита из потемневшего резного медного блока
Waxed Slab of Oxidized Cut Copper=Вощёная плита из окисленного резного медного блока
Waxed Slab of Weathered Cut Copper=Вощёная плита из состаренного резного медного блока
Some copper contained in stone, it is pretty common and can be found below sea level.=Залежи медной руды находятся в камне, медь довольно распространена и может быть найдена ниже уровня моря.
Block of Raw Copper=Блок необработанной меди
A block used for compact raw copper storage.=Блок используется для компактного хранения необработанной меди.
Stairs of Cut Copper=Ступени из резного медного блока
Stairs of Exposed Cut Copper=Ступени из потемневшего резного медного блока
Stairs of Oxidized Cut Copper=Ступени из окисленного резного медного блока
Stairs of Weathered Cut Copper=Ступени из состаренного резного медного блока
Waxed Stairs of Cut Copper=Вощёные ступени из резного медного блока
Waxed Stairs of Exposed Cut Copper=Вощёные ступени из потемневшего резного медного блока
Waxed Stairs of Oxidized Cut Copper=Вощёные ступени из окисленного резного медного блока
Waxed Stairs of Weathered Cut Copper=Вощёные ступени из состаренного резного медного блока
Weathered copper is a decorative block.=Состаренный медный блок это декоративный блок.
Weathered Copper=Состаренный медный блок
Waxed Weathered Copper=Вощёный состаренный медный блок
Weathered cut copper is a decorative block.=Состаренный резной медный блок это декоративный блок.
Weathered Cut Copper=Состаренный резной медный блок
Waxed Weathered Cut Copper=Вощёный состаренный резной медный блок

View File

@ -1,140 +1,57 @@
# textdomain: mcl_copper
A block of copper is mostly a decorative block.=
A block used for compact raw copper storage.=
Block of Copper=
Waxed Block of Copper=
Exposed Copper=
Waxed Exposed Copper=
Weathered Copper=
Waxed Weathered Copper=
Oxidized Copper=
Waxed Oxidized Copper=
Block of Raw Copper=
Copper Ingot=
Copper Ore=
Cut copper is a decorative block.=
Cut Copper=
Waxed Cut Copper=
Double Slab of Cut Copper=
Double Slab of Exposed Cut Copper=
Double Slab of Oxidized Cut Copper=
Double Slab of Weathered Cut Copper=
Waxed Double Slab of Cut Copper=
Waxed Double Slab of Exposed Cut Copper=
Waxed Double Slab of Oxidized Cut Copper=
Waxed Double Slab of Weathered Cut Copper=
Exposed copper is a decorative block.=
Exposed Copper=
Waxed Exposed Copper=
Exposed cut copper is a decorative block.=
Exposed Cut Copper=
Waxed Exposed Cut Copper=
Weathered Cut Copper=
Waxed Weathered Cut Copper=
Molten Raw Copper. It is used to craft blocks.=
Oxidized copper is a decorative block.=
Oxidized Copper=
Waxed Oxidized Copper=
Oxidized cut copper is a decorative block.=
Oxidized Cut Copper=
Waxed Oxidized Cut Copper=
Copper Grate=
Waxed Copper Grate=
Exposed Copper Grate=
Waxed Exposed Copper Grate=
Weathered Copper Grate=
Waxed Weathered Copper Grate=
Oxidized Copper Grate=
Waxed Oxidized Copper Grate=
Chiseled Copper=
Waxed Chiseled Copper=
Exposed Chiseled Copper=
Waxed Exposed Chiseled Copper=
Weathered Chiseled Copper=
Waxed Weathered Chiseled Copper=
Oxidized Chiseled Copper=
Waxed Oxidized Chiseled Copper=
Copper Bulb=
Waxed Copper Bulb=
Exposed Copper Bulb=
Waxed Exposed Copper Bulb=
Weathered Copper Bulb=
Waxed Weathered Copper Bulb=
Oxidized Copper Bulb=
Waxed Oxidized Copper Bulb=
(Lit)=
(Powered)=
(Lit and Powered)=
A block of copper is mostly a decorative block.=
Exposed copper is a decorative block.=
Weathered copper is a decorative block.=
Oxidized copper is a decorative block.=
Cut copper is a decorative block.=
Exposed cut copper is a decorative block.=
Weathered cut copper is a decorative block.=
Oxidized cut copper is a decorative block.=
Copper grate is a decorative block.=
Exposed copper grate is a decorative block.=
Weathered copper grate is a decorative block.=
Oxidized copper grate is a decorative block.=
Chiseled copper is a decorative block.=
Exposed chiseled copper is a decorative block.=
Weathered chiseled copper is a decorative block.=
Oxidized chiseled copper is a decorative block.=
Copper bulb is a decorative block and a light source when lited.=
Exposed copper bulb is a decorative block and a light source when lited.=
Weathered copper bulb is a decorative block and a light source when lited.=
Oxidized copper bulb is a decorative block and a light source when lited.=
Copper bulb is a decorative block and a light source.=
Exposed copper bulb is a decorative block and a light source.=
Weathered copper bulb is a decorative block and a light source.=
Oxidized copper bulb is a decorative block and a light source.=
Slab of Cut Copper=
Double Slab of Cut Copper=
Stairs of Cut Copper=
Waxed Slab of Cut Copper=
Waxed Double Slab of Cut Copper=
Waxed Stairs of Cut Copper=
Slab of Exposed Cut Copper=
Double Slab of Exposed Cut Copper=
Stairs of Exposed Cut Copper=
Waxed Slab of Exposed Cut Copper=
Waxed Double Slab of Exposed Cut Copper=
Waxed Stairs of Exposed Cut Copper=
Slab of Weathered Cut Copper=
Double Slab of Weathered Cut Copper=
Stairs of Weathered Cut Copper=
Waxed Slab of Weathered Cut Copper=
Waxed Double Slab of Weathered Cut Copper=
Waxed Stairs of Weathered Cut Copper=
Slab of Oxidized Cut Copper=
Double Slab of Oxidized Cut Copper=
Stairs of Oxidized Cut Copper=
Waxed Slab of Oxidized Cut Copper=
Waxed Double Slab of Oxidized Cut Copper=
Waxed Stairs of Oxidized Cut Copper=
Copper Door=
Copper Trapdoor=
Waxed Copper Door=
Waxed Copper Trapdoor=
Exposed Copper Door=
Exposed Copper Trapdoor=
Waxed Exposed Copper Door=
Waxed Exposed Copper Trapdoor=
Weathered Copper Door=
Weathered Copper Trapdoor=
Waxed Weathered Copper Door=
Waxed Weathered Copper Trapdoor=
Oxidized Copper Door=
Oxidized Copper Trapdoor=
Waxed Oxidized Copper Door=
Waxed Oxidized Copper Trapdoor=
Copper Button=
Waxed Copper Button=
Exposed Copper Button=
Waxed Exposed Copper Button=
Weathered Copper Button=
Waxed Weathered Copper Button=
Oxidized Copper Button=
Waxed Oxidized Copper Button=
Copper Pressure Plate=
Waxed Copper Pressure Plate=
Exposed Copper Pressure Plate=
Waxed Exposed Copper Pressure Plate=
Weathered Copper Pressure Plate=
Waxed Weathered Copper Pressure Plate=
Oxidized Copper Pressure Plate=
Waxed Oxidized Copper Pressure Plate=
Copper Bars=
Waxed Copper Bars=
Exposed Copper Bars=
Waxed Exposed Copper Bars=
Weathered Copper Bars=
Waxed Weathered Copper Bars=
Oxidized Copper Bars=
Waxed Oxidized Copper Bars=
Copper Ingot=
Molten Raw Copper. It is used to craft blocks.=
Raw Copper=
Raw Copper. Mine a Copper Ore to get it.=
Copper Ore=
Raw Copper=
Slab of Cut Copper=
Slab of Exposed Cut Copper=
Slab of Oxidized Cut Copper=
Slab of Weathered Cut Copper=
Waxed Slab of Cut Copper=
Waxed Slab of Exposed Cut Copper=
Waxed Slab of Oxidized Cut Copper=
Waxed Slab of Weathered Cut Copper=
Some copper contained in stone, it is pretty common and can be found below sea level.=
Block of Raw Copper=
A block used for compact raw copper storage.=
Stairs of Cut Copper=
Stairs of Exposed Cut Copper=
Stairs of Oxidized Cut Copper=
Stairs of Weathered Cut Copper=
Waxed Stairs of Cut Copper=
Waxed Stairs of Exposed Cut Copper=
Waxed Stairs of Oxidized Cut Copper=
Waxed Stairs of Weathered Cut Copper=
Weathered copper is a decorative block.=
Weathered Copper=
Waxed Weathered Copper=
Weathered cut copper is a decorative block.=
Weathered Cut Copper=
Waxed Weathered Cut Copper=

View File

@ -1,4 +1,4 @@
name = mcl_copper
author = NO11, JoseDouglas26, teknomunk
author = NO11
depends = mcl_core, mcl_sounds, mcl_stairs, mcl_util, mcl_oxidation, mcl_stonecutter
description = Adds Copper Ore, blocks and items.

View File

@ -1,364 +1,5 @@
local S = minetest.get_translator("mcl_copper")
--- Function to set drop (only useful for copper bulbs that are not available in the creative inventory).
--- To have a special drop, the block definition must contain the "drop" parameter.
--- "old_name" must be a string containing the name of the node that will receive the special drop
--- (for example, the lit copper bulb that should drop the unlit copper bulb).
--- "index_name" contains the name of the dropped block (in the case of the previous example, name must
--- be bulb_off to define the drop as the unlit and unpowered bulb).
---@param drop string|nil
---@param old_name string
---@param index_name string
---@return string|nil
local function set_drop(drop, old_name, index_name)
if drop and old_name and index_name then
drop = "mcl_copper:"..old_name:gsub(index_name, drop)
end
return drop
end
--- Function used to set special groups for some blocks based on its names.
--- "oxidizable" is the group that indicates that the block can oxidize.
--- "waxed" is the group that indicates that the block can not oxidize.
--- Doors and trapdoors they will be part of groups related to mesecon, indicating that mesecon
--- (redstone) has an effect on them.
---@param name string
---@param groups table
---@return table|nil
local function set_groups(name, groups)
local groups = table.copy(groups)
if name and groups then
if name:find("waxed") then
groups.waxed = 1
elseif not name:find("oxidized") then
groups.oxidizable = 1
end
if name:find("door") then
groups.building_block = 0
groups.mesecon_effector_on = 1
end
else
return nil
end
return groups
end
--- Function to set the light level for copper bulbs. Calculated based on the index passed to the function.
--- "light_source" must be a integer which is the maximum desired light level. "index" must be a integer
--- as well. "index" is used to define the level of oxidation of the bulb, as the light level decreases
--- as the degree of oxidation advances.
---@param light_source integer
---@param index integer
---@return integer
local function set_light_level(light_source, index)
local ceil, floor_5, floor_7 = math.ceil(index / 2), math.floor(index / 5), math.floor(index / 7)
if light_source then
light_source = light_source - 3 * (ceil - 1) - floor_5 - floor_7
end
return light_source
end
--- Function used to set tiles for blocks. "tiles" must be a table with 4 values as waxed variants
--- use the same textures as the unwaxed versions. "index" must be an integer that must be, at most,
--- twice the number of textures in the table (8 as the maximum value).
---@param tiles table
---@param index integer
---@return string|nil
local function set_tiles(tiles, index)
if not tiles or not index then
return
end
return tiles[math.ceil(index / 2)]
end
--- Function used to register all blocks on the oxidation chain, including the waxed variants for each
--- block. It also registers some special blocks like doors, trapdoors, slabs and stairs. "name" should
--- be a string containing the subname of the block. "definitions" must be a table that contains only
--- particular definitions for each block, such as the light level for copper bulbs or the "allfaces"
--- drawtype for copper grates. Some nodes contain a special definition to define the registration of
--- some other blocks (copper slabs and ladders are based on cut copper blocks).
---@param name string
---@param definitions table
local function register_copper_variants(name, definitions)
local names, oxidized_variant, stripped_variant, waxed_variant, tiles
-- Handling the inconsistency of the original itemstrings.
if name ~= "cut" then
names = {
name, "waxed_"..name,
name.."_exposed", "waxed_"..name.."_exposed",
name.."_weathered", "waxed_"..name.."_weathered",
name.."_oxidized", "waxed_"..name.."_oxidized"
}
else
names = {
"block_"..name, "waxed_block_"..name,
"block_exposed_"..name, "waxed_block_exposed_"..name,
"block_weathered_"..name, "waxed_block_weathered_"..name,
"block_oxidized_"..name, "waxed_block_oxidized_"..name
}
end
-- Also handling the inconsistency of the original texture names.
if name == "block" then
tiles = {
"mcl_copper_block.png",
"mcl_copper_exposed.png",
"mcl_copper_weathered.png",
"mcl_copper_oxidized.png"
}
else
tiles = {
"mcl_copper_block_"..name..".png",
"mcl_copper_exposed_"..name..".png",
"mcl_copper_weathered_"..name..".png",
"mcl_copper_oxidized_"..name..".png"
}
end
-- Registering the 8 nodes in the oxidation chain.
for i = 1, #names do
-- Defining whether the block is waxed and defining its stripped variant (its non-oxidized
-- variant, which must precede the waxed variant in the name table).
if names[i]:find("waxed") then
stripped_variant = "mcl_copper:"..names[i-1]
else
-- While the "oxidized" variant is not found, this snippet defines the oxidized variant of
-- the block.
if not names[i]:find("oxidized") then
oxidized_variant = "mcl_copper:"..names[i+2]
end
-- Defining the stripped variant with the exception of the first block in the chain
-- (and the waxed ones that were defined before).
if i ~= 1 then
stripped_variant = "mcl_copper:"..names[i-2]
end
-- Defining the waxed variant for unwaxed variants.
waxed_variant = "mcl_copper:"..names[i+1]
end
-- Registering the blocks.
minetest.register_node("mcl_copper:"..names[i], {
description = mcl_copper.copper_descs[name][i],
drawtype = definitions.drawtype or "normal",
drop = set_drop(definitions.drop, names[i], name),
groups = set_groups(names[i], definitions.groups),
is_ground_content = false,
light_source = set_light_level(definitions.light_source, i),
mesecons = definitions.mesecons,
paramtype = definitions.paramtype or "none",
paramtype2 = definitions.paramtype2 or "none",
sounds = mcl_sounds.node_sound_metal_defaults(),
sunlight_propagates = definitions.sunlight_propagates or false,
tiles = {set_tiles(tiles, i)},
_doc_items_longdesc = mcl_copper.copper_longdescs[name][math.ceil(i/2)],
_mcl_blast_resistance = 6,
_mcl_hardness = 3,
_mcl_oxidized_variant = oxidized_variant,
_mcl_stripped_variant = stripped_variant,
_mcl_waxed_variant = waxed_variant,
})
-- Defining blocks that use mcl_stairs.
if definitions._mcl_stairs then
local subname = mcl_copper.stairs_subnames[name][i]
mcl_stairs.register_slab(subname, "mcl_copper:"..names[i], set_groups(subname, definitions.groups),
{set_tiles(tiles, i), set_tiles(tiles, i), set_tiles(tiles, i)},
mcl_copper.stairs_descs[subname][1], nil, nil, nil,
mcl_copper.stairs_descs[subname][2]
)
mcl_stairs.register_stair(subname, "mcl_copper:"..names[i], set_groups(subname, definitions.groups),
{set_tiles(tiles, i), set_tiles(tiles, i), set_tiles(tiles, i),
set_tiles(tiles, i), set_tiles(tiles, i), set_tiles(tiles, i)},
mcl_copper.stairs_descs[subname][3], nil, nil, nil, "woodlike"
)
end
-- Defining blocks that use mcl_doors.
if definitions._mcl_doors then
local itemimg, lowertext, uppertext, frontimg, sideimg
-- Defining the special groups for doors and trapdoors.
local door_groups = set_groups(names[i]:gsub(name, "door"), definitions.groups)
local trapdoor_groups = set_groups(names[i]:gsub(name, "trapdoor"), definitions.groups)
-- Managing the textures related to doors and trapdoors, as well as the texture of the item
-- for each door. As with the other blocks, the waxed variant uses the same textures as the
-- unwaxed variants.
-- itemimg -> item image for the doors on inventory;
-- lowertext / uppertext -> lower and bottom textures for the doors;
-- frontimg / sideimg -> front and side textures for the trapdoors;
if i % 2 == 1 then
itemimg = "mcl_copper_item_"..names[i]:gsub(name, "door")..".png"
lowertext = "mcl_copper_"..names[i]:gsub(name, "door").."_lower.png"
uppertext = "mcl_copper_"..names[i]:gsub(name, "door").."_upper.png"
frontimg = "mcl_copper_"..names[i]:gsub(name, "trapdoor")..".png"
sideimg = "mcl_copper_"..names[i]:gsub(name, "trapdoor").."_side.png"
else
itemimg = "mcl_copper_item_"..names[i-1]:gsub(name, "door")..".png"
lowertext = "mcl_copper_"..names[i-1]:gsub(name, "door").."_lower.png"
uppertext = "mcl_copper_"..names[i-1]:gsub(name, "door").."_upper.png"
frontimg = "mcl_copper_"..names[i-1]:gsub(name, "trapdoor")..".png"
sideimg = "mcl_copper_"..names[i-1]:gsub(name, "trapdoor").."_side.png"
end
-- Registering doors.
mcl_doors:register_door("mcl_copper:"..names[i]:gsub(name, "door"), {
description = mcl_copper.doors_descs[i][1],
groups = door_groups,
inventory_image = itemimg,
only_redstone_can_open = false,
sounds = mcl_sounds.node_sound_metal_defaults(),
sound_close = "doors_steel_door_close",
sound_open = "doors_steel_door_open",
tiles_bottom = lowertext,
tiles_top = uppertext,
_mcl_blast_resistance = 3,
_mcl_hardness = 3
})
-- Registering trapdoors.
mcl_doors:register_trapdoor("mcl_copper:"..names[i]:gsub(name, "trapdoor"), {
description = mcl_copper.doors_descs[i][2],
groups = trapdoor_groups,
only_redstone_can_open = false,
sounds = mcl_sounds.node_sound_metal_defaults(),
sound_close = "doors_steel_door_close",
sound_open = "doors_steel_door_open",
tile_front = frontimg,
tile_side = sideimg,
wield_image = frontimg,
_mcl_blast_resistance = 3,
_mcl_hardness = 3
})
end
-- Registering buttons.
if definitions._mesecons_buttons then
mesecon.register_button(
names[i]:gsub("block", "copper"),
mcl_copper.button_descs[i],
set_tiles(tiles, i),
nil,
mcl_sounds.node_sound_metal_defaults(),
set_groups(names[i], {handy = 1, pickaxey = 1}),
math.ceil(i / 2) * 0.5,
true,
nil,
"mesecons_button_push"
)
end
-- Registering pressure plates.
if definitions._mesecons_pp then
mesecon.register_pressure_plate(
"mcl_copper:pressure_plate_"..names[i]:gsub("block", "copper"),
mcl_copper.pp_descs[i],
{set_tiles(tiles, i)},
{set_tiles(tiles, i)},
set_tiles(tiles, i),
nil,
nil,
mcl_sounds.node_sound_metal_defaults(),
set_groups(names[i], {pickaxey = 1}),
{player = true, mob = true}
)
end
-- Registering copper bars.
if definitions._xpanes then
local top_img = set_tiles(tiles, i):gsub("mcl_", "xpanes_top_")
local side_img = set_tiles(tiles, i):gsub("mcl_", "xpanes_pane_")
xpanes.register_pane("bars_"..names[i]:gsub("block", "copper"), {
description = mcl_copper.bars_descs[i],
textures = {side_img, side_img, top_img},
inventory_image = side_img,
wield_image = side_img,
groups = set_groups(names[i], {pickaxey = 1}),
sounds = mcl_sounds.node_sound_metal_defaults(),
recipe = nil,
_mcl_blast_resistance = 6,
_mcl_hardness = 3
})
end
end
end
-- Using the function above to register the copper blocks.
register_copper_variants("block", {
groups = {pickaxey = 2, building_block = 1},
-- Copper blocks are no longer the manufacturing material for doors but this definition will be
-- maintained here to avoid individual registration of 16 blocks.
-- Same for buttons, pressure plates and panes.
_mcl_doors = true,
_mesecons_buttons = true,
_mesecons_pp = true,
_xpanes = true
})
-- Using the function above to register the cut copper blocks.
register_copper_variants("cut", {
groups = {pickaxey = 2, building_block = 1},
_mcl_stairs = true,
})
-- Using the function above to register the copper grates.
register_copper_variants("grate", {
drawtype = "allfaces",
groups = {pickaxey = 2, building_block = 1, disable_suffocation = 1},
paramtype = "light",
sunlight_propagates = true,
})
--[[
register_copper_variants("chiseled", {
groups = {pickaxey = 2, building_block = 1}
})
register_copper_variants("bulb_off", {
groups = {pickaxey = 2, building_block = 1},
mesecons = {
effector = {
action_on = function (pos, node)
minetest.swap_node(pos, {name = node.name:gsub("bulb_off", "bulb_powered_on")})
end
},
},
})
register_copper_variants("bulb_on", {
drop = "bulb_off",
groups = {pickaxey = 2, building_block = 1, not_in_creative_inventory = 1},
light_source = 14,
mesecons = {
effector = {
action_on = function (pos, node)
minetest.swap_node(pos, {name = node.name:gsub("bulb_on", "bulb_powered_off")})
end
},
},
paramtype = "light"
})
register_copper_variants("bulb_powered_off", {
drop = "bulb_off",
groups = {pickaxey = 2, building_block = 1, not_in_creative_inventory = 1},
mesecons = {
effector = {
action_off = function (pos, node)
minetest.swap_node(pos, {name = node.name:gsub("bulb_powered_off", "bulb_off")})
end
}
}
})
register_copper_variants("bulb_powered_on", {
drop = "bulb_off",
groups = {pickaxey = 2, building_block = 1, not_in_creative_inventory = 1},
light_source = 14,
mesecons = {
effector = {
action_off = function (pos, node)
minetest.swap_node(pos, {name = node.name:gsub("bulb_powered_on", "bulb_on")})
end
}
},
paramtype = "light"
})
]]
-- Registering specific blocks.
minetest.register_node("mcl_copper:stone_with_copper", {
description = S("Copper Ore"),
_doc_items_longdesc = S("Some copper contained in stone, it is pretty common and can be found below sea level."),
@ -378,8 +19,324 @@ minetest.register_node("mcl_copper:block_raw", {
_doc_items_longdesc = S("A block used for compact raw copper storage."),
tiles = {"mcl_copper_block_raw.png"},
is_ground_content = false,
groups = {pickaxey = 2, building_block = 1, blast_furnace_smeltable = 1},
groups = {pickaxey = 2, building_block = 1, blast_furnace_smeltable = 1 },
sounds = mcl_sounds.node_sound_metal_defaults(),
_mcl_blast_resistance = 6,
_mcl_hardness = 5,
})
minetest.register_node("mcl_copper:block", {
description = S("Block of Copper"),
_doc_items_longdesc = S("A block of copper is mostly a decorative block."),
tiles = {"mcl_copper_block.png"},
is_ground_content = false,
groups = {pickaxey = 2, building_block = 1, oxidizable = 1},
sounds = mcl_sounds.node_sound_metal_defaults(),
_mcl_blast_resistance = 6,
_mcl_hardness = 3,
_mcl_oxidized_variant = "mcl_copper:block_exposed",
_mcl_waxed_variant = "mcl_copper:waxed_block",
})
minetest.register_node("mcl_copper:waxed_block", {
description = S("Waxed Block of Copper"),
_doc_items_longdesc = S("A block of copper is mostly a decorative block."),
tiles = {"mcl_copper_block.png"},
is_ground_content = false,
groups = {pickaxey = 2, building_block = 1, waxed = 1},
sounds = mcl_sounds.node_sound_metal_defaults(),
_mcl_blast_resistance = 6,
_mcl_hardness = 3,
_mcl_stripped_variant = "mcl_copper:block",
})
minetest.register_node("mcl_copper:block_exposed", {
description = S("Exposed Copper"),
_doc_items_longdesc = S("Exposed copper is a decorative block."),
tiles = {"mcl_copper_exposed.png"},
is_ground_content = false,
groups = {pickaxey = 2, building_block = 1, oxidizable = 1},
sounds = mcl_sounds.node_sound_metal_defaults(),
_mcl_blast_resistance = 6,
_mcl_hardness = 5,
_mcl_oxidized_variant = "mcl_copper:block_weathered",
_mcl_waxed_variant = "mcl_copper:waxed_block_exposed",
_mcl_stripped_variant = "mcl_copper:block",
})
minetest.register_node("mcl_copper:waxed_block_exposed", {
description = S("Waxed Exposed Copper"),
_doc_items_longdesc = S("Exposed copper is a decorative block."),
tiles = {"mcl_copper_exposed.png"},
is_ground_content = false,
groups = {pickaxey = 2, building_block = 1, waxed = 1},
sounds = mcl_sounds.node_sound_metal_defaults(),
_mcl_blast_resistance = 6,
_mcl_hardness = 5,
_mcl_stripped_variant = "mcl_copper:block_exposed",
})
minetest.register_node("mcl_copper:block_weathered", {
description = S("Weathered Copper"),
_doc_items_longdesc = S("Weathered copper is a decorative block."),
tiles = {"mcl_copper_weathered.png"},
is_ground_content = false,
groups = {pickaxey = 2, building_block = 1, oxidizable = 1},
sounds = mcl_sounds.node_sound_metal_defaults(),
_mcl_blast_resistance = 6,
_mcl_hardness = 5,
_mcl_oxidized_variant = "mcl_copper:block_oxidized",
_mcl_waxed_variant = "mcl_copper:waxed_block_weathered",
_mcl_stripped_variant = "mcl_copper:block_exposed",
})
minetest.register_node("mcl_copper:waxed_block_weathered", {
description = S("Waxed Weathered Copper"),
_doc_items_longdesc = S("Weathered copper is a decorative block."),
tiles = {"mcl_copper_weathered.png"},
is_ground_content = false,
groups = {pickaxey = 2, building_block = 1, waxed = 1},
sounds = mcl_sounds.node_sound_metal_defaults(),
_mcl_blast_resistance = 6,
_mcl_hardness = 5,
_mcl_stripped_variant = "mcl_copper:block_weathered",
})
minetest.register_node("mcl_copper:block_oxidized", {
description = S("Oxidized Copper"),
_doc_items_longdesc = S("Oxidized copper is a decorative block."),
tiles = {"mcl_copper_oxidized.png"},
is_ground_content = false,
groups = {pickaxey = 2, building_block = 1},
sounds = mcl_sounds.node_sound_metal_defaults(),
_mcl_blast_resistance = 6,
_mcl_hardness = 5,
_mcl_waxed_variant = "mcl_copper:waxed_block_oxidized",
_mcl_stripped_variant = "mcl_copper:block_weathered",
})
minetest.register_node("mcl_copper:waxed_block_oxidized", {
description = S("Waxed Oxidized Copper"),
_doc_items_longdesc = S("Oxidized copper is a decorative block."),
tiles = {"mcl_copper_oxidized.png"},
is_ground_content = false,
groups = {pickaxey = 2, building_block = 1, waxed = 1},
sounds = mcl_sounds.node_sound_metal_defaults(),
_mcl_blast_resistance = 6,
_mcl_hardness = 5,
_mcl_stripped_variant = "mcl_copper:block_oxidized",
})
minetest.register_node("mcl_copper:block_cut", {
description = S("Cut Copper"),
_doc_items_longdesc = S("Cut copper is a decorative block."),
tiles = {"mcl_copper_block_cut.png"},
is_ground_content = false,
groups = {pickaxey = 2, building_block = 1, oxidizable = 1},
sounds = mcl_sounds.node_sound_metal_defaults(),
_mcl_blast_resistance = 6,
_mcl_hardness = 5,
_mcl_oxidized_variant = "mcl_copper:block_exposed_cut",
_mcl_waxed_variant = "mcl_copper:waxed_block_cut",
})
minetest.register_node("mcl_copper:waxed_block_cut", {
description = S("Waxed Cut Copper"),
_doc_items_longdesc = S("Cut copper is a decorative block."),
tiles = {"mcl_copper_block_cut.png"},
is_ground_content = false,
groups = {pickaxey = 2, building_block = 1, waxed = 1},
sounds = mcl_sounds.node_sound_metal_defaults(),
_mcl_blast_resistance = 6,
_mcl_hardness = 5,
_mcl_stripped_variant = "mcl_copper:block_cut",
})
minetest.register_node("mcl_copper:block_exposed_cut", {
description = S("Exposed Cut Copper"),
_doc_items_longdesc = S("Exposed cut copper is a decorative block."),
tiles = {"mcl_copper_exposed_cut.png"},
is_ground_content = false,
groups = {pickaxey = 2, building_block = 1, oxidizable = 1},
sounds = mcl_sounds.node_sound_metal_defaults(),
_mcl_blast_resistance = 6,
_mcl_hardness = 5,
_mcl_waxed_variant = "mcl_copper:waxed_block_exposed_cut",
_mcl_oxidized_variant = "mcl_copper:block_weathered_cut",
_mcl_stripped_variant = "mcl_copper:block_cut",
})
minetest.register_node("mcl_copper:waxed_block_exposed_cut", {
description = S("Waxed Exposed Cut Copper"),
_doc_items_longdesc = S("Exposed cut copper is a decorative block."),
tiles = {"mcl_copper_exposed_cut.png"},
is_ground_content = false,
groups = {pickaxey = 2, building_block = 1, waxed = 1},
sounds = mcl_sounds.node_sound_metal_defaults(),
_mcl_blast_resistance = 6,
_mcl_hardness = 5,
_mcl_stripped_variant = "mcl_copper:block_exposed_cut",
})
minetest.register_node("mcl_copper:block_weathered_cut", {
description = S("Weathered Cut Copper"),
_doc_items_longdesc = S("Weathered cut copper is a decorative block."),
tiles = {"mcl_copper_weathered_cut.png"},
is_ground_content = false,
groups = {pickaxey = 2, building_block = 1, oxidizable = 1},
sounds = mcl_sounds.node_sound_metal_defaults(),
_mcl_blast_resistance = 6,
_mcl_hardness = 5,
_mcl_stripped_variant = "mcl_copper:block_exposed_cut",
_mcl_oxidized_variant = "mcl_copper:block_oxidized_cut",
_mcl_waxed_variant = "mcl_copper:waxed_block_weathered_cut",
})
minetest.register_node("mcl_copper:waxed_block_weathered_cut", {
description = S("Waxed Weathered Cut Copper"),
_doc_items_longdesc = S("Weathered cut copper is a decorative block."),
tiles = {"mcl_copper_weathered_cut.png"},
is_ground_content = false,
groups = {pickaxey = 2, building_block = 1, waxed = 1},
sounds = mcl_sounds.node_sound_metal_defaults(),
_mcl_blast_resistance = 6,
_mcl_hardness = 5,
_mcl_stripped_variant = "mcl_copper:block_weathered_cut",
})
minetest.register_node("mcl_copper:block_oxidized_cut", {
description = S("Oxidized Cut Copper"),
_doc_items_longdesc = S("Oxidized cut copper is a decorative block."),
tiles = {"mcl_copper_oxidized_cut.png"},
is_ground_content = false,
groups = {pickaxey = 2, building_block = 1},
sounds = mcl_sounds.node_sound_metal_defaults(),
_mcl_blast_resistance = 6,
_mcl_hardness = 5,
_mcl_stripped_variant = "mcl_copper:block_weathered_cut",
_mcl_waxed_variant = "mcl_copper:waxed_block_oxidized_cut",
})
minetest.register_node("mcl_copper:waxed_block_oxidized_cut", {
description = S("Waxed Oxidized Cut Copper"),
_doc_items_longdesc = S("Oxidized cut copper is a decorative block."),
tiles = {"mcl_copper_oxidized_cut.png"},
is_ground_content = false,
groups = {pickaxey = 2, building_block = 1, waxed = 1},
sounds = mcl_sounds.node_sound_metal_defaults(),
_mcl_blast_resistance = 6,
_mcl_hardness = 5,
_mcl_stripped_variant = "mcl_copper:block_oxidized_cut",
})
mcl_stairs.register_slab("copper_cut", "mcl_copper:block_cut",
{pickaxey = 2, oxidizable = 1},
{"mcl_copper_block_cut.png", "mcl_copper_block_cut.png", "mcl_copper_block_cut.png"},
S("Slab of Cut Copper"),
nil, nil, nil,
S("Double Slab of Cut Copper"))
mcl_stairs.register_slab("waxed_copper_cut", "mcl_copper:waxed_block_cut",
{pickaxey = 2, waxed = 1},
{"mcl_copper_block_cut.png", "mcl_copper_block_cut.png", "mcl_copper_block_cut.png"},
S("Waxed Slab of Cut Copper"),
nil, nil, nil,
S("Waxed Double Slab of Cut Copper"))
mcl_stairs.register_slab("copper_exposed_cut", "mcl_copper:block_exposed_cut",
{pickaxey = 2, oxidizable = 1},
{"mcl_copper_exposed_cut.png", "mcl_copper_exposed_cut.png", "mcl_copper_exposed_cut.png"},
S("Slab of Exposed Cut Copper"),
nil, nil, nil,
S("Double Slab of Exposed Cut Copper"))
mcl_stairs.register_slab("waxed_copper_exposed_cut", "mcl_copper:waxed_block_exposed_cut",
{pickaxey = 2, waxed = 1},
{"mcl_copper_exposed_cut.png", "mcl_copper_exposed_cut.png", "mcl_copper_exposed_cut.png"},
S("Waxed Slab of Exposed Cut Copper"),
nil, nil, nil,
S("Waxed Double Slab of Exposed Cut Copper"))
mcl_stairs.register_slab("copper_weathered_cut", "mcl_copper:block_weathered_cut",
{pickaxey = 2, oxidizable = 1},
{"mcl_copper_weathered_cut.png", "mcl_copper_weathered_cut.png", "mcl_copper_weathered_cut.png"},
S("Slab of Weathered Cut Copper"),
nil, nil, nil,
S("Double Slab of Weathered Cut Copper"))
mcl_stairs.register_slab("waxed_copper_weathered_cut", "mcl_copper:waxed_block_weathered_cut",
{pickaxey = 2, waxed = 1},
{"mcl_copper_weathered_cut.png", "mcl_copper_weathered_cut.png", "mcl_copper_weathered_cut.png"},
S("Waxed Slab of Weathered Cut Copper"),
nil, nil, nil,
S("Waxed Double Slab of Weathered Cut Copper"))
mcl_stairs.register_slab("copper_oxidized_cut", "mcl_copper:block_oxidized_cut",
{pickaxey = 2},
{"mcl_copper_oxidized_cut.png", "mcl_copper_oxidized_cut.png", "mcl_copper_oxidized_cut.png"},
S("Slab of Oxidized Cut Copper"),
nil, nil, nil,
S("Double Slab of Oxidized Cut Copper"))
mcl_stairs.register_slab("waxed_copper_oxidized_cut", "mcl_copper:waxed_block_oxidized_cut",
{pickaxey = 2, waxed = 1},
{"mcl_copper_oxidized_cut.png", "mcl_copper_oxidized_cut.png", "mcl_copper_oxidized_cut.png"},
S("Waxed Slab of Oxidized Cut Copper"),
nil, nil, nil,
S("Waxed Double Slab of Oxidized Cut Copper"))
mcl_stairs.register_stair("copper_cut", "mcl_copper:block_cut",
{pickaxey = 2, oxidizable = 1},
{"mcl_copper_block_cut.png", "mcl_copper_block_cut.png", "mcl_copper_block_cut.png", "mcl_copper_block_cut.png", "mcl_copper_block_cut.png", "mcl_copper_block_cut.png"},
S("Stairs of Cut Copper"),
nil, 6, nil,
"woodlike")
mcl_stairs.register_stair("waxed_copper_cut", "mcl_copper:waxed_block_cut",
{pickaxey = 2, waxed = 1},
{"mcl_copper_block_cut.png", "mcl_copper_block_cut.png", "mcl_copper_block_cut.png", "mcl_copper_block_cut.png", "mcl_copper_block_cut.png", "mcl_copper_block_cut.png"},
S("Waxed Stairs of Cut Copper"),
nil, 6, nil,
"woodlike")
mcl_stairs.register_stair("copper_exposed_cut", "mcl_copper:block_exposed_cut",
{pickaxey = 2, oxidizable = 1},
{"mcl_copper_exposed_cut.png", "mcl_copper_exposed_cut.png", "mcl_copper_exposed_cut.png", "mcl_copper_exposed_cut.png", "mcl_copper_exposed_cut.png", "mcl_copper_exposed_cut.png"},
S("Stairs of Exposed Cut Copper"),
nil, 6, nil,
"woodlike")
mcl_stairs.register_stair("waxed_copper_exposed_cut", "mcl_copper:waxed_block_exposed_cut",
{pickaxey = 2, waxed = 1},
{"mcl_copper_exposed_cut.png", "mcl_copper_exposed_cut.png", "mcl_copper_exposed_cut.png", "mcl_copper_exposed_cut.png", "mcl_copper_exposed_cut.png", "mcl_copper_exposed_cut.png"},
S("Waxed Stairs of Exposed Cut Copper"),
nil, 6, nil,
"woodlike")
mcl_stairs.register_stair("copper_weathered_cut", "mcl_copper:block_weathered_cut",
{pickaxey = 2, oxidizable = 1},
{"mcl_copper_weathered_cut.png", "mcl_copper_weathered_cut.png", "mcl_copper_weathered_cut.png", "mcl_copper_weathered_cut.png", "mcl_copper_weathered_cut.png", "mcl_copper_weathered_cut.png"},
S("Stairs of Weathered Cut Copper"),
nil, 6, nil,
"woodlike")
mcl_stairs.register_stair("waxed_copper_weathered_cut", "mcl_copper:waxed_block_weathered_cut",
{pickaxey = 2, waxed = 1},
{"mcl_copper_weathered_cut.png", "mcl_copper_weathered_cut.png", "mcl_copper_weathered_cut.png", "mcl_copper_weathered_cut.png", "mcl_copper_weathered_cut.png", "mcl_copper_weathered_cut.png"},
S("Waxed Stairs of Weathered Cut Copper"),
nil, 6, nil,
"woodlike")
mcl_stairs.register_stair("copper_oxidized_cut", "mcl_copper:block_oxidized_cut",
{pickaxey = 2},
{"mcl_copper_oxidized_cut.png", "mcl_copper_oxidized_cut.png", "mcl_copper_oxidized_cut.png", "mcl_copper_oxidized_cut.png", "mcl_copper_oxidized_cut.png", "mcl_copper_oxidized_cut.png"},
S("Stairs of Oxidized Cut Copper"),
nil, 6, nil,
"woodlike")
mcl_stairs.register_stair("waxed_copper_oxidized_cut", "mcl_copper:waxed_block_oxidized_cut",
{pickaxey = 2, waxed = 1},
{"mcl_copper_oxidized_cut.png", "mcl_copper_oxidized_cut.png", "mcl_copper_oxidized_cut.png", "mcl_copper_oxidized_cut.png", "mcl_copper_oxidized_cut.png", "mcl_copper_oxidized_cut.png"},
S("Waxed Stairs of Oxidized Cut Copper"),
nil, 6, nil,
"woodlike")