mirror of
https://github.com/minetest/minetest_game.git
synced 2024-12-22 15:00:18 +01:00
Remove extra empty strings in craft recipes (#2281)
This commit is contained in:
parent
6688ddf6d4
commit
ccf03ea404
@ -106,9 +106,9 @@ farming.register_hoe = function(name, def)
|
||||
minetest.register_craft({
|
||||
output = name:sub(2),
|
||||
recipe = {
|
||||
{def.material, def.material, ""},
|
||||
{"", "group:stick", ""},
|
||||
{"", "group:stick", ""}
|
||||
{def.material, def.material},
|
||||
{"", "group:stick"},
|
||||
{"", "group:stick"}
|
||||
}
|
||||
})
|
||||
end
|
||||
|
@ -111,9 +111,9 @@ minetest.register_tool("fireflies:bug_net", {
|
||||
minetest.register_craft( {
|
||||
output = "fireflies:bug_net",
|
||||
recipe = {
|
||||
{"farming:string", "farming:string", ""},
|
||||
{"farming:string", "farming:string", ""},
|
||||
{"default:stick", "", ""}
|
||||
{"farming:string", "farming:string"},
|
||||
{"farming:string", "farming:string"},
|
||||
{"default:stick", ""}
|
||||
}
|
||||
})
|
||||
|
||||
@ -171,9 +171,8 @@ minetest.register_node("fireflies:firefly_bottle", {
|
||||
minetest.register_craft( {
|
||||
output = "fireflies:firefly_bottle",
|
||||
recipe = {
|
||||
{"", "", ""},
|
||||
{"", "fireflies:firefly", ""},
|
||||
{"", "vessels:glass_bottle", ""}
|
||||
{"fireflies:firefly"},
|
||||
{"vessels:glass_bottle"}
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -337,8 +337,8 @@ function stairs.register_stair_inner(subname, recipeitem, groups, images,
|
||||
minetest.register_craft({
|
||||
output = 'stairs:stair_inner_' .. subname .. ' 7',
|
||||
recipe = {
|
||||
{ "", recipeitem, ""},
|
||||
{ recipeitem, "", recipeitem},
|
||||
{"", recipeitem, ""},
|
||||
{recipeitem, "", recipeitem},
|
||||
{recipeitem, recipeitem, recipeitem},
|
||||
},
|
||||
})
|
||||
@ -417,8 +417,7 @@ function stairs.register_stair_outer(subname, recipeitem, groups, images,
|
||||
minetest.register_craft({
|
||||
output = 'stairs:stair_outer_' .. subname .. ' 6',
|
||||
recipe = {
|
||||
{ "", "", ""},
|
||||
{ "", recipeitem, ""},
|
||||
{"", recipeitem, ""},
|
||||
{recipeitem, recipeitem, recipeitem},
|
||||
},
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user