Rail crossing that stops trains when a player is nearby, but also stops players when a train is incoming or passing.
Demo video: https://www.youtube.com/watch?v=wkExJOErxYw
How it works:
- The rail signal on the left-hand side detects when a train is incoming, passing, or stopped across the crossing, and locks the gates in any of these cases.
- The gates detect when a player is nearby, which locks the rail signal on the right-hand side.
- The chain signal makes trains wait before entering the crossing if the following block is occupied, instead of blocking the crossing.
