aboutsummaryrefslogtreecommitdiff
path: root/assets/manual/man/man7advtrains/signal_aspects.7advtrains.md
blob: 110d6428773c3e49a3cd9fb64417a42c2d7b67cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
title: 'signal_aspects(7advtrains)'
manual: 'Advtrains Developer''s Manual'
seealso:
- speed(7advtrains)
---

# Name
`signal_aspects` - Signal aspect tables for Advtrains

# Description
A signal aspect table describes the status of a signal in relation to a train following it.

A signal aspect table may contain the following fields:

* `main`: The main aspect of the signal
* `type`: The type of speed restriction imposed by the main aspect
* `dst`: The distant aspect of the signal
* `shunt`: A boolean indicating whether shunting is allowed
* `proceed_as_main`: A boolean indicating whether a train in shunt mode should continue with shunt mode disabled

The `main` and `dst` fields may contain

* A non-negative number indicating the current or next speed limit
* -1, indicating that the speed limit is or will be lifted
* `nil`, indicating that the speed limit is or will not be changed