2023-12-11 17:05:22 +00:00
|
|
|
private _category = [ELSTRING(main,Category_Logistics), "str_state_refuel"];
|
2023-11-17 23:07:28 +00:00
|
|
|
|
2024-05-23 19:47:19 +00:00
|
|
|
[
|
|
|
|
QGVAR(enabled), "CHECKBOX",
|
|
|
|
ELSTRING(common,Enabled),
|
|
|
|
_category,
|
|
|
|
true,
|
|
|
|
1,
|
|
|
|
{[QGVAR(enabled), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
|
|
true // Needs mission restart
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
2018-07-05 16:29:32 +00:00
|
|
|
[
|
|
|
|
QGVAR(rate), "SLIDER",
|
|
|
|
[LSTRING(RefuelSettings_speed_DisplayName), LSTRING(RefuelSettings_speed_Description)],
|
2023-11-17 23:07:28 +00:00
|
|
|
_category,
|
2018-07-05 16:29:32 +00:00
|
|
|
[0,25,1,1], // [min, max, default value, trailing decimals (-1 for whole numbers only)]
|
2024-05-31 20:20:21 +00:00
|
|
|
true // isGlobal
|
2021-02-18 18:58:26 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
2018-07-05 16:29:32 +00:00
|
|
|
|
2023-02-17 02:06:11 +00:00
|
|
|
[
|
|
|
|
QGVAR(cargoRate), "SLIDER",
|
|
|
|
[LSTRING(RefuelSettings_speedCargo_DisplayName), LSTRING(RefuelSettings_speedCargo_Description)],
|
2023-11-17 23:07:28 +00:00
|
|
|
_category,
|
2023-02-17 02:06:11 +00:00
|
|
|
[0,250,10,1], // [min, max, default value, trailing decimals (-1 for whole numbers only)]
|
2024-05-31 20:20:21 +00:00
|
|
|
true // isGlobal
|
2023-02-17 02:06:11 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
2018-07-05 16:29:32 +00:00
|
|
|
[
|
|
|
|
QGVAR(hoseLength), "SLIDER",
|
|
|
|
[LSTRING(RefuelSettings_hoseLength_DisplayName)],
|
2023-11-17 23:07:28 +00:00
|
|
|
_category,
|
2018-07-05 16:29:32 +00:00
|
|
|
[0,50,12,1], // [min, max, default value, trailing decimals (-1 for whole numbers only)]
|
2024-05-31 20:20:21 +00:00
|
|
|
true // isGlobal
|
2021-02-18 18:58:26 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
2022-08-17 11:25:37 +00:00
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(progressDuration), "TIME",
|
|
|
|
[LSTRING(RefuelSettings_progressDuration_DisplayName), LSTRING(RefuelSettings_progressDuration_Description)],
|
2023-11-17 23:07:28 +00:00
|
|
|
_category,
|
2022-08-17 11:25:37 +00:00
|
|
|
[0, 10, 2], // [min, max, default value]
|
2024-05-31 20:20:21 +00:00
|
|
|
true // isGlobal
|
2022-08-17 11:25:37 +00:00
|
|
|
] call CBA_fnc_addSetting;
|