mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
50 lines
1.6 KiB
C++
50 lines
1.6 KiB
C++
class CfgVehicles {
|
|
class Man;
|
|
class CAManBase: Man {
|
|
class ACE_SelfActions {
|
|
class ACE_Equipment {
|
|
class GVAR(menu) {
|
|
displayName = "Configure DAGR";
|
|
condition = QUOTE([ARR_2(_player,'ACE_DAGR')] call EFUNC(common,hasItem));
|
|
statement = QUOTE(call FUNC(DAGR_MENU_INIT));
|
|
showDisabled = 0;
|
|
priority = 0.1;
|
|
icon = QUOTE(PATHTOF(UI\DAGR_Icon.paa));
|
|
exceptions[] = {"isNotInside"};
|
|
class GVAR(toggle) {
|
|
displayName = "Toggle DAGR";
|
|
condition = QUOTE([ARR_2(_player,'ACE_DAGR')] call EFUNC(common,hasItem));
|
|
statement = QUOTE(call FUNC(DAGR_START));
|
|
showDisabled = 0;
|
|
priority = 0.2;
|
|
icon = QUOTE(PATHTOF(UI\DAGR_Icon.paa));
|
|
exceptions[] = {"notOnMap", "isNotInside"};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
class Item_Base_F;
|
|
class ACE_Item_DAGR: Item_Base_F {
|
|
author[] = {"Rosuto", "Ruthberg"};
|
|
scope = 2;
|
|
scopeCurator = 2;
|
|
displayName = "DAGR";
|
|
vehicleClass = "Items";
|
|
class TransportItems {
|
|
class ACE_DAGR {
|
|
name = "ACE_DAGR";
|
|
count = 1;
|
|
};
|
|
};
|
|
};
|
|
|
|
class Box_NATO_Support_F;
|
|
class ACE_Box_Misc: Box_NATO_Support_F {
|
|
class TransportItems {
|
|
MACRO_ADDITEM(ACE_DAGR,6);
|
|
};
|
|
};
|
|
};
|