diff options
author | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 14:56:42 +0200 |
---|---|---|
committer | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 14:56:42 +0200 |
commit | 67cf6aa5ec027ccf1e9a414486258c892e7dc1c3 (patch) | |
tree | 8da766116cb43a51cf07e42815c10d070ae42032 /durt/nodes/(-4129,13,-5726).lua | |
parent | 25df7958b37a5381ca068bbcc71a91521c702e6b (diff) | |
download | luaatc_envs-67cf6aa5ec027ccf1e9a414486258c892e7dc1c3.tar.gz luaatc_envs-67cf6aa5ec027ccf1e9a414486258c892e7dc1c3.tar.bz2 luaatc_envs-67cf6aa5ec027ccf1e9a414486258c892e7dc1c3.zip |
State at 2022-03-28
Diffstat (limited to 'durt/nodes/(-4129,13,-5726).lua')
-rw-r--r-- | durt/nodes/(-4129,13,-5726).lua | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/durt/nodes/(-4129,13,-5726).lua b/durt/nodes/(-4129,13,-5726).lua new file mode 100644 index 0000000..2f179db --- /dev/null +++ b/durt/nodes/(-4129,13,-5726).lua @@ -0,0 +1,28 @@ +if event.train then + if atc_arrow then + if F.has_rc("DLG_exit_north") then + F.remove_rc({"DLG_exit_north"}) + return + end + if F.has_rc("DLG_north_reverse") then + schedule_in(";01",atc_id) + return + end + else + if F.has_rc("DLG_north_reverse_couple") then + atc_send("CplD1S2") + return + end + end +end + + +if event.schedule then + if event.msg == atc_id then + schedule_in(";01",event.msg) + return + else + atc_send_to_train(event.msg,"S0WRS3") + return + end +end
\ No newline at end of file |