Fix rapid starvation and dehydration from chainsaw and chop wood

Chainsaw is never used in player_chopWood.sqf. It is only called via
right click on Hatchet which was removed anyway.

The player already takes a nutrition hit on every swing of the hatchet,
and it can take up to twelve swings to chop down one tree.
This commit is contained in:
ebaydayz
2017-01-05 19:38:03 -05:00
parent d0257b3c7d
commit e074ef0d44
5 changed files with 13 additions and 15 deletions

View File

@@ -39,9 +39,7 @@ if (count _findNearestTree > 0) then {
[player,_dis,true,(getPosATL player)] call player_alertZombies;
// Working-Factor for chopping wood.
if (!((primaryWeapon player) in ["ChainSaw","ChainSawB","ChainSawG","ChainSawP","ChainSawR"])) then {
["Working",0,[50,10,5,0]] call dayz_NutritionSystem;
};
["Working",0,[50,10,5,0]] call dayz_NutritionSystem;
r_interrupt = false;
_animState = animationState player;