Lower or remove nutrition hit for some actions #1857

Fixes #1857
This commit is contained in:
ebaydayz
2017-01-06 13:27:22 -05:00
parent 3a7744d18d
commit 33672d99ee
32 changed files with 21 additions and 60 deletions

View File

@@ -418,7 +418,6 @@ if (_canBuild select 0) then {
format[localize "str_epoch_player_139",_text, (_counter + 1),_limit] call dayz_rollingMessages; //report how many steps are done out of total limit
["Working",0,[100,15,10,0]] call dayz_NutritionSystem;
player playActionNow "Medic"; //animation
//alert zombies
@@ -473,8 +472,8 @@ if (_canBuild select 0) then {
_num_removed = ([player,DZE_buildItem] call BIS_fnc_invRemove); //remove item's magazine from inventory
if(_num_removed == 1) then {
["Working",0,[20,10,5,0]] call dayz_NutritionSystem;
call player_forceSave;
format[localize "str_build_01",_text] call dayz_rollingMessages;
_tmpbuilt setVariable ["OEMPos",_location,true]; //store original location as a variable