mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Adjust nutrition values and exclude chainsaw
Everytime a piece of wood was spawned resulting from a chainsaw the player would become more hungry and thirsty. Obviously in less than 10 seconds this would kill the player if they chopped multiple trees down.
This commit is contained in:
@@ -39,7 +39,9 @@ if (count _findNearestTree > 0) then {
|
|||||||
[player,_dis,true,(getPosATL player)] call player_alertZombies;
|
[player,_dis,true,(getPosATL player)] call player_alertZombies;
|
||||||
|
|
||||||
// Working-Factor for chopping wood.
|
// Working-Factor for chopping wood.
|
||||||
["Working",0,[100,15,10,0]] call dayz_NutritionSystem;
|
if (!((primaryWeapon player) in ["ChainSaw","ChainSawB","ChainSawG","ChainSawP","ChainSawR"])) then {
|
||||||
|
["Working",0,[50,10,5,0]] call dayz_NutritionSystem;
|
||||||
|
};
|
||||||
|
|
||||||
r_interrupt = false;
|
r_interrupt = false;
|
||||||
_animState = animationState player;
|
_animState = animationState player;
|
||||||
|
|||||||
Reference in New Issue
Block a user