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

@@ -327,7 +327,6 @@ if (_canBuild select 0) then {
format[localize "str_epoch_player_139",_text, (_counter + 1),_limit] call dayz_rollingMessages;
["Working",0,[100,15,10,0]] call dayz_NutritionSystem;
player playActionNow "Medic";
_dis=20;
@@ -381,8 +380,8 @@ if (_canBuild select 0) then {
_num_removed = ([player,_item] call BIS_fnc_invRemove);
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];