Move to sub-category

This commit is contained in:
PabstMirror 2019-10-15 10:53:53 -05:00
parent 2d6414a761
commit 9f27b55bd8

View File

@ -1,10 +1,12 @@
// CBA Settings [ADDON: ace_mk6mortar]: // CBA Settings [ADDON: ace_mk6mortar]:
// These settings effect gameplay difficutly: defaults will leave the mortar the same as vanilla // These settings effect gameplay difficutly: defaults will leave the mortar the same as vanilla
private _category = [format ["ACE %1", localize "str_a3_cfgmarkers_nato_art"], localize LSTRING(DisplayName)];
[ [
QGVAR(airResistanceEnabled), "CHECKBOX", QGVAR(airResistanceEnabled), "CHECKBOX",
[LSTRING(airResistanceEnabled_DisplayName), LSTRING(airResistanceEnabled_Description)], [LSTRING(airResistanceEnabled_DisplayName), LSTRING(airResistanceEnabled_Description)],
LSTRING(category_DisplayName), _category,
false, // default value false, // default value
true, // isGlobal true, // isGlobal
{[QGVAR(airResistanceEnabled), _this] call EFUNC(common,cbaSettings_settingChanged)}, {[QGVAR(airResistanceEnabled), _this] call EFUNC(common,cbaSettings_settingChanged)},
@ -14,7 +16,7 @@
[ [
QGVAR(allowComputerRangefinder), "CHECKBOX", QGVAR(allowComputerRangefinder), "CHECKBOX",
[LSTRING(allowComputerRangefinder_DisplayName), LSTRING(allowComputerRangefinder_Description)], [LSTRING(allowComputerRangefinder_DisplayName), LSTRING(allowComputerRangefinder_Description)],
LSTRING(category_DisplayName), _category,
true, // default value true, // default value
true, // isGlobal true, // isGlobal
{[QGVAR(allowComputerRangefinder), _this] call EFUNC(common,cbaSettings_settingChanged)}, {[QGVAR(allowComputerRangefinder), _this] call EFUNC(common,cbaSettings_settingChanged)},
@ -24,7 +26,7 @@
[ [
QGVAR(allowCompass), "CHECKBOX", QGVAR(allowCompass), "CHECKBOX",
[LSTRING(allowCompass_DisplayName), LSTRING(allowCompass_Description)], [LSTRING(allowCompass_DisplayName), LSTRING(allowCompass_Description)],
LSTRING(category_DisplayName), _category,
true, // default value true, // default value
true, // isGlobal true, // isGlobal
{[QGVAR(allowCompass), _this] call EFUNC(common,cbaSettings_settingChanged)}, {[QGVAR(allowCompass), _this] call EFUNC(common,cbaSettings_settingChanged)},
@ -34,7 +36,7 @@
[ [
QGVAR(useAmmoHandling), "CHECKBOX", QGVAR(useAmmoHandling), "CHECKBOX",
[LSTRING(useAmmoHandling_DisplayName), LSTRING(useAmmoHandling_Description)], [LSTRING(useAmmoHandling_DisplayName), LSTRING(useAmmoHandling_Description)],
LSTRING(category_DisplayName), _category,
false, // default value false, // default value
true, // isGlobal true, // isGlobal
{[QGVAR(useAmmoHandling), _this] call EFUNC(common,cbaSettings_settingChanged)}, {[QGVAR(useAmmoHandling), _this] call EFUNC(common,cbaSettings_settingChanged)},