ACE3/addons/hearing/ACE_Arsenal_Stats.hpp
PabstMirror 6ce625a52f
Cleanup spaces in config macros (#9621)
* Cleanup spaces in config macros

* remove extra whitespace before call

---------

Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
2023-11-05 12:36:00 -06:00

22 lines
860 B
C++

class EGVAR(arsenal,stats) {
class statBase;
class ACE_hearingProtection: statBase {
scope = 2;
priority = 2;
stats[] = {QGVAR(protection)};
displayName= CSTRING(statHearingProtection);
showBar = 1;
barStatement = QUOTE([ARR_3((_this select 0) select 0,_this select 1,[ARR_3([ARR_2(0,1)],[ARR_2(0.01,1)],false)])] call EFUNC(arsenal,statBarStatement_default));
tabs[] = {{6}, {}};
};
class ACE_volumeMuffling: statBase {
scope = 2;
priority = 1.75;
stats[] = {QGVAR(lowerVolume)};
displayName= CSTRING(statHearingLowerVolume);
showBar = 1;
barStatement = QUOTE([ARR_3((_this select 0) select 0,_this select 1,[ARR_3([ARR_2(0,1)],[ARR_2(0.01,1)],false)])] call EFUNC(arsenal,statBarStatement_default));
tabs[] = {{6}, {}};
};
};