minetest-mods/moreblocks/redefinitions.lua

53 lines
1.2 KiB
Lua
Raw Normal View History

2019-12-14 17:47:31 +01:00
--[[
More Blocks: redefinitions of default stuff
2021-05-16 15:01:47 +02:00
Copyright (c) 2011-2018 Hugo Locurcio and contributors.
2019-12-14 17:47:31 +01:00
Licensed under the zlib license. See LICENSE.md for more information.
--]]
2021-05-16 15:01:47 +02:00
-- Redefinitions of some default crafting recipes:
2019-12-14 17:47:31 +01:00
2021-05-16 15:01:47 +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", ""},
2019-12-14 17:47:31 +01:00
}
2021-05-16 15:01:47 +02:00
})
2021-05-16 13:42:56 +02:00
2021-05-16 15:01:47 +02:00
minetest.register_craft({
output = "default:ladder 4",
recipe = {
{"default:stick", "", "default:stick"},
{"default:stick", "default:stick", "default:stick"},
{"default:stick", "", "default:stick"},
}
})
2021-05-16 13:42:56 +02:00
2021-05-16 15:01:47 +02:00
minetest.clear_craft({
recipe = {
{"default:papyrus", "default:papyrus", "default:papyrus"}
}
})
minetest.register_craft({
output = "default:paper 4",
recipe = {
{"default:papyrus", "default:papyrus", "default:papyrus"},
}
})
2021-05-16 13:42:56 +02:00
2021-05-16 15:01:47 +02:00
minetest.register_craft({
output = "default:rail 24",
recipe = {
{"default:steel_ingot", "", "default:steel_ingot"},
{"default:steel_ingot", "default:stick", "default:steel_ingot"},
{"default:steel_ingot", "", "default:steel_ingot"},
}
2019-12-14 17:47:31 +01:00
})
minetest.register_craft({
type = "toolrepair",
additional_wear = -0.10, -- Tool repair buff (10% bonus instead of 2%).
})