diff --git a/addons/medical_engine/initSettings.sqf b/addons/medical_engine/initSettings.sqf index 062e2a0822..b60ab23344 100644 --- a/addons/medical_engine/initSettings.sqf +++ b/addons/medical_engine/initSettings.sqf @@ -1,3 +1,15 @@ +[ + QEGVAR(medical,enabled), + "CHECKBOX", + [LSTRING(Enabled_DisplayName), LSTRING(Enabled_Description)], + ELSTRING(medical,Category), + true, + true, { + [QGVAR(enabled), _this] call EFUNC(common,cbaSettings_settingChanged) + }, + true // Needs mission restart +] call CBA_fnc_addSetting; + [ QEGVAR(medical,enableVehicleCrashes), "CHECKBOX", diff --git a/addons/medical_engine/stringtable.xml b/addons/medical_engine/stringtable.xml index ac2968bd0f..a4614d57ae 100644 --- a/addons/medical_engine/stringtable.xml +++ b/addons/medical_engine/stringtable.xml @@ -1,6 +1,12 @@ + + Enable Medical System + + + Controls whether ACE's Medical System is enabled. Disabling the medical system through this setting is experimental, and may not be compatible with other mods.\nUse the No Medical optional component instead if you have issues. + Enable Vehicle Crash Damage Вкл. урон при аварии в транспорте