forked from minetest-mods/moreblocks
Add moreblocks.circular_saw_crafting to enable or disable circular saw crafting.
This commit is contained in:
parent
aef4413eb9
commit
d3c775ba3a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user