aboutsummaryrefslogtreecommitdiff
path: root/advtrains/settingtypes.txt
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2020-07-12 20:37:51 +0200
committerorwell96 <orwell@bleipb.de>2020-07-12 20:37:51 +0200
commit19509acf56aef4b6e5f45023ee5603e95822fe69 (patch)
tree7cd79532ce7a6ab6a53d7917fc28a42a686a6afc /advtrains/settingtypes.txt
parent74bf177cc850164a0a6c13a634e7da6410f9f73a (diff)
downloadadvtrains-19509acf56aef4b6e5f45023ee5603e95822fe69.tar.gz
advtrains-19509acf56aef4b6e5f45023ee5603e95822fe69.tar.bz2
advtrains-19509acf56aef4b6e5f45023ee5603e95822fe69.zip
Add workaround to unload wagons that are too far away from players
Diffstat (limited to 'advtrains/settingtypes.txt')
-rw-r--r--advtrains/settingtypes.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/advtrains/settingtypes.txt b/advtrains/settingtypes.txt
index 26c6d5a..d8eb44a 100644
--- a/advtrains/settingtypes.txt
+++ b/advtrains/settingtypes.txt
@@ -38,4 +38,10 @@ advtrains_prot_range_down (Track protection range [down]) int 1 0 10
# none: No damage is dealt at all.
# drop: Player is killed, all items are dropped as items on the tracks.
# normal: Player is killed, game-defined behavior is applied as if the player died by other means.
-advtrains_overrun_mode (Overrun mode) enum drop none,drop,normal \ No newline at end of file
+advtrains_overrun_mode (Overrun mode) enum drop none,drop,normal
+
+# Wagon entity loading/unloading range, in nodes
+# When a wagon is within this range to a player, it is loaded
+# When a wagon leaves this range + 32 nodes, it is unloaded
+# If unset, defaults to active_block_range*16
+advtrains_wagon_load_range (Wagon Entity Load/Unload Range) int 96 32 512