mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
6ce625a52f
* Cleanup spaces in config macros * remove extra whitespace before call --------- Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
22 lines
860 B
C++
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}, {}};
|
|
};
|
|
};
|