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:
minetest.register_craft({
output = "default:sign_wall 4",
-- Signs: +1
minetest.clear_craft({
recipe = {
{"default:wood", "default:wood", "default:wood"},
{"default:wood", "default:wood", "default:wood"},
{"", "default:stick", ""},
{'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', ''},
}
})
minetest.register_craft({
output = "default:ladder 4",
output = 'default:sign_wall_steel 4',
recipe = {
{"default:stick", "", "default:stick"},
{"default:stick", "default:stick", "default:stick"},
{"default:stick", "", "default:stick"},
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
{'', '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({
recipe = {
{"default:papyrus", "default:papyrus", "default:papyrus"}
@ -37,6 +55,7 @@ minetest.register_craft({
}
})
minetest.register_craft({
output = "default:rail 24",
recipe = {