mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
20 lines
860 B
Plaintext
20 lines
860 B
Plaintext
|
// CBA Settings [ADDON: ace_refuel]:
|
||
|
|
||
|
[
|
||
|
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)}
|
||
|
] call CBA_settings_fnc_init;
|
||
|
|
||
|
[
|
||
|
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)}
|
||
|
] call CBA_settings_fnc_init;
|