minetest-mm/mods/moreblocks/redefinitions.lua

72 lines
1.7 KiB
Lua
Raw Normal View History

2020-10-25 19:05:08 +01:00
--[[
More Blocks: redefinitions of default stuff
Copyright © 2011-2020 Hugo Locurcio and contributors.
Licensed under the zlib license. See LICENSE.md for more information.
--]]
-- Redefinitions of some default crafting recipes:
2020-12-15 14:17:53 +01: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', ''},
}
})
2020-10-25 19:05:08 +01:00
minetest.register_craft({
2020-12-15 14:17:53 +01:00
output = 'default:sign_wall_steel 4',
2020-10-25 19:05:08 +01:00
recipe = {
2020-12-15 14:17:53 +01:00
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
{'', 'group:stick', ''},
2020-10-25 19:05:08 +01:00
}
})
minetest.register_craft({
2020-12-15 14:17:53 +01:00
output = 'default:sign_wall_wood 4',
2020-10-25 19:05:08 +01:00
recipe = {
2020-12-15 14:17:53 +01:00
{'group:wood', 'group:wood', 'group:wood'},
{'group:wood', 'group:wood', 'group:wood'},
{'', 'group:stick', ''},
2020-10-25 19:05:08 +01:00
}
})
2020-12-15 14:17:53 +01:00
2020-10-25 19:05:08 +01: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"},
}
})
2020-12-15 14:17:53 +01:00
2020-10-25 19:05:08 +01: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"},
}
})
minetest.register_craft({
type = "toolrepair",
additional_wear = -0.10, -- Tool repair buff (10% bonus instead of 2%).
})