; An overview of Sub variables is available
; in the common.include file.

; time of day
; -----------
; 0 = sunrise
; 1 = daylight
; 2 = sunset
; 3 = night
$Sub(0) = 0
$Sub(1) = 0
$Sub(2) = 0
$Sub(3) = 1
$Sub(4) = 1
$Sub(5) = 1
$Sub(6) = 1
$Sub(7) = 2
$Sub(8) = 2
$Sub(9) = 3
$Sub(99) = $Sub($Rnd(0;9))

; hours
; -----
$Sub(00) = 06, $Sub(01) = 07
$Sub(10) = 13, $Sub(11) = 14
$Sub(20) = 19, $Sub(21) = 20
$Sub(30) = 23, $Sub(31) = 24
$Sub(90) = $Sub($Sub(99)0)
$Sub(91) = $Sub($Sub(99)1)

; interval
; --------
$Sub(00) = 170, $Sub(01) = 335 ,; 4min
$Sub(10) = 250, $Sub(11) = 505 ,; 6min
$Sub(20) = 170, $Sub(21) = 335 ,; 4min
$Sub(30) = 420, $Sub(31) = 840 ,; 10min
$Sub(92) = $Sub($Sub(99)0)
$Sub(93) = $Sub($Sub(99)1)

; route
; -----
With Route
.Change -1
.Comment Uchiike Line$Chr(13)Uchiike Central to Kawarada$Chr(13)Local train$Chr(13)$Chr(13)ATS-SN$Chr(13)Up to 3 cars
.Timetable Local train

; train
; -----
With Train
.Folder Chashinai\ch2000-3

; common structures and configurations
; ------------------------------------
$include(..\common.include)
Options.SectionBehavior 1



; ---------------------------

With Track

$Include(..\forward_uchiike_central_1.include;1;..\forward_uchiike_central_2.include;1)
$Include(..\forward_uchiike_central_kurahone.include)
$Include(..\forward_kurahone_kawarada.include)
$Include(..\forward_kawarada_siding_1.include;1;..\forward_kawarada_siding_2.include;1;..\forward_kawarada_siding_3.include;1;..\forward_kawarada_siding_4.include;1)

07900,.Sta Uchiike Central;$Sub(90).1240;$Sub(90).1310;;$Sub(287);1;;;;40
08400,.Sta Uchiike North;$Sub(90).1440;$Sub(90).1500;;1;1;;;;50
08800,.Sta Kurahone;;;;1;;;;;65
09500,.Sta Sanuki;$Sub(90).1800;$Sub(90).1820;;1;1;;;;65
09900,.Sta Bato (closed);P;;;1;;;;;65
10300,.Sta Miyaokorogawa;;;;1;;;;;65
12100,.Sta Futao;;;;-1;;;;;65
13000,.Sta Kawarada;S:$Sub(90).2440;$Sub(90).2510;;1;1;;;;0
13175,.Sta Siding;S:$Sub(90).2615;T;;0;1;;;;0