thirst and hunger loss on unlocking safes/doors

This commit is contained in:
[VB]AWOL
2013-11-25 12:38:01 -06:00
parent 10ca6d9a4b
commit 6db5daa4a4
3 changed files with 15 additions and 1 deletions

View File

@@ -498,6 +498,11 @@ if (!isDedicated) then {
spawn_loot_small = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\spawn_loot_small.sqf";
// player_projectileNear = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_projectileNear.sqf";
dayz_HungerThirst = {
dayz_hunger = dayz_hunger + (_this select 0);
dayz_thirst = dayz_thirst + (_this select 1);
};
player_sumMedical = {
private["_character","_wounds","_legs","_arms","_medical"];
_character = _this;