ACE3/addons/intelitems/CfgMagazines.hpp
Grim 31e1ad0cff
Arsenal - Add Tools category and moveOnOverwrite parameter to FUNC(addCustomRightPanelButton) (#9247)
* add tools tab and setting

* move to preinit

* fix icon, add restart warning

* derp

Co-authored-by: Dystopian <sddex@ya.ru>

* Update addons/arsenal/stringtable.xml

Co-authored-by: PabstMirror <pabstmirror@gmail.com>

* remove setting

* add keepIfOverriden parameter

* docs again

* documentation whitespace

* docs grammar, change parameter name

* fix docs

* more docs fixes

* magazine support

* deprecate spare barrel item

* more docs, improve condition

---------

Co-authored-by: Dystopian <sddex@ya.ru>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-07-21 22:39:48 +03:00

42 lines
1.4 KiB
C++

class CfgMagazines {
class CA_Magazine;
class GVAR(base): CA_Magazine {
count = 1;
mass = 1;
ACE_isUnique = 1;
GVAR(intel) = 1;
GVAR(control) = "";
scopeArsenal = 0;
};
class XGVAR(notepad): GVAR(base) {
author = ECSTRING(common,ACETeam);
scope = 2;
scopeArsenal = 2; // Allows players to access from arsenal
displayName = CSTRING(Notepad_DisplayName);
descriptionShort = CSTRING(Notepad_Description);
picture = QPATHTOF(ui\notepad_ca.paa);
model = "\a3\structures_f\items\documents\notepad_f.p3d";
GVAR(control) = QGVAR(RscNotepad);
ACE_isTool = 1;
};
class XGVAR(document): GVAR(base) {
author = ECSTRING(common,ACETeam);
displayName = CSTRING(Document_DisplayName);
descriptionShort = CSTRING(Document_Description);
picture = QPATHTOF(ui\document_ca.paa);
model = "\a3\structures_f\items\documents\file2_f.p3d";
GVAR(control) = QGVAR(RscDocument);
};
class XGVAR(photo): GVAR(base) {
author = ECSTRING(common,ACETeam);
displayName = CSTRING(Photo_DisplayName);
descriptionShort = CSTRING(Photo_Description);
picture = QPATHTOF(ui\photo_ca.paa);
model = "\a3\structures_f\items\documents\filephotos_f.p3d";
GVAR(control) = QGVAR(RscPhoto);
};
};