aboutsummaryrefslogtreecommitdiff
path: root/advtrains_luaautomation/README.txt
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2019-08-26 23:08:02 +0200
committerorwell96 <orwell@bleipb.de>2019-08-26 23:08:02 +0200
commit7b488f40d95c2d68db898d7cb228e17e001cea73 (patch)
tree686712ef9e75631feebdbac4218a26fa73a72975 /advtrains_luaautomation/README.txt
parentd867cd723f373b0fc52bd2cdd19176a29598f8be (diff)
downloadadvtrains-7b488f40d95c2d68db898d7cb228e17e001cea73.tar.gz
advtrains-7b488f40d95c2d68db898d7cb228e17e001cea73.tar.bz2
advtrains-7b488f40d95c2d68db898d7cb228e17e001cea73.zip
Add lines scheduler for reliable railway-time scheduling(which is also safer than the atlatc scheduler) and document new atlatc functions
Diffstat (limited to 'advtrains_luaautomation/README.txt')
-rw-r--r--advtrains_luaautomation/README.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/advtrains_luaautomation/README.txt b/advtrains_luaautomation/README.txt
index a07bbb4..20ef816 100644
--- a/advtrains_luaautomation/README.txt
+++ b/advtrains_luaautomation/README.txt
@@ -114,6 +114,18 @@ aspect = {
}
As of August 2018, only the aspect.main.free field is ever used by the interlocking system.
+# Lines
+
+The advtrains_line_automation component adds a few contraptions that should make creating timeable systems easier.
+Part of its functionality is also available in LuaATC:
+
+- rwt.* - all Railway Time functions are included as documented in https://advtrains.de/wiki/doku.php?id=dev:lines:rwt
+
+- schedule(rw_time, msg)
+- schedule_in(rw_dtime, msg)
+Schedules an event of type {type="schedule", schedule=true, msg=msg} at (resp. after) the specified railway time.
+(which can be in any format). You can only schedule one event this way. (uses the new lines-internal scheduler)
+
## Components and events
The event table is a table of the following format: