Nerf jump/speed/gravity by 10% alltogether.

This commit is contained in:
Auke Kok 2019-07-01 21:54:03 -07:00
parent 70a1af80bc
commit 8c8aa5cba6

View File

@ -296,7 +296,11 @@ minetest.register_on_joinplayer(function(player)
})
player:set_local_animation({x=0, y=79}, {x=168, y=187}, {x=189, y=198}, {x=200, y=219}, 30)
player_set_animation(player, "stand")
player:set_physics_override({sneak_glitch=false, sneak=false})
-- nerf: can't make lots of jumps since 5.0
-- reduce gravity by 10%, and increase speed and jump by 10%
-- this makes very little noticable effect in game, but combined
-- it helps a lot.
player:set_physics_override({sneak_glitch=false, sneak=false, speed=1.1, jump=1.1, gravity=0.91})
player:get_inventory():set_size("hand", 1)
player:get_inventory():set_stack("hand", 1, "")
player:hud_set_hotbar_image("gui_hotbar.png")