summaryrefslogtreecommitdiff
path: root/Crossroads/nodes/(544,11,2139).lua
blob: 69612c94f66d5522cf153917b80c59b8fbbe8c0b (plain)
1
2
3
4
5
6
7
8
9
--
local interval = 900 -- Interval in seconds
local offset = 0 -- Offset for the timing system
if event.type == "train" then
  if atc_arrow then
    interrupt_time = (offset-os.time())%interval
    atc_send(string.format("BBWD%dRSM",interrupt_time))
  end
end