2021-10-14 15:46:43 +00:00
|
|
|
[
|
|
|
|
QXGVAR(settingHint),
|
|
|
|
"LIST",
|
|
|
|
[LLSTRING(settingHint), LLSTRING(settingHintDesc)],
|
|
|
|
LLSTRING(settingsCategory),
|
|
|
|
[
|
|
|
|
[0, 1, 2],
|
|
|
|
[LLSTRING(settingHintNone), LLSTRING(settingHintHasTool), LLSTRING(settingHintEveryone)],
|
|
|
|
2
|
|
|
|
]
|
|
|
|
] call CBA_fnc_addSetting;
|
2021-11-07 23:21:36 +00:00
|
|
|
|
2021-11-08 18:01:39 +00:00
|
|
|
[
|
|
|
|
QGVAR(timeCostCoefficient),
|
|
|
|
"SLIDER",
|
|
|
|
[LLSTRING(settingHint_timeCostCoefficient), LLSTRING(settingHintDesc_timeCostCoefficient)],
|
|
|
|
LLSTRING(settingsCategory),
|
2021-11-11 20:12:04 +00:00
|
|
|
[0, 10, 1, 2], // Min, Max, Default, Trailing Decimals, is Percentage
|
|
|
|
true //isGlobal
|
2021-11-08 18:01:39 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(timeMin),
|
|
|
|
"SLIDER",
|
|
|
|
[LLSTRING(settingHint_timeMin), LLSTRING(settingHintDesc_timeMin)],
|
|
|
|
LLSTRING(settingsCategory),
|
2021-11-11 20:12:04 +00:00
|
|
|
[0, 25, 1.5, 2], // Min, Max, Default, Trailing Decimals, is Percentage
|
|
|
|
true //isGlobal
|
2021-11-08 18:01:39 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
2021-11-07 23:21:36 +00:00
|
|
|
[
|
|
|
|
QGVAR(markObjectsOnMap),
|
|
|
|
"LIST",
|
|
|
|
[LLSTRING(markObjectsOnMap), LLSTRING(markObjectsOnMapDesc)],
|
|
|
|
LLSTRING(settingsCategory),
|
|
|
|
[
|
|
|
|
[0, 1, 2],
|
|
|
|
[LLSTRING(markObjectsOnMapNone), LLSTRING(markObjectsOnMapFriendly), LLSTRING(markObjectsOnMapEveryone)],
|
|
|
|
1
|
|
|
|
],
|
|
|
|
true,
|
|
|
|
{},
|
|
|
|
true
|
|
|
|
] call CBA_fnc_addSetting;
|