not_blocking_trains

This commit is contained in:
1F616EMO 2024-01-05 19:57:29 +08:00
parent 2c9a3b01e2
commit 83b74d464c
No known key found for this signature in database
GPG Key ID: EF52EFA8E05859B2

View File

@ -64,7 +64,13 @@ for count = 1, 10, 1 do
sunlight_propagates = true, sunlight_propagates = true,
is_ground_content = false, is_ground_content = false,
walkable = false, walkable = false,
groups = { choppy = 2, attached_node = 1, flammable = 2, oddly_breakable_by_hand = 3 }, groups = {
choppy = 2,
attached_node = 1,
flammable = 2,
oddly_breakable_by_hand = 3,
not_blocking_trains = 1,
},
node_box = { node_box = {
type = "wallmounted", type = "wallmounted",
wall_top = { -0.5, -0.25, -0.25, -0.4375, 0.25, 0.25 }, wall_top = { -0.5, -0.25, -0.25, -0.4375, 0.25, 0.25 },
@ -80,7 +86,10 @@ for count = 1, 10, 1 do
tiles = { "front_platform" .. count .. ".png" }, tiles = { "front_platform" .. count .. ".png" },
inventory_image = "inventory_platform" .. count .. ".png", inventory_image = "inventory_platform" .. count .. ".png",
light_source = 5, light_source = 5,
groups = { cracky = 3 }, groups = {
cracky = 3,
not_blocking_trains = 1,
},
paramtype2 = "facedir", paramtype2 = "facedir",
paramtype = 'light', paramtype = 'light',
node_box = { node_box = {
@ -114,7 +123,10 @@ minetest.register_node("trainblocks:subwaysignL", {
paramtype = 'light', paramtype = 'light',
light_source = 6, light_source = 6,
is_ground_content = false, is_ground_content = false,
groups = { cracky = 3 }, groups = {
cracky = 3,
not_blocking_trains = 1,
},
}) })
minetest.register_node("trainblocks:subwaysignR", { minetest.register_node("trainblocks:subwaysignR", {
@ -138,7 +150,10 @@ minetest.register_node("trainblocks:subwaysignR", {
paramtype = 'light', paramtype = 'light',
light_source = 6, light_source = 6,
is_ground_content = false, is_ground_content = false,
groups = { cracky = 3 }, groups = {
cracky = 3,
not_blocking_trains = 1,
},
}) })
minetest.register_node("trainblocks:sbahnsignL", { minetest.register_node("trainblocks:sbahnsignL", {
@ -162,7 +177,10 @@ minetest.register_node("trainblocks:sbahnsignL", {
paramtype = 'light', paramtype = 'light',
light_source = 6, light_source = 6,
is_ground_content = false, is_ground_content = false,
groups = { cracky = 3 }, groups = {
cracky = 3,
not_blocking_trains = 1,
},
}) })
minetest.register_node("trainblocks:sbahnsignR", { minetest.register_node("trainblocks:sbahnsignR", {
@ -186,7 +204,10 @@ minetest.register_node("trainblocks:sbahnsignR", {
paramtype = 'light', paramtype = 'light',
light_source = 6, light_source = 6,
is_ground_content = false, is_ground_content = false,
groups = { cracky = 3 }, groups = {
cracky = 3,
not_blocking_trains = 1,
},
}) })
minetest.register_node("trainblocks:stationsignL", { minetest.register_node("trainblocks:stationsignL", {
@ -210,7 +231,10 @@ minetest.register_node("trainblocks:stationsignL", {
paramtype = 'light', paramtype = 'light',
light_source = 6, light_source = 6,
is_ground_content = false, is_ground_content = false,
groups = { cracky = 3 }, groups = {
cracky = 3,
not_blocking_trains = 1,
},
}) })
minetest.register_node("trainblocks:stationsignR", { minetest.register_node("trainblocks:stationsignR", {
@ -234,7 +258,10 @@ minetest.register_node("trainblocks:stationsignR", {
paramtype = 'light', paramtype = 'light',
light_source = 6, light_source = 6,
is_ground_content = false, is_ground_content = false,
groups = { cracky = 3 }, groups = {
cracky = 3,
not_blocking_trains = 1,
},
}) })
minetest.register_node("trainblocks:station_block", { minetest.register_node("trainblocks:station_block", {