From 786621712b78116b871f727b9bfee48214810905 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 17 Mar 2022 04:39:12 +0100 Subject: [PATCH] Change stair nodebox --- mods/stairs/init.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mods/stairs/init.lua b/mods/stairs/init.lua index acf394a..a74bed4 100644 --- a/mods/stairs/init.lua +++ b/mods/stairs/init.lua @@ -84,10 +84,12 @@ function stairs.register_stair(subname, recipeitem, groups, images, description, groups = new_groups, sounds = sounds, node_box = { + -- This stairs nodebox is a bit unusual. + -- This is done in a way that it completely blocks off the laser type = "fixed", fixed = { - {-0.5, -0.5, -0.5, 0.5, 0.0, 0.5}, - {-0.5, 0.0, 0.0, 0.5, 0.5, 0.5}, + {-0.5, -0.5, -0.5, 0.5, 1/16, 0.5}, + {-0.5, 1/16, -1/16, 0.5, 0.5, 0.5}, }, }, on_place = function(itemstack, placer, pointed_thing)