From ddaee135d42ede8b4970f2c2cce973f5c03234f1 Mon Sep 17 00:00:00 2001 From: autocommitter Date: Mon, 22 Apr 2024 14:52:21 +0200 Subject: State at 2020-09-28 --- Crossroads/nodes/(-1902,2,698).lua | 0 Crossroads/nodes/(-1908,2,706).lua | 0 Crossroads/nodes/(544,11,2139).lua | 9 +++++++++ 3 files changed, 9 insertions(+) create mode 100644 Crossroads/nodes/(-1902,2,698).lua create mode 100644 Crossroads/nodes/(-1908,2,706).lua create mode 100644 Crossroads/nodes/(544,11,2139).lua (limited to 'Crossroads') diff --git a/Crossroads/nodes/(-1902,2,698).lua b/Crossroads/nodes/(-1902,2,698).lua new file mode 100644 index 0000000..e69de29 diff --git a/Crossroads/nodes/(-1908,2,706).lua b/Crossroads/nodes/(-1908,2,706).lua new file mode 100644 index 0000000..e69de29 diff --git a/Crossroads/nodes/(544,11,2139).lua b/Crossroads/nodes/(544,11,2139).lua new file mode 100644 index 0000000..69612c9 --- /dev/null +++ b/Crossroads/nodes/(544,11,2139).lua @@ -0,0 +1,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 \ No newline at end of file -- cgit v1.2.3