ACE3/addons/overheating/ACE_Arsenal_Stats.hpp
Drofseh b58807088a
Overheating - Add stats to arsenal (#9719)
* Overheating - Add Bolt Type stat to arsenal

* Add stat for barrel swapping

* Update addons/overheating/ACE_Arsenal_Stats.hpp

Co-authored-by: PabstMirror <pabstmirror@gmail.com>

* Update addons/overheating/functions/fnc_statTextStatement_allowSwapBarrel.sqf

Co-authored-by: PabstMirror <pabstmirror@gmail.com>

---------

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2024-01-07 17:04:10 -06:00

22 lines
655 B
C++

class EGVAR(arsenal,stats) {
class statBase;
class ACE_allowSwapBarrel: statBase {
scope = 2;
priority = -1;
stats[] = {QGVAR(allowSwapBarrel)};
displayName = CSTRING(statBarrelType);
showText = 1;
textStatement = QUOTE(call FUNC(statTextStatement_allowSwapBarrel));
tabs[] = {{0,1}, {}};
};
class ACE_boltType: statBase {
scope = 2;
priority = -1.1;
stats[] = {QGVAR(closedBolt)};
displayName = CSTRING(statBoltType);
showText = 1;
textStatement = QUOTE(call FUNC(statTextStatement_boltType));
tabs[] = {{0,1}, {}};
};
};