nodecore-cd2025/mods/nc_player_setup/step_fallspeed.lua
2020-06-22 22:47:33 -04:00

13 lines
377 B
Lua

-- LUALOCALS < ---------------------------------------------------------
local nodecore
= nodecore
-- LUALOCALS > ---------------------------------------------------------
nodecore.register_playerstep({
label = "terminal velocity",
action = function(player, data)
data.physics.gravity = nodecore.grav_air_physics_player(
player:get_player_velocity())
end
})