mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-12 19:22:56 +03:00
Add a tall safe
This safe is the biggest version in-game. The safe is not in by default. It is up to the server admins to use it. Model made by @Helion4
This commit is contained in:
@@ -12,7 +12,7 @@ private ["_backupCode","_badCode","_cursorTarget","_dialog","_dir","_doorFriends
|
||||
_cursorTarget = _this select 3;
|
||||
_typeOf = typeOf (_cursorTarget);
|
||||
|
||||
_isSafe = _typeOf in ["VaultStorage","VaultStorage2"];
|
||||
_isSafe = _typeOf in ["VaultStorage","VaultStorage2","TallSafe"];
|
||||
_isLockBox = _typeOf in ["LockBoxStorage","LockBoxStorage2","LockBoxStorageWinter","LockBoxStorageWinter2"];
|
||||
_isStorage = (_isSafe || _isLockBox);
|
||||
_isDoor = _typeOf in DZE_DoorsLocked;
|
||||
|
||||
@@ -10,7 +10,7 @@ if (dayz_lastCodeFail > diag_tickTime) exitWith {
|
||||
};
|
||||
|
||||
if (!isNull dayz_selectedVault) then {
|
||||
if ((typeOf dayz_selectedVault) in ["VaultStorageLocked","VaultStorage","VaultStorage2Locked","VaultStorage2"]) then {
|
||||
if ((typeOf dayz_selectedVault) in ["VaultStorageLocked","VaultStorage","VaultStorage2Locked","VaultStorage2","TallSafe","TallSafeLocked"]) then {
|
||||
createDialog "SafeKeyPad";
|
||||
} else {
|
||||
createDialog "KeypadUI";
|
||||
|
||||
Reference in New Issue
Block a user