ACE3/addons/logistics_wirecutter/ACE_Arsenal_Stats.hpp
johnb432 add312cbf1
Logistics wirecutter - Add wirecutter stats to ACE arsenal (#9296)
* Added wirecutter stats to arsenal

* Update addons/logistics_wirecutter/ACE_Arsenal_Stats.hpp

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

* Update addons/logistics_wirecutter/ACE_Arsenal_Stats.hpp

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

* Update ACE_Arsenal_Stats.hpp

---------

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-07-29 01:01:25 +03:00

24 lines
824 B
C++

class EGVAR(arsenal,stats) {
class statBase;
class GVAR(wireCutter): statBase {
scope = 2;
priority = -1;
stats[] = {QGVAR(hasWirecutter)};
displayName = CSTRING(wirecutterName);
showText = 1;
textStatement = QUOTE(localize QUOTE(ELSTRING(common,yes)));
condition = QUOTE(getNumber (_this select 1 >> (_this select 0) select 0) > 0);
tabs[] = {{4,5}, {}};
};
class GVAR(wireCutterItem): statBase {
scope = 2;
priority = -1;
stats[] = {"ACE_isWirecutter"};
displayName = CSTRING(wirecutterName);
showText = 1;
textStatement = QUOTE(localize QUOTE(ELSTRING(common,yes)));
condition = QUOTE(getNumber (_this select 1 >> (_this select 0) select 0) > 0);
tabs[] = {{}, {7}};
};
};