Add compressed cobblestone, crafted with 9 cobblestone.

This commit is contained in:
Calinou 2014-12-14 10:33:57 +01:00
parent 5e5f46b310
commit 4b682f4730
5 changed files with 28 additions and 6 deletions

View File

@ -432,6 +432,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",
})

View File

@ -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},

View File

@ -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:

View File

@ -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:

Binary file not shown.

After

Width:  |  Height:  |  Size: 356 B