forked from minetest/minetest_game
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({
|
minetest.register_craft({
|
||||||
output = name:sub(2),
|
output = name:sub(2),
|
||||||
recipe = {
|
recipe = {
|
||||||
{def.material, def.material, ""},
|
{def.material, def.material},
|
||||||
{"", "group:stick", ""},
|
{"", "group:stick"},
|
||||||
{"", "group:stick", ""}
|
{"", "group:stick"}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
@ -111,9 +111,9 @@ minetest.register_tool("fireflies:bug_net", {
|
|||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
output = "fireflies:bug_net",
|
output = "fireflies:bug_net",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"farming:string", "farming:string", ""},
|
{"farming:string", "farming:string"},
|
||||||
{"farming:string", "farming:string", ""},
|
{"farming:string", "farming:string"},
|
||||||
{"default:stick", "", ""}
|
{"default:stick", ""}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -171,9 +171,8 @@ minetest.register_node("fireflies:firefly_bottle", {
|
|||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
output = "fireflies:firefly_bottle",
|
output = "fireflies:firefly_bottle",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"", "", ""},
|
{"fireflies:firefly"},
|
||||||
{"", "fireflies:firefly", ""},
|
{"vessels:glass_bottle"}
|
||||||
{"", "vessels:glass_bottle", ""}
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -417,7 +417,6 @@ function stairs.register_stair_outer(subname, recipeitem, groups, images,
|
|||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = 'stairs:stair_outer_' .. subname .. ' 6',
|
output = 'stairs:stair_outer_' .. subname .. ' 6',
|
||||||
recipe = {
|
recipe = {
|
||||||
{ "", "", ""},
|
|
||||||
{"", recipeitem, ""},
|
{"", recipeitem, ""},
|
||||||
{recipeitem, recipeitem, recipeitem},
|
{recipeitem, recipeitem, recipeitem},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user