summaryrefslogtreecommitdiff
path: root/subway/nodes/(-29,3,-80).lua
diff options
context:
space:
mode:
Diffstat (limited to 'subway/nodes/(-29,3,-80).lua')
-rw-r--r--subway/nodes/(-29,3,-80).lua20
1 files changed, 18 insertions, 2 deletions
diff --git a/subway/nodes/(-29,3,-80).lua b/subway/nodes/(-29,3,-80).lua
index e10cb8f..c1c1488 100644
--- a/subway/nodes/(-29,3,-80).lua
+++ b/subway/nodes/(-29,3,-80).lua
@@ -1,7 +1,23 @@
F.stn_ilk("Erd4E", "iob4E", "Ori4E", "R")
if event.train then
-interrupt_pos(POS(10,0,-10), "arr"..S.line[atc_id])
+if get_line()=="4" then
+ if get_rc()=="NY" then
+ interrupt_pos(POS(10,0,-10), "arr44")
+ else
+ interrupt_pos(POS(10,0,-10), "arr4")
+ end
+else
+ interrupt_pos(POS(10,0,-10), "arr1")
+end
end
if depart then
-interrupt_pos(POS(10,0,-10), "dep"..S.line[atc_id])
+if get_line()=="4" then
+ if get_rc()=="NY" then
+ interrupt_pos(POS(10,0,-10), "dep44")
+ else
+ interrupt_pos(POS(10,0,-10), "dep4")
+ end
+else
+ interrupt_pos(POS(10,0,-10), "dep1")
+end
end \ No newline at end of file