Rail Issue
Posted: Tue Mar 26, 2019 11:03 pm
Hi,
I seem to have an issue with my rails in my mod Bio Industries.
For some reason, the Wooden rail and Concrete rail cuts (disconnects) when the rails cross,but the power rail does not.
Does anyone possibly know what would cause this?
The Concrete rail is the Vanilla rail. I really don't know what I'm changing that could cause this issue...
In the image below wooden rail is to the left, concrete to the right and power rail under.

Also reported here
I seem to have an issue with my rails in my mod Bio Industries.
For some reason, the Wooden rail and Concrete rail cuts (disconnects) when the rails cross,but the power rail does not.
Does anyone possibly know what would cause this?
The Concrete rail is the Vanilla rail. I really don't know what I'm changing that could cause this issue...
In the image below wooden rail is to the left, concrete to the right and power rail under.

Also reported here
Code: Select all
---- Rail straight (Wood)
{
type = "straight-rail",
name = "bi-straight-rail-wood",
icon = "__Bio_Industries__/graphics/icons/straight-rail-wood.png",
icon_size = 32,
flags = {"placeable-neutral", "player-creation", "building-direction-8-way", "fast-replaceable-no-cross-type-while-moving"},
minable = {mining_time = 0.25, result = "bi-rail-wood"},
max_health = 60,
corpse = "straight-rail-remnants-wood",
resistances =
{
{
type = "fire",
percent = 80
},
{
type = "acid",
percent = 60
}
},
collision_box = {{-0.7, -0.8}, {0.7, 0.8}},
selection_box = {{-0.7, -0.8}, {0.7, 0.8}},
rail_category = "regular",
next_upgrade = "straight-rail",
pictures = rail_pictures(),
},
---- Rail curved (Wood)
{
type = "curved-rail",
name = "bi-curved-rail-wood",
icon = "__Bio_Industries__/graphics/icons/curved-rail-wood.png",
icon_size = 32,
flags = {"placeable-neutral", "player-creation", "building-direction-8-way", "fast-replaceable-no-cross-type-while-moving"},
minable = {mining_time = 0.25, result = "bi-rail-wood", count = 4},
max_health = 120,
corpse = "curved-rail-remnants-wood",
resistances =
{
{
type = "fire",
percent = 80
},
{
type = "acid",
percent = 60
}
},
collision_box = {{-0.75, -0.55}, {0.75, 1.6}},
secondary_collision_box = {{-0.65, -2.43}, {0.65, 2.43}},
selection_box = {{-1.7, -0.8}, {1.7, 0.8}},
rail_category = "regular",
next_upgrade = "curved-rail",
pictures = rail_pictures(),
placeable_by = { item="bi-rail-wood", count = 4}
},
--- Power straight Rail
{
type = "straight-rail",
name = "bi-straight-rail-power",
icon = "__Bio_Industries__/graphics/icons/rail-concrete-power.png",
icon_size = 32,
flags = {"placeable-neutral", "player-creation", "building-direction-8-way"},
minable = {mining_time = 0.5, result = "bi-rail-power"},
max_health = 60,
corpse = "straight-rail-remnants",
collision_box = {{-0.7, -0.8}, {0.7, 0.8}},
selection_box = {{-0.7, -0.8}, {0.7, 0.8}},
rail_category = "regular",
pictures = rail_pictures(),
},
--- Power curved Rail
{
type = "curved-rail",
name = "bi-curved-rail-power",
icon = "__Bio_Industries__/graphics/icons/rail-concrete-power.png",
icon_size = 32,
flags = {"placeable-neutral", "player-creation", "building-direction-8-way"},
minable = {mining_time = 0.5, result = "bi-rail-power", count = 4},
max_health = 120,
corpse = "curved-rail-remnants",
collision_box = {{-0.75, -0.55}, {0.75, 1.6}},
secondary_collision_box = {{-0.65, -2.43}, {0.65, 2.43}},
selection_box = {{-1.7, -0.8}, {1.7, 0.8}},
rail_category = "regular",
pictures = rail_pictures(),
placeable_by = { item="bi-rail-power", count = 4}
},