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