ACE3/addons/overheating/initSettings.sqf
GhostIsSpooky 998f86f034
General - Move to CBA Settings (#8461)
* first pass

* second pass

* third pass

* final pass

* missing commas

* newlines

* switch to cba eventhandler

* newlines, formatting

* laser - movedToSQF

* add logging to ace_common_fnc_cbaSettings_loadFromConfig

* Update initSettings.sqf

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2021-10-11 15:48:30 -05:00

58 lines
1.4 KiB
Plaintext

private _category = format ["ACE %1", localize LSTRING(DisplayName)];
[
QGVAR(enabled), "CHECKBOX",
[LSTRING(enabled_displayName), LSTRING(enabled_description)],
_category,
true,
1
] call CBA_fnc_addSetting;
[
QGVAR(showParticleEffects), "CHECKBOX",
[LSTRING(showParticleEffects_displayName), LSTRING(showParticleEffects_description)],
_category,
true,
0
] call CBA_fnc_addSetting;
[
QGVAR(showParticleEffectsForEveryone), "CHECKBOX",
[LSTRING(showParticleEffectsForEveryone_displayName), LSTRING(showParticleEffectsForEveryone_description)],
_category,
false,
0
] call CBA_fnc_addSetting;
[
QGVAR(overheatingDispersion), "CHECKBOX",
[LSTRING(overheatingDispersion_displayName), LSTRING(overheatingDispersion_description)],
_category,
true,
1
] call CBA_fnc_addSetting;
[
QGVAR(displayTextOnJam), "CHECKBOX",
[LSTRING(DisplayTextOnJam_displayName), LSTRING(displayTextOnJam_description)],
_category,
true,
0
] call CBA_fnc_addSetting;
[
QGVAR(unJamOnreload), "CHECKBOX",
[LSTRING(unJamOnreload_displayName), LSTRING(unJamOnreload_description)],
_category,
false,
1
] call CBA_fnc_addSetting;
[
QGVAR(unJamFailChance), "SLIDER",
[LSTRING(unJamFailChance_displayName), LSTRING(unJamFailChance_description)],
_category,
[0, 1, 0.1, 2],
1
] call CBA_fnc_addSetting;