add setting, stringtable

This commit is contained in:
LinkIsGrim 2023-10-26 20:28:46 -04:00
parent 7d6508eb82
commit 3264e9ecb2
2 changed files with 18 additions and 0 deletions

View File

@ -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",

View File

@ -1,6 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<Project name="ACE">
<Package name="Medical_Engine">
<Key ID="STR_ACE_Medical_Engine_Enabled_DisplayName">
<English>Enable Medical System</English>
</Key>
<Key ID="STR_ACE_Medical_Engine_Enabled_Description">
<English>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.</English>
</Key>
<Key ID="STR_ACE_Medical_Engine_EnableVehicleCrashes_DisplayName">
<English>Enable Vehicle Crash Damage</English>
<Russian>Вкл. урон при аварии в транспорте</Russian>