Change stair nodebox

master
Wuzzy 2022-03-17 04:39:12 +01:00
parent 8cffe71c50
commit 786621712b
1 changed files with 4 additions and 2 deletions

View File

@ -84,10 +84,12 @@ function stairs.register_stair(subname, recipeitem, groups, images, description,
groups = new_groups, groups = new_groups,
sounds = sounds, sounds = sounds,
node_box = { node_box = {
-- This stairs nodebox is a bit unusual.
-- This is done in a way that it completely blocks off the laser
type = "fixed", type = "fixed",
fixed = { fixed = {
{-0.5, -0.5, -0.5, 0.5, 0.0, 0.5}, {-0.5, -0.5, -0.5, 0.5, 1/16, 0.5},
{-0.5, 0.0, 0.0, 0.5, 0.5, 0.5}, {-0.5, 1/16, -1/16, 0.5, 0.5, 0.5},
}, },
}, },
on_place = function(itemstack, placer, pointed_thing) on_place = function(itemstack, placer, pointed_thing)