diff options
author | Och Noe <och_noe@forksworld.de> | 2020-11-13 18:12:57 +0100 |
---|---|---|
committer | Och Noe <och_noe@forksworld.de> | 2020-11-13 18:12:57 +0100 |
commit | f9d85c00e5716204d9cb561b458cd1373bbd0d34 (patch) | |
tree | 08e8ae5bf8b18c7dde21849c80a1993921bf320f /stairsplus | |
parent | fb0dda5bf1bf31cbd043b6e29d7f8a32bdd66274 (diff) | |
download | moreblocks-f9d85c00e5716204d9cb561b458cd1373bbd0d34.tar.gz moreblocks-f9d85c00e5716204d9cb561b458cd1373bbd0d34.tar.bz2 moreblocks-f9d85c00e5716204d9cb561b458cd1373bbd0d34.zip |
2m long slopes are now train slope compatible
Diffstat (limited to 'stairsplus')
-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 |