ACE3/addons/common/CfgWeapons.hpp
Grim 35ce8d1883
Common - Add variable to block item replacement temporarily (#9265)
* add blocking item replacement

* don't add if player changed

* re-curse instead of fake item

* compileFinal

* Update fnc_registerItemReplacement.sqf

* move to separate function

* remove fakeitem replacement

---------

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-07-22 06:31:30 +03:00

42 lines
1.0 KiB
C++

class CfgWeapons {
class CBA_MiscItem;
class CBA_MiscItem_ItemInfo;
class ACE_ItemCore: CBA_MiscItem {};
class Rifle;
class Rifle_Base_F: Rifle {
class WeaponSlotsInfo;
};
class ACE_FakePrimaryWeapon: Rifle_Base_F {
scope = 1;
scopeCurator = 1;
scopeArsenal = 1;
displayName = "";
model = "\A3\Weapons_f\empty";
picture = "";
magazines[] = {"ACE_FakeMagazine"};
discreteDistance[] = {};
discreteDistanceInitIndex = 0;
class WeaponSlotsInfo: WeaponSlotsInfo {
mass = 0;
};
};
class ACE_Banana: ACE_ItemCore {
author = CSTRING(ACETeam);
scope = 2;
displayName = CSTRING(bananaDisplayName);
descriptionShort = CSTRING(bananaDescr);
model = QPATHTOF(data\banana.p3d);
picture = QPATHTOF(data\icon_banana_ca.paa);
icon = "iconObject_circle";
mapSize = 0.034;
class ItemInfo: CBA_MiscItem_ItemInfo {
mass = 1;
};
};
};