diff options
-rw-r--r-- | stairsplus/slopes.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/stairsplus/slopes.lua b/stairsplus/slopes.lua index 6d934f6..91a78f2 100644 --- a/stairsplus/slopes.lua +++ b/stairsplus/slopes.lua @@ -252,6 +252,9 @@ function stairsplus:register_slope(modname, subname, recipeitem, fields) def.description = desc def.use_texture_alpha = fields.use_texture_alpha def.groups = stairsplus:prepare_groups(fields.groups) + if alternate == "_half" or alternate == "_half_raised" then + def.groups.not_blocking_trains = 1 + end if fields.drop and not (type(fields.drop) == "table") then def.drop = modname.. ":slope_" ..fields.drop..alternate end |