diff --git a/SQF/dayz_code/actions/boil.sqf b/SQF/dayz_code/actions/boil.sqf index bf2fc2c4e..5553d5514 100644 --- a/SQF/dayz_code/actions/boil.sqf +++ b/SQF/dayz_code/actions/boil.sqf @@ -29,7 +29,7 @@ if (_hasbottleitem and _hastinitem) then { if ("ItemWaterbottle" in magazines player) then { _removed = _removed + ([player,"ItemWaterbottle",_qty] call BIS_fnc_invRemove); - + [1,1] call dayz_HungerThirst; player playActionNow "Medic"; sleep 1; diff --git a/SQF/dayz_code/actions/cook.sqf b/SQF/dayz_code/actions/cook.sqf index eb8ddb121..49579a598 100644 --- a/SQF/dayz_code/actions/cook.sqf +++ b/SQF/dayz_code/actions/cook.sqf @@ -23,7 +23,7 @@ _cookedmeat = meatcooked; _qty = {_x == _meat} count magazines player; cutText [format[(localize "str_epoch_player_129"),_textraw], "PLAIN DOWN"]; - + [1,1] call dayz_HungerThirst; player playActionNow "Medic"; _dis=6; diff --git a/SQF/dayz_code/actions/fill_nearestVehicle.sqf b/SQF/dayz_code/actions/fill_nearestVehicle.sqf index daef8314d..2cf116e13 100644 --- a/SQF/dayz_code/actions/fill_nearestVehicle.sqf +++ b/SQF/dayz_code/actions/fill_nearestVehicle.sqf @@ -52,6 +52,7 @@ if(_IsNearVehicle >= 1) then { _finished = false; + [1,1] call dayz_HungerThirst; // force animation player playActionNow "Medic"; diff --git a/SQF/dayz_code/actions/fill_startGenerator.sqf b/SQF/dayz_code/actions/fill_startGenerator.sqf index ef6940512..e89c19bcc 100644 --- a/SQF/dayz_code/actions/fill_startGenerator.sqf +++ b/SQF/dayz_code/actions/fill_startGenerator.sqf @@ -9,6 +9,7 @@ s_player_fillgen = 1; // Use target from addaction _vehicle = _this select 3; +[1,1] call dayz_HungerThirst; // force animation player playActionNow "Medic"; diff --git a/SQF/dayz_code/actions/fire_light.sqf b/SQF/dayz_code/actions/fire_light.sqf index bb62a7726..b30ae49df 100644 --- a/SQF/dayz_code/actions/fire_light.sqf +++ b/SQF/dayz_code/actions/fire_light.sqf @@ -6,6 +6,7 @@ _isOk = count (_location isFlatEmpty [0.5,0,0,4,0,false,player]) > 0; if (_isOk) then { _dir = getDir player; _classname = "Land_Fire"; + [1,1] call dayz_HungerThirst; player playActionNow "Medic"; sleep 6; dayz_hasFire = createVehicle [_classname, _location, [], 0, "CAN_COLLIDE"]; diff --git a/SQF/dayz_code/actions/fire_pack.sqf b/SQF/dayz_code/actions/fire_pack.sqf index ae8851667..d4a22dc4c 100644 --- a/SQF/dayz_code/actions/fire_pack.sqf +++ b/SQF/dayz_code/actions/fire_pack.sqf @@ -3,7 +3,7 @@ _obj = _this select 3; player removeAction s_player_fireout; s_player_fireout = 1; - +[1,1] call dayz_HungerThirst; player playActionNow "Medic"; sleep 6; if(_obj isKindOf "Land_fire") then { diff --git a/SQF/dayz_code/actions/gather_meat.sqf b/SQF/dayz_code/actions/gather_meat.sqf index 45c4fbb09..d2be2c023 100644 --- a/SQF/dayz_code/actions/gather_meat.sqf +++ b/SQF/dayz_code/actions/gather_meat.sqf @@ -18,6 +18,7 @@ if ((_hasKnife or _hasKnifeBlunt) and !_hasHarvested) then { _isListed = isClass (_config); _text = getText (configFile >> "CfgVehicles" >> _type >> "displayName"); + [1,1] call dayz_HungerThirst; // force animation player playActionNow "Medic"; diff --git a/SQF/dayz_code/actions/gather_zparts.sqf b/SQF/dayz_code/actions/gather_zparts.sqf index 4858c39f3..c9d6e07e2 100644 --- a/SQF/dayz_code/actions/gather_zparts.sqf +++ b/SQF/dayz_code/actions/gather_zparts.sqf @@ -19,6 +19,7 @@ if ((_hasKnife or _hasKnifeBlunt) and !_hasHarvested) then { //_isListed = isClass (_config); _text = getText (configFile >> "CfgVehicles" >> _type >> "displayName"); + [1,1] call dayz_HungerThirst; // force animation player playActionNow "Medic"; diff --git a/SQF/dayz_code/actions/jerry_fill.sqf b/SQF/dayz_code/actions/jerry_fill.sqf index 97394c9b1..0d85a1650 100644 --- a/SQF/dayz_code/actions/jerry_fill.sqf +++ b/SQF/dayz_code/actions/jerry_fill.sqf @@ -26,6 +26,7 @@ _qty = count _fuelCans; cutText [format[(localize "str_epoch_player_133"),_displayName], "PLAIN DOWN"]; + [1,1] call dayz_HungerThirst; // force animation player playActionNow "Medic"; // Play sound and alert zombies diff --git a/SQF/dayz_code/actions/player_build.sqf b/SQF/dayz_code/actions/player_build.sqf index 4f84afff4..2a6cbb20d 100644 --- a/SQF/dayz_code/actions/player_build.sqf +++ b/SQF/dayz_code/actions/player_build.sqf @@ -412,6 +412,7 @@ if (_hasrequireditem) then { while {_isOk} do { + [10,10] call dayz_HungerThirst; player playActionNow "Medic"; _dis=20; diff --git a/SQF/dayz_code/actions/player_buildingDowngrade.sqf b/SQF/dayz_code/actions/player_buildingDowngrade.sqf index 08369ca56..2ba4e87ee 100644 --- a/SQF/dayz_code/actions/player_buildingDowngrade.sqf +++ b/SQF/dayz_code/actions/player_buildingDowngrade.sqf @@ -84,7 +84,7 @@ if ((count _upgrade) > 0) then { _newclassname = _upgrade select 0; _refund = _upgrade select 1; - + [1,1] call dayz_HungerThirst; player playActionNow "Medic"; [player,20,true,(getPosATL player)] spawn player_alertZombies; diff --git a/SQF/dayz_code/actions/player_buildingMaint.sqf b/SQF/dayz_code/actions/player_buildingMaint.sqf index 4ac297857..02296cb6a 100644 --- a/SQF/dayz_code/actions/player_buildingMaint.sqf +++ b/SQF/dayz_code/actions/player_buildingMaint.sqf @@ -48,7 +48,7 @@ _proceed = true; } forEach _requirements; if (_proceed) then { - + [1,1] call dayz_HungerThirst; player playActionNow "Medic"; [player,20,true,(getPosATL player)] spawn player_alertZombies; diff --git a/SQF/dayz_code/actions/player_copyKey.sqf b/SQF/dayz_code/actions/player_copyKey.sqf index 03e61db45..9f5a31389 100644 --- a/SQF/dayz_code/actions/player_copyKey.sqf +++ b/SQF/dayz_code/actions/player_copyKey.sqf @@ -24,7 +24,7 @@ call gear_ui_init; // require one tin bar per key _hasTinBar = "ItemTinBar" in magazines player; if(!_hasTinBar) exitWith {TradeInprogress = false; cutText [(localize "str_epoch_player_59") , "PLAIN DOWN"]}; - +[1,1] call dayz_HungerThirst; player playActionNow "Medic"; [player,"repair",0,false] call dayz_zombieSpeak; diff --git a/SQF/dayz_code/actions/player_craftItem.sqf b/SQF/dayz_code/actions/player_craftItem.sqf index 8b33193f8..ba3fce800 100644 --- a/SQF/dayz_code/actions/player_craftItem.sqf +++ b/SQF/dayz_code/actions/player_craftItem.sqf @@ -114,6 +114,7 @@ if (_canDo) then { cutText [(localize "str_epoch_player_62"), "PLAIN DOWN"]; + [1,1] call dayz_HungerThirst; player playActionNow "Medic"; [player,_sfx,0,false] call dayz_zombieSpeak; diff --git a/SQF/dayz_code/actions/player_harvestPlant.sqf b/SQF/dayz_code/actions/player_harvestPlant.sqf index 342048c7d..5b5a34894 100644 --- a/SQF/dayz_code/actions/player_harvestPlant.sqf +++ b/SQF/dayz_code/actions/player_harvestPlant.sqf @@ -52,6 +52,7 @@ if (count(_findNearestTree) >= 1) then { _proceed = false; while {_isOk} do { + [1,1] call dayz_HungerThirst; player playActionNow "Medic"; [player,20,true,(getPosATL player)] spawn player_alertZombies; diff --git a/SQF/dayz_code/actions/player_loadCrate.sqf b/SQF/dayz_code/actions/player_loadCrate.sqf index 51794e9a4..20d1ae78b 100644 --- a/SQF/dayz_code/actions/player_loadCrate.sqf +++ b/SQF/dayz_code/actions/player_loadCrate.sqf @@ -35,6 +35,7 @@ _classname = "WeaponHolder"; //return empty crate to inventory player addMagazine "bulk_empty"; +[1,1] call dayz_HungerThirst; // Change to optional wait to complete player playActionNow "Medic"; sleep 6; diff --git a/SQF/dayz_code/actions/player_makefire.sqf b/SQF/dayz_code/actions/player_makefire.sqf index 267de0367..2c3577569 100644 --- a/SQF/dayz_code/actions/player_makefire.sqf +++ b/SQF/dayz_code/actions/player_makefire.sqf @@ -12,6 +12,7 @@ if (_hasWood) then { player removeMagazine "PartWoodPile"; _dir = getDir player; _classname = "Land_Fire_DZ"; + [1,1] call dayz_HungerThirst; player playActionNow "Medic"; sleep 6; _fire = createVehicle [_classname, _location, [], 0, "CAN_COLLIDE"]; diff --git a/SQF/dayz_code/actions/player_upgrade.sqf b/SQF/dayz_code/actions/player_upgrade.sqf index 79f079081..42721b908 100644 --- a/SQF/dayz_code/actions/player_upgrade.sqf +++ b/SQF/dayz_code/actions/player_upgrade.sqf @@ -98,7 +98,7 @@ if ((count _upgrade) > 0) then { } forEach _requirements; if (_proceed) then { - + [1,1] call dayz_HungerThirst; player playActionNow "Medic"; [player,20,true,(getPosATL player)] spawn player_alertZombies; diff --git a/SQF/dayz_code/actions/refuel.sqf b/SQF/dayz_code/actions/refuel.sqf index d27c4b6b1..1b2094950 100644 --- a/SQF/dayz_code/actions/refuel.sqf +++ b/SQF/dayz_code/actions/refuel.sqf @@ -46,6 +46,7 @@ _availableCans = ["ItemJerrycan","ItemFuelBarrel"]; if(!dayz_isSwimming) then { + [1,1] call dayz_HungerThirst; // force animation player playActionNow "Medic"; diff --git a/SQF/dayz_code/actions/remove.sqf b/SQF/dayz_code/actions/remove.sqf index 3e171588a..c767b71cb 100644 --- a/SQF/dayz_code/actions/remove.sqf +++ b/SQF/dayz_code/actions/remove.sqf @@ -86,7 +86,7 @@ while {_isOk} do { _isOk = false; _proceed = false; }; - + [1,1] call dayz_HungerThirst; player playActionNow "Medic"; _dis=20; [player,_dis,true,(getPosATL player)] spawn player_alertZombies; diff --git a/SQF/dayz_code/actions/repair.sqf b/SQF/dayz_code/actions/repair.sqf index 80be289d6..f41bee668 100644 --- a/SQF/dayz_code/actions/repair.sqf +++ b/SQF/dayz_code/actions/repair.sqf @@ -22,6 +22,7 @@ s_player_repair_crtl = 1; if (_section and _hasToolbox) then { + [1,1] call dayz_HungerThirst; player playActionNow "Medic"; _dis=20; diff --git a/SQF/dayz_code/actions/salvage.sqf b/SQF/dayz_code/actions/salvage.sqf index 4e509e51a..00faeb48c 100644 --- a/SQF/dayz_code/actions/salvage.sqf +++ b/SQF/dayz_code/actions/salvage.sqf @@ -25,6 +25,7 @@ s_player_repair_crtl = 1; if (_hasToolbox) then { + [1,1] call dayz_HungerThirst; player playActionNow "Medic"; [player,"repair",0,false] call dayz_zombieSpeak; diff --git a/SQF/dayz_code/actions/siphonFuel.sqf b/SQF/dayz_code/actions/siphonFuel.sqf index f43fac5f5..80852f42d 100644 --- a/SQF/dayz_code/actions/siphonFuel.sqf +++ b/SQF/dayz_code/actions/siphonFuel.sqf @@ -55,6 +55,7 @@ _availableCansEmpty = ["ItemJerrycanEmpty","ItemFuelBarrelEmpty"]; if(!dayz_isSwimming) then { + [1,1] call dayz_HungerThirst; // force animation player playActionNow "Medic"; diff --git a/SQF/dayz_code/actions/stopGenerator.sqf b/SQF/dayz_code/actions/stopGenerator.sqf index 3e75242e3..8b39337f0 100644 --- a/SQF/dayz_code/actions/stopGenerator.sqf +++ b/SQF/dayz_code/actions/stopGenerator.sqf @@ -9,6 +9,7 @@ s_player_fillgen = 1; // Use target from addaction _vehicle = _this select 3; +[1,1] call dayz_HungerThirst; // force animation player playActionNow "Medic"; diff --git a/SQF/dayz_code/actions/tent_pitch.sqf b/SQF/dayz_code/actions/tent_pitch.sqf index 1de4d72ee..a9fc46f4c 100644 --- a/SQF/dayz_code/actions/tent_pitch.sqf +++ b/SQF/dayz_code/actions/tent_pitch.sqf @@ -38,6 +38,7 @@ if (!_isOk) then { player removeMagazine _item; _dir = round(direction player); + [1,1] call dayz_HungerThirst; //wait a bit player playActionNow "Medic"; sleep 1; diff --git a/SQF/dayz_code/actions/tow_AttachStraps.sqf b/SQF/dayz_code/actions/tow_AttachStraps.sqf index bbea9d88f..0e7988b51 100644 --- a/SQF/dayz_code/actions/tow_AttachStraps.sqf +++ b/SQF/dayz_code/actions/tow_AttachStraps.sqf @@ -39,6 +39,7 @@ if(_IsNearVehicle >= 1) then { _finished = false; + [1,1] call dayz_HungerThirst; // force animation player playActionNow "Medic"; diff --git a/SQF/dayz_code/actions/tow_DetachStraps.sqf b/SQF/dayz_code/actions/tow_DetachStraps.sqf index 25ce058d8..cf793f853 100644 --- a/SQF/dayz_code/actions/tow_DetachStraps.sqf +++ b/SQF/dayz_code/actions/tow_DetachStraps.sqf @@ -28,6 +28,7 @@ if(_inTow) then { _finished = false; + [1,1] call dayz_HungerThirst; // force animation player playActionNow "Medic"; diff --git a/SQF/dayz_code/actions/trade_any_bicycle.sqf b/SQF/dayz_code/actions/trade_any_bicycle.sqf index c6a2fe61b..728716752 100644 --- a/SQF/dayz_code/actions/trade_any_bicycle.sqf +++ b/SQF/dayz_code/actions/trade_any_bicycle.sqf @@ -33,6 +33,7 @@ if (_qty >= _qty_in) then { cutText [(localize "str_epoch_player_105"), "PLAIN DOWN"]; + [1,1] call dayz_HungerThirst; // force animation player playActionNow "Medic"; diff --git a/SQF/dayz_code/actions/trade_any_boat.sqf b/SQF/dayz_code/actions/trade_any_boat.sqf index cb9ba2d82..371fff43c 100644 --- a/SQF/dayz_code/actions/trade_any_boat.sqf +++ b/SQF/dayz_code/actions/trade_any_boat.sqf @@ -34,6 +34,7 @@ if (_qty >= _qty_in) then { cutText [(localize "str_epoch_player_105"), "PLAIN DOWN"]; + [1,1] call dayz_HungerThirst; // force animation player playActionNow "Medic"; diff --git a/SQF/dayz_code/actions/trade_any_vehicle.sqf b/SQF/dayz_code/actions/trade_any_vehicle.sqf index 5d008e9e4..d5e71b4e4 100644 --- a/SQF/dayz_code/actions/trade_any_vehicle.sqf +++ b/SQF/dayz_code/actions/trade_any_vehicle.sqf @@ -38,6 +38,7 @@ if (_qty >= _qty_in) then { cutText [(localize "str_epoch_player_105"), "PLAIN DOWN"]; + [1,1] call dayz_HungerThirst; // force animation player playActionNow "Medic"; diff --git a/SQF/dayz_code/actions/trade_backpacks.sqf b/SQF/dayz_code/actions/trade_backpacks.sqf index c5eeb83e4..31dc7b7a0 100644 --- a/SQF/dayz_code/actions/trade_backpacks.sqf +++ b/SQF/dayz_code/actions/trade_backpacks.sqf @@ -32,6 +32,7 @@ if (_qty >= _qty_in) then { cutText [(localize "str_epoch_player_105"), "PLAIN DOWN"]; + [1,1] call dayz_HungerThirst; // force animation player playActionNow "Medic"; diff --git a/SQF/dayz_code/actions/trade_items.sqf b/SQF/dayz_code/actions/trade_items.sqf index 419fc680f..5e88e16be 100644 --- a/SQF/dayz_code/actions/trade_items.sqf +++ b/SQF/dayz_code/actions/trade_items.sqf @@ -51,6 +51,7 @@ for "_x" from 1 to _total_trades do { } else { cutText [format[(localize "str_epoch_player_187"),_tradeCounter,_total_trades] , "PLAIN DOWN"]; }; + [1,1] call dayz_HungerThirst; player playActionNow "Medic"; //_dis=20; diff --git a/SQF/dayz_code/actions/trade_items_wo_db.sqf b/SQF/dayz_code/actions/trade_items_wo_db.sqf index 95d9fd1ed..428b84541 100644 --- a/SQF/dayz_code/actions/trade_items_wo_db.sqf +++ b/SQF/dayz_code/actions/trade_items_wo_db.sqf @@ -41,7 +41,7 @@ for "_x" from 1 to _total_trades do { } else { cutText [format[(localize "str_epoch_player_187"),_tradeCounter,_total_trades] , "PLAIN DOWN"]; }; - + [1,1] call dayz_HungerThirst; player playActionNow "Medic"; r_interrupt = false; diff --git a/SQF/dayz_code/actions/trade_weapons.sqf b/SQF/dayz_code/actions/trade_weapons.sqf index 5a1de030d..e0b6e08b8 100644 --- a/SQF/dayz_code/actions/trade_weapons.sqf +++ b/SQF/dayz_code/actions/trade_weapons.sqf @@ -28,6 +28,7 @@ if (_qty >= _qty_in) then { cutText [(localize "str_epoch_player_105"), "PLAIN DOWN"]; + [1,1] call dayz_HungerThirst; // force animation player playActionNow "Medic"; diff --git a/SQF/dayz_code/actions/vault_pitch.sqf b/SQF/dayz_code/actions/vault_pitch.sqf index 418200da2..3ec619b89 100644 --- a/SQF/dayz_code/actions/vault_pitch.sqf +++ b/SQF/dayz_code/actions/vault_pitch.sqf @@ -120,7 +120,7 @@ if(!_cancel) then { //call dayz_forceSave; _dir = round(direction player); - + [1,1] call dayz_HungerThirst; //wait a bit player playActionNow "Medic"; sleep 1; diff --git a/SQF/dayz_code/compile/player_lockVault.sqf b/SQF/dayz_code/compile/player_lockVault.sqf index fe0fb05b0..f6e00746f 100644 --- a/SQF/dayz_code/compile/player_lockVault.sqf +++ b/SQF/dayz_code/compile/player_lockVault.sqf @@ -19,7 +19,7 @@ _text = getText (configFile >> "CfgVehicles" >> _objType >> "displayName"); // Silently exit if object no longer exists if(isNull _obj) exitWith { TradeInprogress = false; }; - +[1,1] call dayz_HungerThirst; player playActionNow "Medic"; sleep 1; [player,"tentpack",0,false] call dayz_zombieSpeak; diff --git a/SQF/dayz_code/compile/player_packTent.sqf b/SQF/dayz_code/compile/player_packTent.sqf index 37176dd36..52177d640 100644 --- a/SQF/dayz_code/compile/player_packTent.sqf +++ b/SQF/dayz_code/compile/player_packTent.sqf @@ -15,7 +15,7 @@ _obj = _this; _ownerID = _obj getVariable["CharacterID","0"]; _objectID = _obj getVariable["ObjectID","0"]; _objectUID = _obj getVariable["ObjectUID","0"]; - +[1,1] call dayz_HungerThirst; player playActionNow "Medic"; if(_objectID == "0" && _objectUID == "0") exitWith {TradeInprogress = false; s_player_packtent = -1; cutText [(localize "str_epoch_player_14"), "PLAIN DOWN"];}; diff --git a/SQF/dayz_code/compile/player_packVault.sqf b/SQF/dayz_code/compile/player_packVault.sqf index edae2f158..736544cbe 100644 --- a/SQF/dayz_code/compile/player_packVault.sqf +++ b/SQF/dayz_code/compile/player_packVault.sqf @@ -53,6 +53,7 @@ _pos = _obj getVariable["OEMPos",(getposATL _obj)]; if(!isNull _obj and alive _obj) then { + [1,1] call dayz_HungerThirst; player playActionNow "Medic"; [player,"tentpack",0,false] call dayz_zombieSpeak; sleep 3; diff --git a/SQF/dayz_code/compile/player_unlockDoor.sqf b/SQF/dayz_code/compile/player_unlockDoor.sqf index 7b73e5495..bd509db34 100644 --- a/SQF/dayz_code/compile/player_unlockDoor.sqf +++ b/SQF/dayz_code/compile/player_unlockDoor.sqf @@ -9,7 +9,7 @@ if(!isNil "DZE_DYN_UnlockDoorInprogress") exitWith { cutText [(localize "str_epo DZE_DYN_UnlockDoorInprogress = true; -[1,1] call dayz_HungerThirst; +[10,5] call dayz_HungerThirst; if(!isNull dayz_selectedDoor) then { diff --git a/SQF/dayz_code/compile/player_unlockVault.sqf b/SQF/dayz_code/compile/player_unlockVault.sqf index 33d5215c8..8ace92c8f 100644 --- a/SQF/dayz_code/compile/player_unlockVault.sqf +++ b/SQF/dayz_code/compile/player_unlockVault.sqf @@ -8,7 +8,7 @@ private ["_objectID","_objectUID","_obj","_ownerID","_dir","_pos","_holder","_we if(TradeInprogress) exitWith { cutText [(localize "str_epoch_player_21") , "PLAIN DOWN"]; }; TradeInprogress = true; -[1,1] call dayz_HungerThirst; +[5,10] call dayz_HungerThirst; {player removeAction _x} forEach s_player_combi;s_player_combi = []; s_player_unlockvault = 1; diff --git a/SQF/dayz_code/medical/bandage.sqf b/SQF/dayz_code/medical/bandage.sqf index 116b1d278..bc4a811fd 100644 --- a/SQF/dayz_code/medical/bandage.sqf +++ b/SQF/dayz_code/medical/bandage.sqf @@ -7,6 +7,7 @@ player removeMagazine "ItemBandage"; call fnc_usec_medic_removeActions; r_action = false; +[1,1] call dayz_HungerThirst; if (vehicle player == player) then { //not in a vehicle diff --git a/SQF/dayz_code/medical/epinephrine.sqf b/SQF/dayz_code/medical/epinephrine.sqf index 455eac030..8673e0961 100644 --- a/SQF/dayz_code/medical/epinephrine.sqf +++ b/SQF/dayz_code/medical/epinephrine.sqf @@ -4,7 +4,7 @@ private ["_unit","_isDead"]; _unit = (_this select 3) select 0; _isDead = _unit getVariable["USEC_isDead",false]; call fnc_usec_medic_removeActions; - +[1,1] call dayz_HungerThirst; player playActionNow "Medic"; player removeMagazine "ItemEpinephrine"; diff --git a/SQF/dayz_code/medical/morphine.sqf b/SQF/dayz_code/medical/morphine.sqf index 42e266735..914558348 100644 --- a/SQF/dayz_code/medical/morphine.sqf +++ b/SQF/dayz_code/medical/morphine.sqf @@ -8,7 +8,7 @@ _unit setVariable ["hit_hands",0]; call fnc_usec_medic_removeActions; r_action = false; - +[1,1] call dayz_HungerThirst; if (vehicle player == player) then { //not in a vehicle player playActionNow "Medic"; diff --git a/SQF/dayz_code/medical/transfusion.sqf b/SQF/dayz_code/medical/transfusion.sqf index dd33d8b45..66f82dc71 100644 --- a/SQF/dayz_code/medical/transfusion.sqf +++ b/SQF/dayz_code/medical/transfusion.sqf @@ -10,7 +10,7 @@ _lastused = _unit getVariable ["LastTransfusion", time]; call fnc_usec_medic_removeActions; r_action = false; - +[1,1] call dayz_HungerThirst; if (vehicle player == player) then { //not in a vehicle player playActionNow "Medic";