mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-17 17:20:26 +03:00
* 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
17 lines
457 B
Plaintext
17 lines
457 B
Plaintext
private "_display";
|
|
|
|
_display = findDisplay 61144;
|
|
_display closeDisplay 2;
|
|
|
|
if (dayz_lastCodeFail > diag_tickTime) exitWith {
|
|
format [localize "STR_EPOCH_PLAYER_19_WAIT",round(dayz_lastCodeFail - diag_tickTime)] call dayz_rollingMessages;
|
|
};
|
|
|
|
if (DZE_doorManagementAllowManualCode) then {
|
|
DZE_topCombo = 0;
|
|
DZE_midCombo = 0;
|
|
DZE_botCombo = 0;
|
|
createDialog "ComboLockUI";
|
|
} else {
|
|
localize "STR_EPOCH_DOORACCESS_NOMANUAL" call dayz_rollingMessages;
|
|
}; |