mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Add harder penalties for wrong combination on doors, More spelling mistakes. (#1847)
* More spelling mistakes
Further to commit:
0e938ba8f3
* Add harder penalties for wrong combination on doors
This adds a variable (DZE_doorManagementHarderPenalty) to make attempts
at code breaking doors harder. This will exponentially increment the
time between attempts or if you set it to false will make it 5 seconds
between attempts.
Unlike the original (that was useless TBH) this will actually lock out
the combo lock UI until the timer is set.
Will reset completely after 120 seconds.
* Add German translations
* Resolve merge conflict
* Resolve merge conflict
This commit is contained in:
@@ -34,12 +34,12 @@ player playActionNow "Medic";
|
||||
player removeAction s_player_destroytent;
|
||||
s_player_destroytent = -1;
|
||||
|
||||
//Make sure you can only destory once
|
||||
_alreadyDestorying = _obj getVariable["alreadyDestorying",0];
|
||||
//Make sure you can only destroy once
|
||||
_alreadyDestroying = _obj getVariable["alreadyDestroying",0];
|
||||
|
||||
if (_alreadyDestorying == 1) exitWith {localize "str_TentAlreadyLit" call dayz_rollingMessages;};
|
||||
if (_alreadyDestroying == 1) exitWith {localize "str_TentAlreadyLit" call dayz_rollingMessages;};
|
||||
|
||||
_obj setVariable["alreadyDestorying",1];
|
||||
_obj setVariable["alreadyDestroying",1];
|
||||
|
||||
//Jerry can system ** Needs redoing
|
||||
//Select random can from array
|
||||
@@ -86,4 +86,4 @@ publicVariable "PVDZ_obj_Fire";
|
||||
_obj inflame true;
|
||||
//_obj spawn player_fireMonitor;
|
||||
|
||||
localize "str_success_tent_destoryed" call dayz_rollingMessages;
|
||||
localize "str_success_tent_destroyed" call dayz_rollingMessages;
|
||||
Reference in New Issue
Block a user