Refresh built-in crafting recipe overrides (#161)

This commit is contained in:
Oblomov 2020-12-14 14:38:16 +01:00 committed by GitHub
parent 26ca7af997
commit 87e27d9f20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,24 +7,42 @@ Licensed under the zlib license. See LICENSE.md for more information.
-- Redefinitions of some default crafting recipes: -- Redefinitions of some default crafting recipes:
minetest.register_craft({ -- Signs: +1
output = "default:sign_wall 4", minetest.clear_craft({
recipe = { recipe = {
{"default:wood", "default:wood", "default:wood"}, {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
{"default:wood", "default:wood", "default:wood"}, {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
{"", "default:stick", ""}, {'', 'group:stick', ''},
}
})
minetest.clear_craft({
recipe = {
{'group:wood', 'group:wood', 'group:wood'},
{'group:wood', 'group:wood', 'group:wood'},
{'', 'group:stick', ''},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = "default:ladder 4", output = 'default:sign_wall_steel 4',
recipe = { recipe = {
{"default:stick", "", "default:stick"}, {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
{"default:stick", "default:stick", "default:stick"}, {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
{"default:stick", "", "default:stick"}, {'', 'group:stick', ''},
} }
}) })
minetest.register_craft({
output = 'default:sign_wall_wood 4',
recipe = {
{'group:wood', 'group:wood', 'group:wood'},
{'group:wood', 'group:wood', 'group:wood'},
{'', 'group:stick', ''},
}
})
minetest.clear_craft({ minetest.clear_craft({
recipe = { recipe = {
{"default:papyrus", "default:papyrus", "default:papyrus"} {"default:papyrus", "default:papyrus", "default:papyrus"}
@ -37,6 +55,7 @@ minetest.register_craft({
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = "default:rail 24", output = "default:rail 24",
recipe = { recipe = {