; 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) = 12, $Sub(11) = 13
$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) = 125, $Sub(01) = 250 ,; 3min
$Sub(10) = 210, $Sub(11) = 420 ,; 5min
$Sub(20) = 210, $Sub(21) = 420 ,; 5min
$Sub(30) = 380, $Sub(31) = 755 ,; 9min
$Sub(92) = $Sub($Sub(99)0)
$Sub(93) = $Sub($Sub(99)1)

; route
; -----
With Route
.Change 1
.Comment Takahagi Line$Chr(13)Tawaramoto to Jimokuji East$Chr(13)Express train$Chr(13)$Chr(13)ATS-SN / ATS-P$Chr(13)Up to 8 cars
.Timetable Express train

; train
; -----
With Train
$Sub(00) = 9, $Sub(01) = 8
$Sub(10) = 9, $Sub(11) = 6
$Sub(20) = 9, $Sub(21) = 6
$Sub(30) = 9, $Sub(31) = 4
$Sub(40) = 1, $Sub(41) = 6
$Sub(50) = 1, $Sub(51) = 6
$Sub(60) = 1, $Sub(61) = 4
$Sub(70) = 2, $Sub(71) = 4
$Sub(9) = $Rnd(0;7)
.Folder Chashinai\ch$Sub($Sub(9)0)000-$Sub($Sub(9)1)

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



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

With Track

$Include(..\forward_tawaramoto_siding_1.include;1;..\forward_tawaramoto_siding_2.include;1;..\forward_tawaramoto_siding_3.include;1;..\forward_tawaramoto_siding_4.include;1)
$Include(..\forward_tawaramoto_kuriyama.include)
$Include(..\forward_kuriyama_imaichi_express.include)
$Include(..\forward_imaichi_express.include)
$Include(..\forward_imaichi_kishigawa_south_express.include)
$Include(..\forward_kishigawa_south_kainan_express.include)
$Include(..\forward_kainan_express.include)
$Include(..\forward_kainan_4.include)
$Include(..\forward_kainan_yamauchi_central.include)
$Include(..\forward_yamauchi_central_l_l.include)
$Include(..\forward_yamauchi_central_kawarada.include)
$Include(..\forward_kawarada_common.include)
$Include(..\forward_kawarada_jimokuji_east.include)
$Include(..\forward_jimokuji_east_1.include;1;..\forward_jimokuji_east_2.include;1;..\forward_jimokuji_east_3.include;1;..\forward_jimokuji_east_4.include;1)

00100,.Sta Siding;$Sub(91).0200;;;0;;;;;0
00600,.Sta Tawaramoto;;$Sub(91).0400;;-1;;;;;125
02175,.Sta Kuriyama;P;;;-1;;;;;125
03650,.Sta Imaichi;P;;;-1;;;;;125
04600,.Sta Utsunomiya;P;;;-1;;;;;125
05900,.Sta Kishigawa South;$Sub(91).0850;$Sub(91).0920;;-1;;;;;160
06600,.Sta Kishigawa North;P;;;-1;;;;;160
07400,.Sta Kainan;P;;;-1;;;;;160
08825,.Sta Yamauchi South;B;;;-1;;;;;160
09700,.Sta Yamauchi Central;$Sub(91).1300;$Sub(91).1330;;1;;;;;125
10800,.Sta Ashikari;P;;;-1;;;;;125
11700,.Sta Ishinden;B;;;1;;;;;125
13000,.Sta Kawarada;$Sub(91).1705;;;1;;;;;100
14000,.Sta Jimokuji East;S:$Sub(91).1930;;;$Sub(837);1;;;;100