mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
b58807088a
* 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>
22 lines
655 B
C++
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}, {}};
|
|
};
|
|
};
|