mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
35ce8d1883
* 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>
42 lines
1.0 KiB
C++
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;
|
|
};
|
|
};
|
|
};
|