mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
24 lines
824 B
C++
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}};
|
||
|
};
|
||
|
};
|