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
18
crafting.lua
18
crafting.lua
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user