Remove extra empty strings in craft recipes (#2281)

This commit is contained in:
Paul Ouellette 2019-01-02 06:40:32 -05:00 committed by SmallJoker
parent 6688ddf6d4
commit ccf03ea404
3 changed files with 11 additions and 13 deletions

View File

@ -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

View File

@ -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"}
}
})

View File

@ -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},
},
})