diff options
author | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 14:53:27 +0200 |
---|---|---|
committer | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 14:53:27 +0200 |
commit | 50e7e846b18f4a3e0185659874371f67f461635c (patch) | |
tree | 71c48752d7e1f60b1d40f792e72683075618e1bf | |
parent | c4dfe197ba2a8fbe182e27a9dc691f889626a737 (diff) | |
download | luaatc_envs-50e7e846b18f4a3e0185659874371f67f461635c.tar.gz luaatc_envs-50e7e846b18f4a3e0185659874371f67f461635c.tar.bz2 luaatc_envs-50e7e846b18f4a3e0185659874371f67f461635c.zip |
State at 2021-06-30
-rw-r--r-- | durt/nodes/(-1440,11,-2580).lua | 2 | ||||
-rw-r--r-- | durt/nodes/(-1442,11,-2580).lua | 2 | ||||
-rw-r--r-- | durt/nodes/(-1514,11,-2588).lua | 6 |
3 files changed, 8 insertions, 2 deletions
diff --git a/durt/nodes/(-1440,11,-2580).lua b/durt/nodes/(-1440,11,-2580).lua index 9394fdc..793db52 100644 --- a/durt/nodes/(-1440,11,-2580).lua +++ b/durt/nodes/(-1440,11,-2580).lua @@ -1,2 +1,2 @@ -F.remove_rc({"S27_EXIT","S27_test"},true) +F.remove_rc({"S27_EXIT","S27_EXIT_LOOP","S27_test"},true) if atc_arrow then atc_send("SM") end
\ No newline at end of file diff --git a/durt/nodes/(-1442,11,-2580).lua b/durt/nodes/(-1442,11,-2580).lua index c0707cd..d9baef7 100644 --- a/durt/nodes/(-1442,11,-2580).lua +++ b/durt/nodes/(-1442,11,-2580).lua @@ -1 +1 @@ -if event.train and atc_arrow then
local rc = get_rc() or ""
local rc_remove = {
['S27_EXIT'] = true,
['S27_test'] = true
}
local rc_list = {}
for token in rc:gmatch("[^%s]+") do
if not rc_remove[token] then
table.insert(rc_list,token)
end
end
rc = table.concat(rc_list," ")
set_rc(rc)
atc_send("SM")
return
end
\ No newline at end of file +if event.train and atc_arrow then
local rc = get_rc() or ""
local rc_remove = {
['S27_EXIT'] = true,
['S27_EXIT_LOOP'] = true,
['S27_test'] = true
}
local rc_list = {}
for token in rc:gmatch("[^%s]+") do
if not rc_remove[token] then
table.insert(rc_list,token)
end
end
rc = table.concat(rc_list," ")
set_rc(rc)
atc_send("SM")
return
end
\ No newline at end of file diff --git a/durt/nodes/(-1514,11,-2588).lua b/durt/nodes/(-1514,11,-2588).lua new file mode 100644 index 0000000..6263481 --- /dev/null +++ b/durt/nodes/(-1514,11,-2588).lua @@ -0,0 +1,6 @@ +if event.train and atc_arrow then + atc_set_ars_disable(false) + atc_send("S3") + set_rc(get_rc().." S27_EXIT_LOOP") + return +end
\ No newline at end of file |