aboutsummaryrefslogtreecommitdiff
path: root/advtrains_luaautomation
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2018-06-14 21:31:35 +0200
committerorwell96 <orwell@bleipb.de>2018-06-14 21:31:35 +0200
commita758426835f07437da897b9e4a8bab7b6cf0542e (patch)
tree421cf80dc4c194fbc910f1117e08932a3e2b5910 /advtrains_luaautomation
parent712db5bd7f0c5cab71ccdc93b5d5220b1c99173b (diff)
downloadadvtrains-a758426835f07437da897b9e4a8bab7b6cf0542e.tar.gz
advtrains-a758426835f07437da897b9e4a8bab7b6cf0542e.tar.bz2
advtrains-a758426835f07437da897b9e4a8bab7b6cf0542e.zip
Correct some documentation
Diffstat (limited to 'advtrains_luaautomation')
-rw-r--r--advtrains_luaautomation/README.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains_luaautomation/README.txt b/advtrains_luaautomation/README.txt
index faf3cbb..113ff90 100644
--- a/advtrains_luaautomation/README.txt
+++ b/advtrains_luaautomation/README.txt
@@ -111,7 +111,7 @@ The 'event' table of the init code is always {type="init", init=true}.
The Lua-controlled ATC rails are the only components that can actually interface with trains. The following event types are generated:
{type="train", train=true, id="<train_id>"}
-This event is fired when a train enters the rail. The field 'id' is the unique train ID, which is a long string (generated by concatenating os.time() and os.clock() at creation time). The Itrainmap mod displays the last 4 digits of this ID.
+This event is fired when a train enters the rail. The field 'id' is the unique train ID, which is 6-digit random numerical string.
{type="int", int=true, message=<message>}
Fired when an interrupt set by the 'interrupt' function runs out. 'message' is the message passed to the interrupt function.