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
2019-02-25 12:13:55 +01:00
Copyright © 2011-2019 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
})