mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
alternative smaller Safe fix
This commit is contained in:
parent
b1e9b4f0fe
commit
7648181ac4
@ -131,14 +131,14 @@ class lock_lockbox
|
|||||||
};
|
};
|
||||||
class unlock_safe
|
class unlock_safe
|
||||||
{
|
{
|
||||||
condition = "(dyna_cursorTargetType in ['Safe_EPOCH','SafeProxy_EPOCH','GunSafe_EPOCH']) && (dyna_cursorTarget getVariable ['EPOCH_Locked',false])";
|
condition = "(dyna_cursorTargetType in ['Safe_EPOCH','Safe_s_EPOCH','SafeProxy_EPOCH','GunSafe_EPOCH']) && (dyna_cursorTarget getVariable ['EPOCH_Locked',false])";
|
||||||
action = "dyna_cursorTarget call Epoch_secureStorageHandler";
|
action = "dyna_cursorTarget call Epoch_secureStorageHandler";
|
||||||
icon = "x\addons\a3_epoch_code\Data\UI\buttons\pad_can_unlock.paa";
|
icon = "x\addons\a3_epoch_code\Data\UI\buttons\pad_can_unlock.paa";
|
||||||
tooltip = "Unlock Safe";
|
tooltip = "Unlock Safe";
|
||||||
};
|
};
|
||||||
class lock_safe
|
class lock_safe
|
||||||
{
|
{
|
||||||
condition = "(dyna_cursorTargetType in ['Safe_EPOCH','SafeProxy_EPOCH','GunSafe_EPOCH']) && !(dyna_cursorTarget getVariable ['EPOCH_Locked',false])";
|
condition = "(dyna_cursorTargetType in ['Safe_EPOCH','Safe_s_EPOCH','SafeProxy_EPOCH','GunSafe_EPOCH']) && !(dyna_cursorTarget getVariable ['EPOCH_Locked',false])";
|
||||||
action = "dyna_cursorTarget call Epoch_secureStorageHandler";
|
action = "dyna_cursorTarget call Epoch_secureStorageHandler";
|
||||||
icon = "x\addons\a3_epoch_code\Data\UI\buttons\pad_cannot_lock.paa";
|
icon = "x\addons\a3_epoch_code\Data\UI\buttons\pad_cannot_lock.paa";
|
||||||
tooltip = "Lock Safe";
|
tooltip = "Lock Safe";
|
||||||
@ -154,7 +154,7 @@ class pack_lockbox
|
|||||||
};
|
};
|
||||||
class pack_safe
|
class pack_safe
|
||||||
{
|
{
|
||||||
condition = "(dyna_cursorTargetType in ['Safe_EPOCH','SafeProxy_EPOCH','GunSafe_EPOCH']) && (dyna_cursorTarget getVariable ['EPOCH_Locked',false])";
|
condition = "(dyna_cursorTargetType in ['Safe_EPOCH','Safe_s_EPOCH','SafeProxy_EPOCH','GunSafe_EPOCH']) && (dyna_cursorTarget getVariable ['EPOCH_Locked',false])";
|
||||||
action = "[dyna_cursorTarget,player,Epoch_personalToken] remoteExec ['EPOCH_server_packStorage',2];";
|
action = "[dyna_cursorTarget,player,Epoch_personalToken] remoteExec ['EPOCH_server_packStorage',2];";
|
||||||
icon = "x\addons\a3_epoch_code\Data\UI\buttons\build_pack.paa";
|
icon = "x\addons\a3_epoch_code\Data\UI\buttons\build_pack.paa";
|
||||||
tooltip = "Pack Safe";
|
tooltip = "Pack Safe";
|
||||||
|
@ -1425,7 +1425,7 @@ class CfgBaseBuilding
|
|||||||
limitNearby = 2;
|
limitNearby = 2;
|
||||||
isSecureStorage = 1;
|
isSecureStorage = 1;
|
||||||
};
|
};
|
||||||
class Safe_s_SIM_EPOCH : Safe_EPOCH
|
class Safe_s_SIM_EPOCH : Safe_s_EPOCH
|
||||||
{
|
{
|
||||||
returnOnPack[] = {};
|
returnOnPack[] = {};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user