mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
higher loss if failed unlocking
This commit is contained in:
@@ -9,8 +9,6 @@ if(!isNil "DZE_DYN_UnlockDoorInprogress") exitWith { cutText [(localize "str_epo
|
|||||||
|
|
||||||
DZE_DYN_UnlockDoorInprogress = true;
|
DZE_DYN_UnlockDoorInprogress = true;
|
||||||
|
|
||||||
[10,5] call dayz_HungerThirst;
|
|
||||||
|
|
||||||
if(!isNull dayz_selectedDoor) then {
|
if(!isNull dayz_selectedDoor) then {
|
||||||
|
|
||||||
if (!isNil 'KeyCodeTryTimer') then {
|
if (!isNil 'KeyCodeTryTimer') then {
|
||||||
@@ -55,6 +53,9 @@ if(!isNull dayz_selectedDoor) then {
|
|||||||
KeyCodeTry = nil;
|
KeyCodeTry = nil;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
[10,10] call dayz_HungerThirst;
|
||||||
|
|
||||||
DZE_Lock_Door = "";
|
DZE_Lock_Door = "";
|
||||||
[player,"combo_locked",0,false] call dayz_zombieSpeak;
|
[player,"combo_locked",0,false] call dayz_zombieSpeak;
|
||||||
[player,20,true,(getPosATL player)] spawn player_alertZombies;
|
[player,20,true,(getPosATL player)] spawn player_alertZombies;
|
||||||
|
|||||||
@@ -8,8 +8,6 @@ private ["_objectID","_objectUID","_obj","_ownerID","_dir","_pos","_holder","_we
|
|||||||
if(TradeInprogress) exitWith { cutText [(localize "str_epoch_player_21") , "PLAIN DOWN"]; };
|
if(TradeInprogress) exitWith { cutText [(localize "str_epoch_player_21") , "PLAIN DOWN"]; };
|
||||||
TradeInprogress = true;
|
TradeInprogress = true;
|
||||||
|
|
||||||
[5,10] call dayz_HungerThirst;
|
|
||||||
|
|
||||||
{player removeAction _x} forEach s_player_combi;s_player_combi = [];
|
{player removeAction _x} forEach s_player_combi;s_player_combi = [];
|
||||||
s_player_unlockvault = 1;
|
s_player_unlockvault = 1;
|
||||||
|
|
||||||
@@ -56,7 +54,7 @@ if ((_ownerID == dayz_combination) or (_ownerID == dayz_playerUID)) then {
|
|||||||
if(!isNull _obj and alive _obj) then {
|
if(!isNull _obj and alive _obj) then {
|
||||||
|
|
||||||
_obj setVariable["packing",1];
|
_obj setVariable["packing",1];
|
||||||
|
[1,1] call dayz_HungerThirst;
|
||||||
player playActionNow "Medic";
|
player playActionNow "Medic";
|
||||||
sleep 1;
|
sleep 1;
|
||||||
[player,"tentpack",0,false] call dayz_zombieSpeak;
|
[player,"tentpack",0,false] call dayz_zombieSpeak;
|
||||||
@@ -118,6 +116,7 @@ if ((_ownerID == dayz_combination) or (_ownerID == dayz_playerUID)) then {
|
|||||||
cutText [format[(localize "str_player_beinglooted"),_text] , "PLAIN DOWN"];
|
cutText [format[(localize "str_player_beinglooted"),_text] , "PLAIN DOWN"];
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
|
[10,10] call dayz_HungerThirst;
|
||||||
player playActionNow "Medic";
|
player playActionNow "Medic";
|
||||||
sleep 1;
|
sleep 1;
|
||||||
[player,"repair",0,false] call dayz_zombieSpeak;
|
[player,"repair",0,false] call dayz_zombieSpeak;
|
||||||
|
|||||||
Reference in New Issue
Block a user