Skip to content
Permalink
Browse files

Remove extra empty strings in craft recipes (#2281)

  • Loading branch information...
pauloue authored and SmallJoker committed Jan 2, 2019
1 parent 6688ddf commit ccf03ea404181affeb355b05b57b34c422918cc8
Showing with 11 additions and 13 deletions.
  1. +3 −3 mods/farming/api.lua
  2. +5 −6 mods/fireflies/init.lua
  3. +3 −4 mods/stairs/init.lua
@@ -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},
},
})

0 comments on commit ccf03ea

Please sign in to comment.
You can’t perform that action at this time.