diff options
author | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 14:52:21 +0200 |
---|---|---|
committer | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 14:52:21 +0200 |
commit | ddaee135d42ede8b4970f2c2cce973f5c03234f1 (patch) | |
tree | f14d2a66f18808b4414dbf4aaff5d48b1e4017bb /Crossroads | |
parent | 5f72b7ec62a6f2fb8ce6b9d5379f03a3e4126971 (diff) | |
download | luaatc_envs-ddaee135d42ede8b4970f2c2cce973f5c03234f1.tar.gz luaatc_envs-ddaee135d42ede8b4970f2c2cce973f5c03234f1.tar.bz2 luaatc_envs-ddaee135d42ede8b4970f2c2cce973f5c03234f1.zip |
State at 2020-09-28
Diffstat (limited to 'Crossroads')
-rw-r--r-- | Crossroads/nodes/(-1902,2,698).lua | 0 | ||||
-rw-r--r-- | Crossroads/nodes/(-1908,2,706).lua | 0 | ||||
-rw-r--r-- | Crossroads/nodes/(544,11,2139).lua | 9 |
3 files changed, 9 insertions, 0 deletions
diff --git a/Crossroads/nodes/(-1902,2,698).lua b/Crossroads/nodes/(-1902,2,698).lua new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/Crossroads/nodes/(-1902,2,698).lua diff --git a/Crossroads/nodes/(-1908,2,706).lua b/Crossroads/nodes/(-1908,2,706).lua new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/Crossroads/nodes/(-1908,2,706).lua 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 |