squidy5 / cargo_ships

factorio mod that adds cargo ships and other content to the game
25 stars 40 forks source link

Bridges don't open when too close to a station #65

Open snouz opened 2 years ago

snouz commented 2 years ago

While working on the mod, I found that bridges don't open at all if they're too close to a station. No visual indication, they just stay an obstacle.

Imgur

I checked that it wasn't one of my changes and created a new game with v0.0.59, created a very basic loop, and the same thing happens.

squidy5 commented 2 years ago

How is the behavior when you place (chain) buoys before and behind the bridge entity?

robot256 commented 2 years ago

Yes, I think the problem is that the bridge adds invisible signals, but requires additional signals before and after for the ship detection to work correctly. In my last commit I tried to clarify this in the description.