Add PlasticCase OpenBox interaction (#8605)

This commit is contained in:
Dedmen Miller 2021-10-27 01:06:04 +02:00 committed by GitHub
parent ff3e0a48df
commit 7b32edff09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -643,6 +643,26 @@ class CfgVehicles {
};
class ACE_SelfActions {};
};
class PlasticCase_01_base_F: ThingX {
class ACE_Actions {
class ACE_MainActions {
displayName = CSTRING(MainAction);
selection = "";
distance = 2;
condition = "true";
class ACE_OpenBox {
displayName = CSTRING(OpenBox);
condition = QUOTE(alive _target && {!lockedInventory _target} && {getNumber (configOf _target >> 'disableInventory') == 0});
statement = QUOTE(_player action [ARR_2(QUOTE(QUOTE(Gear)), _target)]);
showDisabled = 0;
};
};
};
class ACE_SelfActions {};
};
class Slingload_base_F: ReammoBox_F {};
class Slingload_01_Base_F: Slingload_base_F {
class ACE_Actions: ACE_Actions {