diff options
author | pithydon <pithydon@gmail.com> | 2016-05-18 16:02:28 -0600 |
---|---|---|
committer | Auke Kok <sofar+github@foo-projects.org> | 2016-05-18 15:02:28 -0700 |
commit | eb3f9363d5485838451cfaca5fca79be2d08f44d (patch) | |
tree | 839c6c08d4beb6f3752151b719dbfe8041528123 | |
parent | fa6937ce7ba1eb4259a73f8458b56b2bcb851313 (diff) |
add node copper patina (#37)
Good for building things like the statue of liberty.
-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 |