]> git.lizzy.rs Git - Crafter.git/blobdiff - mods/player_mechanics/flowing.lua
make water flow even weaker
[Crafter.git] / mods / player_mechanics / flowing.lua
index ac4f73458a2228ac823ca82d420206c6239a2b46..60ba91bc5bbb482f660ccf75b6a5d69b69f2a0c3 100644 (file)
@@ -47,10 +47,10 @@ local function flow(player)
         --only add velocity if there is one
         --else this stops the player
         if goalx ~= 0 and goalz ~= 0 then
-            acceleration = vector.new(goalx/2.25,0,goalz/2.25)
+            acceleration = vector.new(goalx/3,0,goalz/3)
             player:add_player_velocity(acceleration)
         elseif goalx ~= 0 or goalz ~= 0 then
-            acceleration = vector.new(goalx/1.5,0,goalz/1.5)
+            acceleration = vector.new(goalx/2.25,0,goalz/2.25)
             player:add_player_velocity(acceleration)
         end
     end