moreblocks/redefinitions.lua

53 lines
1.2 KiB
Lua
Raw Normal View History

--[[
2015-01-12 17:46:22 +01:00
More Blocks: redefinitions of default stuff
2020-01-01 04:09:24 +01: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 20:33:02 +02:00
minetest.register_craft({
output = "default:sign_wall 4",
recipe = {
{"default:wood", "default:wood", "default:wood"},
{"default:wood", "default:wood", "default:wood"},
{"", "default:stick", ""},
}
})
minetest.register_craft({
output = "default:ladder 4",
2013-07-11 20:33:02 +02:00
recipe = {
{"default:stick", "", "default:stick"},
{"default:stick", "default:stick", "default:stick"},
{"default:stick", "", "default:stick"},
}
})
minetest.clear_craft({
recipe = {
{"default:papyrus", "default:papyrus", "default:papyrus"}
}
})
2013-07-11 20:33:02 +02:00
minetest.register_craft({
output = "default:paper 4",
2013-07-11 20:33:02 +02:00
recipe = {
{"default:papyrus", "default:papyrus", "default:papyrus"},
}
})
minetest.register_craft({
output = "default:rail 24",
2013-07-11 20:33:02 +02: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 19:05:15 +02:00
additional_wear = -0.10, -- Tool repair buff (10% bonus instead of 2%).
2013-07-11 20:33:02 +02:00
})