summaryrefslogtreecommitdiff
path: root/subway/nodes/(-14,3,4).lua
diff options
context:
space:
mode:
Diffstat (limited to 'subway/nodes/(-14,3,4).lua')
-rw-r--r--subway/nodes/(-14,3,4).lua11
1 files changed, 10 insertions, 1 deletions
diff --git a/subway/nodes/(-14,3,4).lua b/subway/nodes/(-14,3,4).lua
index 825989c..2a14ddc 100644
--- a/subway/nodes/(-14,3,4).lua
+++ b/subway/nodes/(-14,3,4).lua
@@ -11,6 +11,12 @@ if event.ext_int then
nwaiting = nnwaiting
nnwaiting = nil
setint=true
+ elseif event.message == "dep44" then
+ next_appr = 44
+ appr_tmr = appr_time[4]
+ nwaiting = nnwaiting
+ nnwaiting = nil
+ setint=true
elseif event.message == "dep1" then
next_appr = 1
appr_tmr = appr_time[1]
@@ -21,6 +27,8 @@ if event.ext_int then
if nwaiting then nnwaiting = 1 else nwaiting = 1 end
elseif event.message == "arr4" then
if nwaiting then nnwaiting = 4 else nwaiting = 4 end
+ elseif event.message == "arr44" then
+ if nwaiting then nnwaiting = 44 else nwaiting = 44 end
elseif event.message == "depo" then
next_appr = nil
end
@@ -47,7 +55,8 @@ if appr_tmr <= 0 then
end
local txt = {
[1] = "Palm Bay",
- [4] = "Apple Grove",
+ [4] = "Ice Mntn",
+ [44] = "Showroom",
}
local line1, line2, line3 = "", "", ""
if next_appr then