moreblocks/redefinitions.lua

72 lines
1.7 KiB
Lua
Raw Normal View History

--[[
2015-01-12 19:46:22 +03:00
More Blocks: redefinitions of default stuff
2020-01-01 06:09:24 +03:00
Copyright © 2011-2020 Hugo Locurcio and contributors.
Licensed under the zlib license. See LICENSE.md for more information.
--]]
-- Redefinitions of some default crafting recipes:
2013-07-11 22:33:02 +04:00
-- Signs: +1
minetest.clear_craft({
recipe = {
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
{'', 'group:stick', ''},
}
})
minetest.clear_craft({
recipe = {
{'group:wood', 'group:wood', 'group:wood'},
{'group:wood', 'group:wood', 'group:wood'},
{'', 'group:stick', ''},
}
})
2013-07-11 22:33:02 +04:00
minetest.register_craft({
output = 'default:sign_wall_steel 4',
2013-07-11 22:33:02 +04:00
recipe = {
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
{'', 'group:stick', ''},
2013-07-11 22:33:02 +04:00
}
})
minetest.register_craft({
output = 'default:sign_wall_wood 4',
2013-07-11 22:33:02 +04:00
recipe = {
{'group:wood', 'group:wood', 'group:wood'},
{'group:wood', 'group:wood', 'group:wood'},
{'', 'group:stick', ''},
2013-07-11 22:33:02 +04:00
}
})
minetest.clear_craft({
recipe = {
{"default:papyrus", "default:papyrus", "default:papyrus"}
}
})
2013-07-11 22:33:02 +04:00
minetest.register_craft({
output = "default:paper 4",
2013-07-11 22:33:02 +04:00
recipe = {
{"default:papyrus", "default:papyrus", "default:papyrus"},
}
})
2013-07-11 22:33:02 +04:00
minetest.register_craft({
output = "default:rail 24",
2013-07-11 22:33:02 +04:00
recipe = {
{"default:steel_ingot", "", "default:steel_ingot"},
{"default:steel_ingot", "default:stick", "default:steel_ingot"},
{"default:steel_ingot", "", "default:steel_ingot"},
}
})
minetest.register_craft({
type = "toolrepair",
2015-06-10 20:05:15 +03:00
additional_wear = -0.10, -- Tool repair buff (10% bonus instead of 2%).
2013-07-11 22:33:02 +04:00
})