aboutsummaryrefslogtreecommitdiff
path: root/advtrains_luaautomation/README.txt
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2020-06-29 01:30:27 +0200
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2020-06-29 01:30:27 +0200
commit0b14d8ddb131343a588f27b8c06f1742036d00a7 (patch)
treefcce867b15622073bb84de0fbf079e1e0c0c616d /advtrains_luaautomation/README.txt
parentf458f39fde62432cae0829974b37ac72d3c3dbce (diff)
downloadadvtrains-0b14d8ddb131343a588f27b8c06f1742036d00a7.tar.gz
advtrains-0b14d8ddb131343a588f27b8c06f1742036d00a7.tar.bz2
advtrains-0b14d8ddb131343a588f27b8c06f1742036d00a7.zip
Add autocouple mode
The shunting mode no longer makes trains couple, since it was meant for other purposes. For autocoupling, the new autocoupling mode is used. If trains are in autocouple mode, they couple when they collide with another train.
Diffstat (limited to 'advtrains_luaautomation/README.txt')
-rw-r--r--advtrains_luaautomation/README.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/advtrains_luaautomation/README.txt b/advtrains_luaautomation/README.txt
index c377c1b..65e068e 100644
--- a/advtrains_luaautomation/README.txt
+++ b/advtrains_luaautomation/README.txt
@@ -203,10 +203,12 @@ set_rc(routingcode)
split_at_index(index, command)
Splits the train at the specified index, into a train with index-1 wagons and a second train starting with the index-th wagon.
command specifies an atc command to be sent to the second train after decoupling.
-set_shunt()
- Sets the train into shunting mode
-unset_shunt()
- Sets the train into normal mode
+set_autocouple()
+ Sets the train into autocouple mode
+unset_autocouple()
+ Unsets autocouple mode
+set_shunt(), unset_shunt()
+ deprecated aliases for set_autocouple() and unset_autocouple(), will be removed from a later release.
# Operator panel
This simple node executes its actions when punched. It can be used to change a switch and update the corresponding signals or similar applications.