aboutsummaryrefslogtreecommitdiff
path: root/settingtypes.txt
diff options
context:
space:
mode:
authorBeha <shacknetisp@mail.com>2021-06-14 12:58:34 -0400
committerBeha <shacknetisp@mail.com>2021-06-14 12:58:34 -0400
commit18579de3234e49e5c50fc422a8309c5ea3112acb (patch)
treec2635b355dc440f850014ad8fe992659bfc7fd7b /settingtypes.txt
parentd9df0bf57269a24cd608b63b126d21832f6d476f (diff)
downloadelevator-18579de3234e49e5c50fc422a8309c5ea3112acb.tar.gz
elevator-18579de3234e49e5c50fc422a8309c5ea3112acb.tar.bz2
elevator-18579de3234e49e5c50fc422a8309c5ea3112acb.zip
Turn slowdown into setting.
Diffstat (limited to 'settingtypes.txt')
-rw-r--r--settingtypes.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/settingtypes.txt b/settingtypes.txt
index d950bbb..ed63604 100644
--- a/settingtypes.txt
+++ b/settingtypes.txt
@@ -6,3 +6,9 @@ elevator_accel (Elevator acceleration) float 0.1
# Maximum time a box can go without players nearby.
elevator_time (Maximum idle time without players) int 120
+
+# When the elevator is within this number of nodes of the destination, slow down to avoid lag.
+elevator_slow_dist (Elevator slow distance) int 16
+
+# Multiplier for speed when the elevator approaches its slow target.
+elevator_slow_speed_factor (Elevator slow speed factor) float 0.11