Add moreblocks.circular_saw_crafting to enable or disable circular saw crafting.

This commit is contained in:
Calinou 2015-02-22 20:01:23 +01:00
parent aef4413eb9
commit d3c775ba3a
1 changed files with 10 additions and 8 deletions

View File

@ -457,11 +457,13 @@ minetest.register_craft({
type = "cooking", output = "moreblocks:tar", recipe = "default:gravel",
})
minetest.register_craft({
output = "moreblocks:circular_saw",
recipe = {
{ "", "default:steel_ingot", "" },
{ "group:wood", "group:wood", "group:wood"},
{ "group:wood", "", "group:wood"},
}
})
if minetest.setting_getbool("moreblocks.circular_saw_crafting") ~= false then -- “If nil or true then”
minetest.register_craft({
output = "moreblocks:circular_saw",
recipe = {
{ "", "default:steel_ingot", "" },
{ "group:wood", "group:wood", "group:wood"},
{ "group:wood", "", "group:wood"},
}
})
end