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

View File

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