diff options
-rw-r--r-- | crafting.lua | 16 | ||||
-rw-r--r-- | nodes.lua | 5 | ||||
-rw-r--r-- | textures/moreblocks_copperpatina.png | bin | 0 -> 325 bytes |
3 files changed, 21 insertions, 0 deletions
diff --git a/crafting.lua b/crafting.lua index c85cc3f..501c9f4 100644 --- a/crafting.lua +++ b/crafting.lua @@ -457,6 +457,22 @@ minetest.register_craft({ type = "cooking", output = "moreblocks:tar", recipe = "default:gravel", }) +minetest.register_craft({ + type = "shapeless", + output = "moreblocks:copperpatina", + recipe = {"bucket:bucket_water", "default:copperblock"}, + replacements = { + {"bucket:bucket_water", "bucket:bucket_empty"} + } +}) + +minetest.register_craft({ + output = "default:copper_ingot 9", + recipe = { + {"moreblocks:copperpatina"}, + } +}) + if minetest.setting_getbool("moreblocks.circular_saw_crafting") ~= false then -- “If nil or true then” minetest.register_craft({ output = "moreblocks:circular_saw", @@ -331,6 +331,11 @@ local nodes = { sounds = sound_leaves, no_stairs = true, }, + ["copperpatina"] = { + description = S("Copper Patina Block"), + groups = {cracky = 1, level = 2}, + sounds = sound_stone, + }, } for name, def in pairs(nodes) do diff --git a/textures/moreblocks_copperpatina.png b/textures/moreblocks_copperpatina.png Binary files differnew file mode 100644 index 0000000..1b971dc --- /dev/null +++ b/textures/moreblocks_copperpatina.png |