From eb3f9363d5485838451cfaca5fca79be2d08f44d Mon Sep 17 00:00:00 2001 From: pithydon Date: Wed, 18 May 2016 16:02:28 -0600 Subject: [PATCH] add node copper patina (#37) Good for building things like the statue of liberty. --- crafting.lua | 16 ++++++++++++++++ nodes.lua | 5 +++++ textures/moreblocks_copperpatina.png | Bin 0 -> 325 bytes 3 files changed, 21 insertions(+) create mode 100644 textures/moreblocks_copperpatina.png 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", diff --git a/nodes.lua b/nodes.lua index 810df36..2d35cd2 100644 --- a/nodes.lua +++ b/nodes.lua @@ -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 new file mode 100644 index 0000000000000000000000000000000000000000..1b971dc89ff8dbaacc89a3d7bfb3fd80a272c68f GIT binary patch literal 325 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!73?$#)eFPFP2=EDUjcm*fZb=Jos!D6fD`>0> zn~;?}DL;H(PWZ~o=xzCRduP|~U088oPSfG#b;lOA9$9$q@sCiTUdAMEcNc~ZR#^`q zhqJ&VvY3H^TNs2H8D`Cq01C2~c>21sKVW4M5trxNrhN)1G~3g~F@)nf;{=BM{|pRl zP6bR1%wY^Xzt)^Tv+n$M2C22Le*ItdYbAr$p8u=<{a*8dfoIj(Uu)N`y2POMckQoT zcUCW8@LIQa_5W3;jx%)adA0V|t9M5kbWg9^zi-XyZ46egSMB+I{?|7Kt6#hKulsfW z8$;Ks^}9~rT6>LwfB)W9XWyM#$zc0y&Dy=^*SuuV|F{3m+EwotGE{0R85>OqG_aW; V!r#&SPa5b<22WQ%mvv4FO#n-Qi`M`E literal 0 HcmV?d00001