mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
464ab0cefb
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com> Co-authored-by: PabstMirror <pabstmirror@gmail.com> Co-authored-by: jonpas <jonpas33@gmail.com>
38 lines
1.4 KiB
Plaintext
38 lines
1.4 KiB
Plaintext
private _category = [ELSTRING(OptionsMenu,CategoryLogistics), "str_state_refuel"];
|
|
|
|
[
|
|
QGVAR(rate), "SLIDER",
|
|
[LSTRING(RefuelSettings_speed_DisplayName), LSTRING(RefuelSettings_speed_Description)],
|
|
_category,
|
|
[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)}
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(cargoRate), "SLIDER",
|
|
[LSTRING(RefuelSettings_speedCargo_DisplayName), LSTRING(RefuelSettings_speedCargo_Description)],
|
|
_category,
|
|
[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;
|
|
|
|
[
|
|
QGVAR(hoseLength), "SLIDER",
|
|
[LSTRING(RefuelSettings_hoseLength_DisplayName)],
|
|
_category,
|
|
[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)}
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(progressDuration), "TIME",
|
|
[LSTRING(RefuelSettings_progressDuration_DisplayName), LSTRING(RefuelSettings_progressDuration_Description)],
|
|
_category,
|
|
[0, 10, 2], // [min, max, default value]
|
|
true, // isGlobal
|
|
{[QGVAR(progressDuration), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
|
] call CBA_fnc_addSetting;
|