aboutsummaryrefslogtreecommitdiff
path: root/advtrains_line_automation/init.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2019-01-24 17:50:26 +0100
committerorwell96 <orwell@bleipb.de>2019-01-24 17:50:26 +0100
commit9da148347d304ec2f26af6f813e26cb02bc6a6e7 (patch)
tree5cd8b9f486821bcaa984246153e957c157765912 /advtrains_line_automation/init.lua
parent2976bae4522a1682808db55473d9f824c7155cc6 (diff)
downloadadvtrains-9da148347d304ec2f26af6f813e26cb02bc6a6e7.tar.gz
advtrains-9da148347d304ec2f26af6f813e26cb02bc6a6e7.tar.bz2
advtrains-9da148347d304ec2f26af6f813e26cb02bc6a6e7.zip
Basic functions of "stop rail", missing ARS rules and signal.
For signal, need to think of a callback system for signals and moving atlatc queue to core?
Diffstat (limited to 'advtrains_line_automation/init.lua')
-rw-r--r--advtrains_line_automation/init.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/advtrains_line_automation/init.lua b/advtrains_line_automation/init.lua
index 77e66b3..5609524 100644
--- a/advtrains_line_automation/init.lua
+++ b/advtrains_line_automation/init.lua
@@ -1,14 +1,15 @@
-- Advtrains line automation system
advtrains.lines = {
- -- [station code] = {name=...}
+ -- [station code] = {name=..., owner=...}
stations = {},
--[[ [new pos hash] = {
stn = <station code>,
- platform = <platform identifier>,
+ track = <platform identifier>,
doors = <door side L,R,C>
wait = <least wait time>
+ reverse = <boolean>
signal = <position of signal that is the "exit signal" for this platform>
}]]
stops = {},