diff options
author | ywang <yw05@forksworld.de> | 2021-05-30 12:16:09 +0200 |
---|---|---|
committer | ywang <yw05@forksworld.de> | 2021-05-30 12:16:09 +0200 |
commit | dcdd3ea702494e9e5bfeba96a72999f35aa2c91a (patch) | |
tree | 3104a3e204f4a4e237fc4f8fc4b2e29452b267d0 /advtrains_interlocking/database.lua | |
parent | 06002447242bc9dcc3e6d176981a5d30cc7a0ce9 (diff) | |
download | advtrains-dcdd3ea702494e9e5bfeba96a72999f35aa2c91a.tar.gz advtrains-dcdd3ea702494e9e5bfeba96a72999f35aa2c91a.tar.bz2 advtrains-dcdd3ea702494e9e5bfeba96a72999f35aa2c91a.zip |
round speed limit downward if needed; add basic distant signal implementation
Diffstat (limited to 'advtrains_interlocking/database.lua')
-rw-r--r-- | advtrains_interlocking/database.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/advtrains_interlocking/database.lua b/advtrains_interlocking/database.lua index a35d446..ee21db9 100644 --- a/advtrains_interlocking/database.lua +++ b/advtrains_interlocking/database.lua @@ -195,6 +195,8 @@ TCB data structure signal_name = <string> -- The human-readable name of the signal, only for documenting purposes routes = { <route definition> } -- a collection of routes from this signal route_auto = <boolean> -- When set, we will automatically re-set the route (designated by routeset) + distant = { <sigd1> ... } -- a collection of sigd that points to a side of a TCB with a distant signal for this current signal. + distant_of = { <sigd>, <index> } -- the reverse of the above field, along with the index of the entry in the list (for easier lookup) }, -- This is the "B" side of the TCB [2] = { -- Variant: end of track-circuited area (initial state of TC) |