ACE3/addons/reload/ACE_Arsenal_Stats.hpp
PabstMirror 60143be55f
Arsenal - Add stats for buddy-loading launchers and belt linking (#9470)
* reload launchers - show if enable arsenal stat

* Apply suggestions from code review

Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>

* Add ACE_isBelt stat

* buddy

---------

Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2023-10-09 19:20:23 -04:00

14 lines
440 B
C++

class EGVAR(arsenal,stats) {
class statBase;
class ACE_isBelt: statBase {
scope = 2;
priority = -1;
stats[] = {"ACE_isBelt"};
displayName = CSTRING(LinkBelt);
showText = 1;
textStatement = QUOTE(localize QUOTE(ELSTRING(Common,Enabled)));
condition = QUOTE(params[ARR_2('_stat', '_config')]; (getNumber (_config >> _stat select 0)) == 1);
tabs[] = {{}, {4}};
};
};