forked from minetest-mods/moreblocks
Code cleanup, new Stairs+ recipes.
This commit is contained in:
parent
28741bf242
commit
f7916005c2
@ -84,19 +84,34 @@ function stairsplus:register_micro(modname, subname, recipeitem, fields)
|
||||
|
||||
-- Some saw-less recipes:
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "moreblocks:micro_" .. subname .. " 7",
|
||||
recipe = {"moreblocks:stair_" .. subname .. "_inner"},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "moreblocks:micro_" .. subname .. " 6",
|
||||
recipe = {{"moreblocks:stair_" .. subname}},
|
||||
type = "shapeless",
|
||||
recipe = {"moreblocks:stair_" .. subname},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "moreblocks:micro_" .. subname .. " 5",
|
||||
recipe = {"moreblocks:stair_" .. subname .. "_outer"},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "moreblocks:micro_" .. subname .. " 4",
|
||||
recipe = {{"moreblocks:slab_" .. subname}},
|
||||
recipe = {"moreblocks:slab_" .. subname},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "moreblocks:micro_" .. subname .. " 2",
|
||||
recipe = {{"moreblocks:panel_" .. subname}},
|
||||
recipe = {"moreblocks:panel_" .. subname},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
|
@ -94,9 +94,16 @@ function stairsplus:register_slab(modname, subname, recipeitem, fields)
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "moreblocks:slab_" .. subname,
|
||||
recipe = {"moreblocks:panel_" .. subname, "moreblocks:panel_" .. subname},
|
||||
recipe = {{"moreblocks:panel_" .. subname, "moreblocks:panel_" .. subname}},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "moreblocks:slab_" .. subname,
|
||||
recipe = {
|
||||
{"moreblocks:panel_" .. subname},
|
||||
{"moreblocks:panel_" .. subname},
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
|
@ -206,4 +206,20 @@ function stairsplus:register_stair(modname, subname, recipeitem, fields)
|
||||
output = "moreblocks:stair_" .. subname,
|
||||
recipe = {"moreblocks:panel_" .. subname, "moreblocks:panel_" .. subname, "moreblocks:panel_" .. subname},
|
||||
})
|
||||
|
||||
minetest.register_craft({ -- See mirrored variation of the recipe below.
|
||||
output = "moreblocks:stair_" .. subname .. "_alt",
|
||||
recipe = {
|
||||
{"moreblocks:panel_" .. subname, ""},
|
||||
{"" , "moreblocks:panel_" .. subname},
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({ -- Mirrored variation of the recipe above.
|
||||
output = "moreblocks:stair_" .. subname .. "_alt",
|
||||
recipe = {
|
||||
{"" , "moreblocks:panel_" .. subname},
|
||||
{"moreblocks:panel_" .. subname, ""},
|
||||
},
|
||||
})
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user