ACE3/addons/logistics_wirecutter/ACE_Arsenal_Stats.hpp

24 lines
824 B
C++
Raw Normal View History

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}};
};
};