aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking/database.lua
diff options
context:
space:
mode:
authororwell <orwell@bleipb.de>2024-11-14 00:03:38 +0100
committerorwell <orwell@bleipb.de>2024-11-14 00:03:38 +0100
commitfe57e7dd089653e2361a4ebb0b34137a3261e198 (patch)
tree0bc1be5e530f6a7af857b8cefe29c1da5ae29b8b /advtrains_interlocking/database.lua
parentd42f1bcf1a7ec18d392671be54636e7cad8b788b (diff)
downloadadvtrains-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.lua7
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