1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-07-15 06:00:26 +02:00

add new mod player_physics and update sprint and 3d_armor to use player_physics

This commit is contained in:
2017-04-07 23:18:55 +02:00
parent cfd80c090c
commit 84e858fccf
9 changed files with 840 additions and 30 deletions

View File

@ -244,7 +244,8 @@ armor.set_player_armor = function(self, player)
armor_groups.radiation = 100 - armor_radiation
end
player:set_armor_groups(armor_groups)
player:set_physics_override(physics_o)
--player:set_physics_override(physics_o)
player_physics.set_stats(player, "3d_armor", {speed=physics_o.speed-1, jump=physics_o.jump-1, gravity=physics_o.gravity-1})
self.textures[name].armor = armor_texture
self.textures[name].preview = preview
self.def[name].state = state

View File

@ -1,4 +1,5 @@
default
player_physics
inventory_plus?
unified_inventory?
fire?