Add compressed cobblestone, crafted with 9 cobblestone.
This commit is contained in:
parent
5e5f46b310
commit
4b682f4730
17
crafting.lua
17
crafting.lua
@ -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",
|
||||
})
|
||||
|
@ -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},
|
||||
|
@ -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:
|
||||
|
||||
|
@ -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:
|
||||
|
||||
|
BIN
textures/moreblocks_cobble_compressed.png
Normal file
BIN
textures/moreblocks_cobble_compressed.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 356 B |
Loading…
Reference in New Issue
Block a user