ACE3/addons/logistics_rope/CfgWeapons.hpp
Grim 7054d4bb51
Inventory - Fix filtering for items without file extension in picture property (#9696)
* fix rope filtering

* loop

* var declaration begone

* count -> forEach

* Update XEH_preStart.sqf
2024-01-01 13:35:44 -08:00

68 lines
1.9 KiB
C++

class CfgWeapons {
class CBA_MiscItem_ItemInfo;
class ACE_ItemCore;
class ACE_ropeBase: ACE_ItemCore {
scope = 1;
picture = QPATHTOF(data\m_rope_ca.paa);
// model = "\A3\Structures_F_Heli\Items\Tools\Rope_01_F.p3d"; // model is Locked to Helicopter DLC
descriptionShort = CSTRING(descriptionShort);
};
class ACE_rope3: ACE_ropeBase {
scope = 2;
GVAR(length) = 3.2;
displayName = CSTRING(Rope_3_Display);
class ItemInfo: CBA_MiscItem_ItemInfo {
mass = 6;
};
};
class ACE_rope6: ACE_ropeBase {
scope = 2;
GVAR(length) = 6.2;
displayName = CSTRING(Rope_6_Display);
class ItemInfo: CBA_MiscItem_ItemInfo {
mass = 18;
};
};
class ACE_rope12: ACE_ropeBase {
scope = 2;
GVAR(length) = 12.2;
displayName = CSTRING(Rope_12_Display);
class ItemInfo: CBA_MiscItem_ItemInfo {
mass = 36;
};
};
class ACE_rope15: ACE_ropeBase {
scope = 2;
GVAR(length) = 15.2;
displayName = CSTRING(Rope_15_Display);
class ItemInfo: CBA_MiscItem_ItemInfo {
mass = 45;
};
};
class ACE_rope18: ACE_ropeBase {
scope = 2;
GVAR(length) = 18.3;
displayName = CSTRING(Rope_18_Display);
class ItemInfo: CBA_MiscItem_ItemInfo {
mass = 54;
};
};
class ACE_rope27: ACE_ropeBase {
scope = 2;
GVAR(length) = 27.4;
displayName = CSTRING(Rope_27_Display);
class ItemInfo: CBA_MiscItem_ItemInfo {
mass = 81;
};
};
class ACE_rope36: ACE_ropeBase {
scope = 2;
GVAR(length) = 36.6;
displayName = CSTRING(Rope_36_Display);
class ItemInfo: CBA_MiscItem_ItemInfo {
mass = 108;
};
};
};