diff options
author | Calinou <calinou@opmbx.org> | 2014-12-14 10:33:57 +0100 |
---|---|---|
committer | Calinou <calinou@opmbx.org> | 2014-12-27 19:32:45 +0100 |
commit | 4b682f47301e68d83da98f6ee5d57c6f526ba051 (patch) | |
tree | cc2befaecdbe59ae09cad6135bed6b0bfee7a7d2 | |
parent | 5e5f46b310c49133f60173972d6282aee5b72fba (diff) | |
download | moreblocks-4b682f47301e68d83da98f6ee5d57c6f526ba051.tar.gz moreblocks-4b682f47301e68d83da98f6ee5d57c6f526ba051.tar.bz2 moreblocks-4b682f47301e68d83da98f6ee5d57c6f526ba051.zip |
Add compressed cobblestone, crafted with 9 cobblestone.
-rw-r--r-- | crafting.lua | 17 | ||||
-rw-r--r-- | nodes.lua | 5 | ||||
-rw-r--r-- | stairsplus/slabs.lua | 6 | ||||
-rw-r--r-- | stairsplus/stairs.lua | 6 | ||||
-rw-r--r-- | textures/moreblocks_cobble_compressed.png | bin | 0 -> 356 bytes |
5 files changed, 28 insertions, 6 deletions
diff --git a/crafting.lua b/crafting.lua index 2047727..d8a006d 100644 --- a/crafting.lua +++ b/crafting.lua @@ -433,6 +433,23 @@ minetest.register_craft({ }) minetest.register_craft({ + output = "moreblocks:cobble_compressed", + recipe = { + {"default:cobble", "default:cobble", "default:cobble"}, + {"default:cobble", "default:cobble", "default:cobble"}, + {"default:cobble", "default:cobble", "default:cobble"}, + } +}) + +minetest.register_craft({ + output = "default:cobble 9", + recipe = { + {"moreblocks:cobble_compressed"}, + } +}) + + +minetest.register_craft({ type = "cooking", output = "moreblocks:tar", recipe = "default:gravel", }) @@ -116,6 +116,11 @@ local nodes = { groups = {cracky = 2}, sounds = sound_stone, }, + ["cobble_compressed"] = { + description = S("Compressed Cobblestone"), + groups = {cracky = 1}, + sounds = sound_stone, + }, ["plankstone"] = { description = S("Plankstone"), groups = {cracky = 3}, diff --git a/stairsplus/slabs.lua b/stairsplus/slabs.lua index bbae96b..034df52 100644 --- a/stairsplus/slabs.lua +++ b/stairsplus/slabs.lua @@ -74,11 +74,11 @@ function stairsplus:register_slab(modname, subname, recipeitem, fields) end def.description = desc if fields.drop then - def.drop = modname.. ":slab_" ..fields.drop..alternate + def.drop = modname.. ":slab_" .. fields.drop .. alternate end - minetest.register_node(":" ..modname.. ":slab_" ..subname..alternate, def) + minetest.register_node(":" .. modname .. ":slab_" .. subname .. alternate, def) end - minetest.register_alias("stairs:slab_" ..subname, modname.. ":slab_" ..subname) + minetest.register_alias("stairs:slab_" .. subname, modname .. ":slab_" .. subname) -- Some saw-less recipes: diff --git a/stairsplus/stairs.lua b/stairsplus/stairs.lua index b921d08..1690d85 100644 --- a/stairsplus/stairs.lua +++ b/stairsplus/stairs.lua @@ -115,11 +115,11 @@ function stairsplus:register_stair(modname, subname, recipeitem, fields) end def.description = desc if fields.drop then - def.drop = modname.. ":stair_" ..fields.drop..alternate + def.drop = modname .. ":stair_" .. fields.drop .. alternate end - minetest.register_node(":" ..modname.. ":stair_" ..subname..alternate, def) + minetest.register_node(":" .. modname .. ":stair_" .. subname .. alternate, def) end - minetest.register_alias(":stairs:stair_" ..subname, modname.. ":stair_" ..subname) + minetest.register_alias("stairs:stair_" .. subname, modname .. ":stair_" .. subname) -- Some saw-less recipes: diff --git a/textures/moreblocks_cobble_compressed.png b/textures/moreblocks_cobble_compressed.png Binary files differnew file mode 100644 index 0000000..94d02b5 --- /dev/null +++ b/textures/moreblocks_cobble_compressed.png |