blob: 41c5c11630588f304017860e86e6e5435f48e749 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
n=8
F.stn("MR"..(n-1).."U", "MR"..n.."U", "MR"..(n+1).."D","R", 10)
if event.train then
setstate("MR"..n.."DC", "green")
setstate("MR"..(n-1).."UC", "green")
end
if depart then
--setstate("MRS", "cr")
S.line[atc_id]="MRU"
--print("DEP")
setstate("MR"..(n+1).."DC", "red")
setstate("MR"..n.."UC", "red")
--setstate("MR"..(n+1)..n.."div", "st")
setstate("MR"..n..(n+1).."div", "st")
end
|