1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
S.ori = POS(24,5,3)
S.ewd = POS(209,17,-190)
S.infoc = POS(49,13,-115)
S.infoo = POS(33,7,6)
S.infoe = POS(197,19,-185)
S.avail = true
F.call = function(msg)
if not S.avail then
return
end
S.avail = false
interrupt_pos(S.ori,msg)
interrupt_pos(S.ewd,msg)
F.send_info("Trein in transit nouw! Pleise be patient nouw!")
end
F.send_info = function(msg)
interrupt_pos(S.infoc,msg)
interrupt_pos(S.infoo,msg)
interrupt_pos(S.infoe,msg)
end
F.send_station = function(name)
F.send_info("Trein is at "..name..". Pleise enter your destination!")
end
|