Spawn Subway

From LinuxWorks Minetest Server Wiki
Jump to navigation Jump to search

Spawn Subway is the subway network of Spawn, extending to Origin, Riverside, Birch Bay, and many other areas. It has 8 lines and many stations.


Network Map

More network maps can be found at


An old schematic map of the subway system, about 1 month after server launch

The Spawn Subway was the first train service on the Linuxworks Server. In its first working setup (about 1 week after server launch), it featured two lines and 5 stations:

The network quickly expanded, line numbers were assigned incrementally as more lines were opened.


The Spawn Subway uses a "handmade" LuaATC setup to operate trains. Wall signals are used to tell whether a subway train can proceed into the next section. A section starts and ends right after a station. A train frees its current section and blocks the next section in the moment it departs from a station. When there's a diverting junction, one such signal exists per diverting track.

In places where a track crosses another track, one of the stations(typically the one closer to the crossing) gets another signal which is controlled by trains on the other crossing track, passed in as "osig". The train will only depart if both the section signal and the crossing signal are green. This mechanism is also used for single-track lines on the Mountain Railway.

The initialization code can be viewed for reference at [1].

See Also