aboutsummaryrefslogtreecommitdiff
path: root/advtrains/api_doc.txt
diff options
context:
space:
mode:
authororwell <orwell@bleipb.de>2025-06-23 23:06:44 +0200
committerorwell <orwell@bleipb.de>2025-06-23 23:09:15 +0200
commite04728f0424d4e42943fc187f295eb62a73bc5ce (patch)
tree99f6b82bc7bba4bbef5138e55b940d3a33bc4e2b /advtrains/api_doc.txt
parent67511ec1f13023a402af69a4e5ce36c8503b344c (diff)
downloadadvtrains-e04728f0424d4e42943fc187f295eb62a73bc5ce.tar.gz
advtrains-e04728f0424d4e42943fc187f295eb62a73bc5ce.tar.bz2
advtrains-e04728f0424d4e42943fc187f295eb62a73bc5ce.zip
Get door closing time from wagon definition, no longer user configurable, and restore waitsig in stoprail atc command
Diffstat (limited to 'advtrains/api_doc.txt')
-rw-r--r--advtrains/api_doc.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/advtrains/api_doc.txt b/advtrains/api_doc.txt
index 6b338a7..faaac7c 100644
--- a/advtrains/api_doc.txt
+++ b/advtrains/api_doc.txt
@@ -72,6 +72,9 @@ advtrains.register_wagon(name, prototype, description, inventory_image)
^- optional. If defined, defines the locations of the doors on the model as distance from the object center on the path.
^- Getting on by walking in then takes effect.
^- Positive values mean front, negative ones back. Resulting position is automatically shifted to the right side.
+ door_operation_time = 2
+ ^- Time in seconds specifying how long opening/closing the doors takes. The maximum of this value is used
+ ^- by the stop rail (and possibly ATC) to wait for closing the doors before departure. Default is 1 second.
coupler_types_front = {scharfenberg=true},
coupler_types_back = {chain=true},