diff options
author | orwell <orwell@bleipb.de> | 2023-12-20 00:20:56 +0100 |
---|---|---|
committer | orwell <orwell@bleipb.de> | 2023-12-20 00:20:56 +0100 |
commit | 9fac1db45f79e2312415500b6ec9d22a8edb0cdd (patch) | |
tree | c0e914b4af11172732cc8a5f6de54bb6e7888f40 /advtrains/init.lua | |
parent | 2884ed3e27b2a850ea21866ba5260d5a41f5f825 (diff) | |
download | advtrains-9fac1db45f79e2312415500b6ec9d22a8edb0cdd.tar.gz advtrains-9fac1db45f79e2312415500b6ec9d22a8edb0cdd.tar.bz2 advtrains-9fac1db45f79e2312415500b6ec9d22a8edb0cdd.zip |
Set maximum train length and prevent coupling if it would exceed
Diffstat (limited to 'advtrains/init.lua')
-rw-r--r-- | advtrains/init.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/advtrains/init.lua b/advtrains/init.lua index a7e5764..9c977eb 100644 --- a/advtrains/init.lua +++ b/advtrains/init.lua @@ -48,6 +48,9 @@ advtrains.IGNORE_WORLD = false local NO_SAVE = false -- Do not save any data to advtrains save files +advtrains.TRAIN_MAX_WAGONS = 20 +-- Limit on the maximum number of wagons that may be in a train + -- ========================================================================== -- Use a global slowdown factor to slow down train movements. Now a setting |