-
Notifications
You must be signed in to change notification settings - Fork 0
/
Loft.accessory
22 lines (18 loc) · 1.08 KB
/
Loft.accessory
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Current key words are SIGNALS:: followed by individual signal definitions on new lines. ::END to finish section
# Each line should be of the format
# "SignalLabel":: Pos["TrackLabel"] Red[Conditions]
# where Conditions is a sequence of "TrackLabel" 0/1 &/| with optional parentheses () to group statements
# 0 for track piece not set, 1 for track piece set, & for 'and', | for 'or'. "TrackLabel" is a label previously defined
# in .track
SIGNALS::
"R2a":: Pos["R2a"] Red["R2a" 0 & "R1a" 1]
"R4a":: Pos["R4a"] Red["R4a" 1 & "R3b" 1 | "R4a" 0 & ("R3c" 1 | "R2b" 1)]
"R1b":: Pos["R1b"] Red["R1b" 1 | "R2c" 1| "R3a" 1]
"St1a":: Pos["St1a"] Red["St1a" 1 | "R3b" 0 & "R4b" 0 & "C2b" 1]
"Platform 1":: Pos["Platform 1" End] Red["St3" 1 | "St2" 1 | "St1b" 1]
"Platform 2":: Pos["Platform 2" End Right] Red["St3" 0 | "St2" 1 | "St1b" 1]
"L1a":: Pos["L1a"] Red["L1a" 0 & ("L2a" 1 | "L3a" 1) | "L1a" 1 & ("L2b" 1 & "L3a" 1 | "L2b" 0 & ("L3c" 1 | "L4a" 1))]
"L3b":: Pos["L3b"] Red["L3b" 0 & ("L4c" 1 | "L5a" 1)]
"L5b":: Pos["L5b"] Red["L5b" 1 | "L4b" 1]
"L4a":: Pos["L4a"] Red["L4a" 0 & ("L3c" 1 | "L2b" 1)]
::END