diff options
author | orwell <orwell@bleipb.de> | 2024-07-20 21:04:17 +0200 |
---|---|---|
committer | orwell <orwell@bleipb.de> | 2024-07-20 21:04:17 +0200 |
commit | 69e4b8f99aac08c404a733c2338f9de9cddab829 (patch) | |
tree | 801ab60e5c89a1f410b3466821b847ee19495940 /advtrains_interlocking/signal_api.lua | |
parent | baa50c03920fd0a563fce09929f3d56c3374e8bd (diff) | |
download | advtrains-69e4b8f99aac08c404a733c2338f9de9cddab829.tar.gz advtrains-69e4b8f99aac08c404a733c2338f9de9cddab829.tar.bz2 advtrains-69e4b8f99aac08c404a733c2338f9de9cddab829.zip |
Support signal aspect selection for routes again
Diffstat (limited to 'advtrains_interlocking/signal_api.lua')
-rw-r--r-- | advtrains_interlocking/signal_api.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/advtrains_interlocking/signal_api.lua b/advtrains_interlocking/signal_api.lua index cede405..bf14247 100644 --- a/advtrains_interlocking/signal_api.lua +++ b/advtrains_interlocking/signal_api.lua @@ -100,7 +100,8 @@ ndef.advtrains = { -- Determines how the signal behaves when routes are set. Only in effect when signal is assigned to a TCB. -- main: The signal is a possible endpoint for a train move route. Distant signals before it refer to it. -- shunt: The signal is a possible endpoint for a shunt move route. Ignored for distant signals. - -- distant, distant_repeater: When route is set, signal is always assigned its first main aspect. The next signal with role="main" is set as the remote signal. (currently no further distinction) + -- distant, distant_repeater: The next signal with role="main" is set as the remote signal. main_aspects may be undefined, the main aspect passed to apply_aspect is a dummy one in this case. + -- distant: if more than one distant signal is before a main signal, only the last one is assigned (but any number of distant_repeater signals are allowed) -- main_distant: Combination of main and distant - like "main", but additionally gets assigned to the next main like a "distant" -- end: like main, but signifies that it marks an end of track and trains cannot continue further. (currently no practical implications above main) } |