ACE3/addons/explosives/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

14 lines
592 B
C++

class EGVAR(arsenal,stats) {
class statBase;
class ACE_explosiveRange: statBase {
scope = 2;
priority = 1;
stats[] = {QGVAR(Range)};
displayName = CSTRING(statExploRange);
showText = 1;
textStatement = QUOTE(params [ARR_2('_stat','_config')]; private _exploRangeStat = getNumber (_config >> _stat select 0); format [ARR_3('%1m (%2ft)',_exploRangeStat,(_exploRangeStat / 0.3048) toFixed 1)]);
condition = QUOTE(params [ARR_2('','_config')]; (getNumber (_config >> QQGVAR(Detonator))) > 0);
tabs[] = {{}, {7}};
};
};