kit-programmieren-ws1920-fi.../example1input.txt
2020-02-15 15:25:18 +01:00

52 lines
1.1 KiB
Plaintext

add track (1,1) -> (5,1)
add track (10,10) -> (10,11)
list tracks
add switch (5,1) -> (8,1),(5,3)
add track (5,3) -> (8,1)
add track (10,1) -> (8,1)
add switch (10,-3) -> (10,1),(12,-3)
add track (10,-3) -> (1,-3)
add track (1,-3) -> (1,1)
add track (5,3) -> (10,3)
add track (10,3) -> (12,3)
add switch (12,3) -> (12,-3),(14,3)
add track (14,-1) -> (14,3)
create engine steam T3 Emma 1 false true
list engines
create engine electrical 103 118 3 true true
list engines
delete rolling stock 3
delete rolling stock 103-118
create coach passenger 1 true true
create coach passenger 1 true true
list coaches
add train 1 W1
list trains
show train 01
delete train 1
list trains
add train 1 T3-Emma
add train 1 W1
add train 1 W2
list trains
show train 01
list engines
create train-set 403 145 4 true true
add train 2 403-145
set switch 4 position (10,1)
step 1
set switch 2 position (8,1)
set switch 9 position (12,-3)
step 1
put train 1 at (1,1) in direction 1,0
put train 2 at (10,-2) in direction 0,1
step 2
step -2
step 2
step 3
step 1
put train 1 at (1,1) in direction 0,-1
exit
quit