; 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) = 00, $Sub(31) = 01
$Sub(90) = $Sub($Sub(99)0)
$Sub(91) = $Sub($Sub(99)1)

; interval
; --------
$Sub(00) = 85, $Sub(01) = 170 ,; 2min
$Sub(10) = 125, $Sub(11) = 250 ,; 3min
$Sub(20) = 170, $Sub(21) = 335 ,; 5min
$Sub(30) = 295, $Sub(31) = 590 ,; 7min
$Sub(92) = $Sub($Sub(99)0)
$Sub(93) = $Sub($Sub(99)1)

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

; train
; -----
With Train
$Sub(00) = 1, $Sub(01) = 4
$Sub(10) = 1, $Sub(11) = 4
$Sub(20) = 1, $Sub(21) = 6
$Sub(30) = 1, $Sub(31) = 6
$Sub(40) = 1, $Sub(41) = 6
$Sub(50) = 2, $Sub(51) = 4
$Sub(60) = 9, $Sub(61) = 6
$Sub(9) = $Rnd(0;6)
.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_shimokanesawa_4.include;1;..\forward_shimokanesawa_5.include;1;..\forward_shimokanesawa_6.include;1;..\forward_shimokanesawa_7.include;1;..\forward_shimokanesawa_8.include;1;..\forward_shimokanesawa_9.include;1)
$Include(..\forward_shimokanesawa_3.include)
$Include(..\forward_shimokanesawa_yamauchi_central.include)
$Include(..\forward_yamauchi_central_r_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)

5700,.Sta Siding;$Sub(91).1310;;;0;;;;;0
6100,.Sta Shimokanesawa;;$Sub(91).1510;;$Sub(723);;;;;100
7500,.Sta Itazuma;;;;-1;;;;;125
8500,.Sta Yamauchi East;;;;1;;;;;160
9700,.Sta Yamauchi Central;$Sub(91).2030;$Sub(91).2100;;-1;;;;;125
10800,.Sta Ashikari;;;;-1;;;;;125
11700,.Sta Ishinden;;;;1;;;;;160
13000,.Sta Kawarada;;;;1;;;;;100
14000,.Sta Jimokuji East;S:$Sub(91).2815;;;$Sub(837);1;;;;100