Make bar light and ceiling light not block trains (#9)

to be able to use them together with [advtrains] in narrow train tunnels or stations
This commit is contained in:
Peter Nerlich 2022-01-02 01:12:20 +01:00 committed by GitHub
parent 859af5989f
commit 717553c9cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -131,7 +131,7 @@ minetest.register_node("morelights_modern:barlight_c", {
paramtype = "light",
sunlight_propagates = true,
light_source = minetest.LIGHT_MAX,
groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1},
groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1, not_blocking_trains = 1},
_mcl_hardness = 0.15,
sounds = morelights.sounds.glass
})
@ -153,7 +153,7 @@ minetest.register_node("morelights_modern:barlight_s", {
paramtype2 = "facedir",
sunlight_propagates = true,
light_source = minetest.LIGHT_MAX,
groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1},
groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1, not_blocking_trains = 1},
_mcl_hardness = 0.15,
sounds = morelights.sounds.glass
})
@ -173,7 +173,7 @@ minetest.register_node("morelights_modern:ceilinglight", {
paramtype2 = "facedir",
sunlight_propagates = true,
light_source = minetest.LIGHT_MAX,
groups = {cracky = 3, oddly_breakable_by_hand = 3, handy = 1},
groups = {cracky = 3, oddly_breakable_by_hand = 3, handy = 1, not_blocking_trains = 1},
_mcl_hardness = 0.2,
sounds = morelights.sounds.glass,