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