moreblocks/redefinitions.lua

72 lines
1.7 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
-- 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 20:33:02 +02:00
minetest.register_craft({
output = 'default:sign_wall_steel 4',
2013-07-11 20:33:02 +02: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 20:33:02 +02:00
}
})
minetest.register_craft({
output = 'default:sign_wall_wood 4',
2013-07-11 20:33:02 +02:00
recipe = {
{'group:wood', 'group:wood', 'group:wood'},
{'group:wood', 'group:wood', 'group:wood'},
{'', 'group:stick', ''},
2013-07-11 20:33:02 +02:00
}
})
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"},
}
})
2013-07-11 20:33:02 +02:00
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
})