mirror of
https://gitlab.com/arnekeller/kit-programmieren-ws1920-final1.git
synced 2024-11-27 18:55:55 +00:00
35 lines
957 B
Plaintext
35 lines
957 B
Plaintext
add track (1,1) -> (5,1)
|
|
add switch (5,1) -> (8,1),(5,3)
|
|
add track (10,1) -> (8,1)
|
|
add switch (10,-3) -> (10,1),(12,-3)
|
|
add track (10,-3) -> (1,-3)
|
|
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
|
|
create engine electrical 103 118 3 true true
|
|
delete rolling stock 3
|
|
delete rolling stock 103-118
|
|
create coach passenger 1 true true
|
|
add train 1 W1
|
|
delete train 1
|
|
add train 1 T3-Emma
|
|
add train 1 W2
|
|
create train-set 403 145 4 true true
|
|
add train 2 403-145
|
|
set switch 4 position (10,1)
|
|
set switch 2 position (8,1)
|
|
set switch 8 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 4
|
|
step 1
|
|
# Beim Aufgleisen ist zu beachten, dass der Richtungsvektor der Richtung des Gleises beim Aufgleispunkt entspricht (oder dem entgegengesetzten).
|
|
put train 1 at (1,1) in direction 0,-1
|
|
exit
|