2018-07-05 16:29:32 +00:00
|
|
|
[
|
|
|
|
QGVAR(rate), "SLIDER",
|
|
|
|
[LSTRING(RefuelSettings_speed_DisplayName), LSTRING(RefuelSettings_speed_Description)],
|
|
|
|
[localize ELSTRING(OptionsMenu,CategoryLogistics), localize "str_state_refuel"],
|
|
|
|
[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
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(hoseLength), "SLIDER",
|
|
|
|
[LSTRING(RefuelSettings_hoseLength_DisplayName)],
|
|
|
|
[localize ELSTRING(OptionsMenu,CategoryLogistics), localize "str_state_refuel"],
|
|
|
|
[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;
|