add node copper patina (#37)
Good for building things like the statue of liberty.
This commit is contained in:
parent
fa6937ce7b
commit
eb3f9363d5
16
crafting.lua
16
crafting.lua
@ -457,6 +457,22 @@ minetest.register_craft({
|
|||||||
type = "cooking", output = "moreblocks:tar", recipe = "default:gravel",
|
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”
|
if minetest.setting_getbool("moreblocks.circular_saw_crafting") ~= false then -- “If nil or true then”
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "moreblocks:circular_saw",
|
output = "moreblocks:circular_saw",
|
||||||
|
@ -331,6 +331,11 @@ local nodes = {
|
|||||||
sounds = sound_leaves,
|
sounds = sound_leaves,
|
||||||
no_stairs = true,
|
no_stairs = true,
|
||||||
},
|
},
|
||||||
|
["copperpatina"] = {
|
||||||
|
description = S("Copper Patina Block"),
|
||||||
|
groups = {cracky = 1, level = 2},
|
||||||
|
sounds = sound_stone,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
for name, def in pairs(nodes) do
|
for name, def in pairs(nodes) do
|
||||||
|
BIN
textures/moreblocks_copperpatina.png
Normal file
BIN
textures/moreblocks_copperpatina.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 325 B |
Loading…
Reference in New Issue
Block a user