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
435 B
Plaintext
22 lines
435 B
Plaintext
#include "..\script_component.hpp"
|
|
/*
|
|
* Author: drofseh
|
|
* Barrel Type statement.
|
|
*
|
|
* Arguments:
|
|
* 0: Not used
|
|
* 1: Item config path <CONFIG>
|
|
*
|
|
* Return Value:
|
|
* Stat Text <STRING>
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
params ["", "_config"];
|
|
TRACE_1("statTextStatement_allowSwapBarrel",_config);
|
|
|
|
if ((getNumber (_config >> QGVAR(allowSwapBarrel))) == 1) exitWith {LLSTRING(statBarrelType_removeable)};
|
|
|
|
LLSTRING(statBarrelType_nonRemoveable)
|