Skip to content

Commit 175a9f8

Browse files
committedJun 14, 2017
Stairs: Use one recipe matching inventory appearence
No longer have 2 recipes for stairs, choose the one that matches the appearence in inventory (stair rising toward the right). Helps to reduce recipe count now that an increasing number of stairs are being registered.
1 parent b91e047 commit 175a9f8

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed
 

‎mods/stairs/init.lua

+1-10
Original file line numberDiff line numberDiff line change
@@ -89,16 +89,7 @@ function stairs.register_stair(subname, recipeitem, groups, images, description,
8989
end
9090

9191
if recipeitem then
92-
minetest.register_craft({
93-
output = 'stairs:stair_' .. subname .. ' 8',
94-
recipe = {
95-
{recipeitem, "", ""},
96-
{recipeitem, recipeitem, ""},
97-
{recipeitem, recipeitem, recipeitem},
98-
},
99-
})
100-
101-
-- Flipped recipe for the silly minecrafters
92+
-- Recipe matches appearence in inventory
10293
minetest.register_craft({
10394
output = 'stairs:stair_' .. subname .. ' 8',
10495
recipe = {

0 commit comments

Comments
 (0)
Please sign in to comment.