diff options
author | orwell <orwell@bleipb.de> | 2024-11-14 00:03:38 +0100 |
---|---|---|
committer | orwell <orwell@bleipb.de> | 2024-11-14 00:03:38 +0100 |
commit | fe57e7dd089653e2361a4ebb0b34137a3261e198 (patch) | |
tree | 0bc1be5e530f6a7af857b8cefe29c1da5ae29b8b /advtrains_interlocking/database.lua | |
parent | d42f1bcf1a7ec18d392671be54636e7cad8b788b (diff) | |
download | advtrains-fe57e7dd089653e2361a4ebb0b34137a3261e198.tar.gz advtrains-fe57e7dd089653e2361a4ebb0b34137a3261e198.tar.bz2 advtrains-fe57e7dd089653e2361a4ebb0b34137a3261e198.zip |
Add Blocksignal mode for signals to autocreate simple block route
Diffstat (limited to 'advtrains_interlocking/database.lua')
-rw-r--r-- | advtrains_interlocking/database.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/advtrains_interlocking/database.lua b/advtrains_interlocking/database.lua index a8d9584..e77d073 100644 --- a/advtrains_interlocking/database.lua +++ b/advtrains_interlocking/database.lua @@ -261,8 +261,9 @@ routes = { -- it is assumed that the next main signal will have its own distant sig -- true: start signal sets distant signal to the next signal on the route with route_role "main" (typically the end signal) -- for short blocks where end signal doesn't have its own distant sig - -- Fields used by the autorouter: - ar_end_sigd = <sigd> -- the sigd describing the end of the route. Used for merging route options on recalculation + terminal = <sigd> -- the sigd describing the end of the route (e.g. the "next" entry in the final route segment). + -- Might be missing or wrong. Routesetting currently does not care about this value being present. + default_autoworking = false -- if true, when route is set autoworking will be by default on. Used for Blocksignal mode } } @@ -771,7 +772,7 @@ function ildb.update_rs_cache(ts_id) end -- warn about superfluous entry for sup_end_pkey, sup_entry in pairs(result_table) do - --atwarn("In update_rs_cache for section",ts_id,"found superfluous endpoint",sup_end_pkey,"->",sup_entry) + atwarn("In update_rs_cache for section",ts_id,"found superfluous endpoint",sup_end_pkey,"->",sup_entry) end end ts.rs_cache = rscache |