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:
@ -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
|
||||
|
@ -1,4 +1,5 @@
|
||||
default
|
||||
player_physics
|
||||
inventory_plus?
|
||||
unified_inventory?
|
||||
fire?
|
||||
|
Reference in New Issue
Block a user