aboutsummaryrefslogtreecommitdiff
path: root/advtrains_luaautomation/README.txt
diff options
context:
space:
mode:
Diffstat (limited to 'advtrains_luaautomation/README.txt')
-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.