зеркало из
https://github.com/minetest/minetest_game.git
synced 2025-09-15 13:05:22 +02:00
Carts: Stronger handbrake
Handbrake was barely noticeable and fairly useless. Equalisng with brake rail deceleration makes it more intuitive to use and easier to judge stopping distance.
Этот коммит содержится в:
@@ -272,9 +272,9 @@ local function rail_on_step(self, dtime)
|
||||
-- Try to make it similar to the original carts mod
|
||||
acc = acc + speed_mod
|
||||
else
|
||||
-- Handbrake
|
||||
-- Handbrake or coast
|
||||
if ctrl and ctrl.down then
|
||||
acc = acc - 1.6
|
||||
acc = acc - 3
|
||||
else
|
||||
acc = acc - 0.4
|
||||
end
|
||||
|
Ссылка в новой задаче
Block a user