mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-22 16:10:49 +03:00
@@ -18,7 +18,6 @@ _text = getText (configFile >> "CfgVehicles" >> _objType >> "displayName");
|
||||
|
||||
// Silently exit if object no longer exists
|
||||
if (isNull _obj) exitWith { dayz_actionInProgress = false; };
|
||||
["Working",0,[3,2,8,0]] call dayz_NutritionSystem;
|
||||
player playActionNow "Medic";
|
||||
uiSleep 1;
|
||||
[player,"tentpack",0,false] call dayz_zombieSpeak;
|
||||
|
||||
@@ -47,7 +47,7 @@ if(_location1 distance _location2 > 0.1) exitWith {
|
||||
};
|
||||
|
||||
if (!isNull _obj && alive _obj) then {
|
||||
["Working",0,[20,40,15,0]] call dayz_NutritionSystem;
|
||||
["Working",0,[3,2,4,0]] call dayz_NutritionSystem;
|
||||
player playActionNow "Medic";
|
||||
[player,"tentpack",0,false] call dayz_zombieSpeak;
|
||||
uiSleep 3;
|
||||
|
||||
@@ -67,7 +67,6 @@ if (!isNull dayz_selectedDoor) then {
|
||||
PVDZE_handleSafeGear = [player,_obj,6,if (_doorMethod == "EYE") then {"EYESCAN"} else {DZE_Lock_Door}];
|
||||
publicVariableServer "PVDZE_handleSafeGear";
|
||||
|
||||
["Working",0,[100,15,10,0]] call dayz_NutritionSystem;
|
||||
DZE_Lock_Door = "";
|
||||
[player,"combo_locked",0,false] call dayz_zombieSpeak;
|
||||
[player,20,true,(getPosATL player)] spawn player_alertZombies;
|
||||
|
||||
@@ -52,7 +52,6 @@ if (_ComboMatch || (_ownerID == dayz_playerUID)) then {
|
||||
if (_claimedBy == dayz_playerUID) then {
|
||||
if (!isNull _obj && alive _obj) then {
|
||||
_obj setVariable["packing",1];
|
||||
["Working",0,[3,2,8,0]] call dayz_NutritionSystem;
|
||||
|
||||
disableUserInput true; // Make sure player can not modify gear while it is filling
|
||||
(findDisplay 106) closeDisplay 0; // Close gear
|
||||
@@ -80,7 +79,6 @@ if (_ComboMatch || (_ownerID == dayz_playerUID)) then {
|
||||
PVDZE_handleSafeGear = [player,_obj,3,dayz_combination];
|
||||
publicVariableServer "PVDZE_handleSafeGear";
|
||||
|
||||
["Working",0,[100,15,10,0]] call dayz_NutritionSystem;
|
||||
player playActionNow "Medic";
|
||||
uiSleep 1;
|
||||
[player,"repair",0,false] call dayz_zombieSpeak;
|
||||
|
||||
Reference in New Issue
Block a user