Stairs: Stair recipe returns 8 stairs not 6
authorparamat <mat.gregory@virginmedia.com>
Wed, 22 Jun 2016 00:41:26 +0000 (01:41 +0100)
committerparamat <mat.gregory@virginmedia.com>
Wed, 22 Jun 2016 01:12:57 +0000 (02:12 +0100)
Make it consistent with the slab recipe which conserves volume

mods/stairs/init.lua

index 2195e4d42c880340f7df0b0921536769eabed9be..8a4ebdad2a5371848573fa1969a2d44c7b233dca 100644 (file)
@@ -89,7 +89,7 @@ function stairs.register_stair(subname, recipeitem, groups, images, description,
 
        if recipeitem then
                minetest.register_craft({
-                       output = 'stairs:stair_' .. subname .. ' 6',
+                       output = 'stairs:stair_' .. subname .. ' 8',
                        recipe = {
                                {recipeitem, "", ""},
                                {recipeitem, recipeitem, ""},
@@ -99,7 +99,7 @@ function stairs.register_stair(subname, recipeitem, groups, images, description,
 
                -- Flipped recipe for the silly minecrafters
                minetest.register_craft({
-                       output = 'stairs:stair_' .. subname .. ' 6',
+                       output = 'stairs:stair_' .. subname .. ' 8',
                        recipe = {
                                {"", "", recipeitem},
                                {"", recipeitem, recipeitem},