2023-11-17 23:07:28 +00:00
|
|
|
private _category = [ELSTRING(OptionsMenu,CategoryLogistics), "str_state_refuel"];
|
|
|
|
|
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)]
|
|
|
|
true, // isGlobal
|
|
|
|
{[QGVAR(rate), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
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)]
|
|
|
|
true, // isGlobal
|
|
|
|
{[QGVAR(cargoRate), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
|
|
|
] 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)]
|
|
|
|
true, // isGlobal
|
|
|
|
{[QGVAR(hoseLength), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
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]
|
|
|
|
true, // isGlobal
|
|
|
|
{[QGVAR(progressDuration), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
|
|
|
] call CBA_fnc_addSetting;
|