ACE3/addons/weather/initSettings.sqf

40 lines
1.3 KiB
Plaintext
Raw Normal View History

private _category = [format ["ACE %1", LLSTRING(Module_DisplayName)]];
[
QGVAR(enabled), "CHECKBOX",
[LSTRING(enabled_DisplayName), LSTRING(enabled_Description)],
_category,
true, // default value
true, // isGlobal
{[QGVAR(enabled), _this] call EFUNC(common,cbaSettings_settingChanged)},
true // Needs mission restart
2021-02-18 18:58:26 +00:00
] call CBA_fnc_addSetting;
[
QGVAR(updateInterval), "SLIDER",
[LSTRING(updateInterval_DisplayName), LSTRING(updateInterval_Description)],
_category,
[0,300,60,0], // [min, max, default value, trailing decimals (-1 for whole numbers only)]
true, // isGlobal
{[QGVAR(updateInterval), _this] call EFUNC(common,cbaSettings_settingChanged)},
true // Needs mission restart
2021-02-18 18:58:26 +00:00
] call CBA_fnc_addSetting;
[
QGVAR(windSimulation), "CHECKBOX",
[LSTRING(windSimulation_DisplayName), LSTRING(windSimulation_Description)],
_category,
true, // default value
true, // isGlobal
{[QGVAR(windSimulation), _this] call EFUNC(common,cbaSettings_settingChanged)},
true // Needs mission restart
2021-02-18 18:58:26 +00:00
] call CBA_fnc_addSetting;
[
QGVAR(showCheckAirTemperature), "CHECKBOX",
French translation of the latest updates (#7321) * Add description for 'showCheckAirTemperature' setting (weather) * Add french translation for '(show)CheckAirTemperature' in weather module * Add description for 'SettingShowClearGlasses' setting (goggles module) * Add french translation for 'SettingShowClearGlasses' in goggles module * Add localization for 'rangetables' categoriy settings (artillerytables module) * Add french translation for artillerytables module * Add french translation for Shotguns ammunition in ballistics module * Add french translation for CTS 7290 in grenades module * Minor modification of french translation for medical_treatment module * Add french translation for 'SettingShowCheckAmmoSelf' in reload module * French translation : correction of a typing error in advanced_throwing module * Minor modifications of french translation for chemlights module Homogenization of presentation, to be absolutely identical to the presentation of the vanilla glow sticks. * French translation : reformulation of the overheating module menu text, which was redundant with the title. * Changing the order of the overheating menu (logical grouping). * Add description tooltip on 'quickmount' settings * Add localization for 'fastrope' subcategory settings (Uncategorized Menu) * Minor modifications/corrections of french translation : - fastroping module - magazinerepack module - microdagr module - overheating module - switchunits module * FIXED Previous commit ==> Add description tooltip on 'quickmount' settings * Add french translation for quickmount tooltip menu * move showActionInSelfInteraction to common Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2019-12-28 15:58:52 +00:00
[LSTRING(showCheckAirTemperature_DisplayName), LELSTRING(common,showActionInSelfInteraction)],
_category,
true, // default value
2019-12-13 19:02:37 +00:00
false // isGlobal
2021-02-18 18:58:26 +00:00
] call CBA_fnc_addSetting;