Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions addons/medical_treatment/functions/fnc_checkResponse.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ params ["_medic", "_patient"];
private _output = if (_patient call EFUNC(common,isAwake)) then {
LSTRING(Check_Response_Responsive)
} else {
if (GVAR(advancedDiagnose) == 3) exitWith {
if (IN_CRDC_ARRST(_patient)) exitWith { LSTRING(Check_Response_CardiacArrestDirect) };
if (!alive _patient) exitWith { LSTRING(Check_Response_DeadDirect) };
LSTRING(Check_Response_UnresponsiveDirect)
};
if ((GVAR(advancedDiagnose) == 2) && {IN_CRDC_ARRST(_patient)}) exitWith { LSTRING(Check_Response_CardiacArrest) };
if ((GVAR(advancedDiagnose) == 2) && {!alive _patient}) exitWith { LSTRING(Check_Response_Dead) };
LSTRING(Check_Response_Unresponsive)
Expand Down
2 changes: 1 addition & 1 deletion addons/medical_treatment/initSettings.inc.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"LIST",
[LSTRING(AdvancedDiagnose_DisplayName), LSTRING(AdvancedDiagnose_Description)],
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
[[0, 1, 2], [ELSTRING(common,Disabled), ELSTRING(common,Enabled), LSTRING(AdvancedDiagnose_DiagnoseCardiacArrest)], 1],
[[0, 1, 2, 3], [ELSTRING(common,Disabled), ELSTRING(common,Enabled), LSTRING(AdvancedDiagnose_DiagnoseCardiacArrest), LSTRING(AdvancedDiagnose_DiagnoseCardiacArrestDirect)], 1],
true
] call CBA_fnc_addSetting;

Expand Down
12 changes: 12 additions & 0 deletions addons/medical_treatment/stringtable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@
<Spanish>Habilitado y poder diagnosticar Muerte/Parada cardíaca</Spanish>
<Italian>Abilitato e può diagnosticare Morte/Arresto Cardiaco</Italian>
</Key>
<Key ID="STR_ACE_Medical_Treatment_AdvancedDiagnose_DiagnoseCardiacArrestDirect">
<English>Enabled &amp; Can Diagnose Death/Cardiac Arrest [Directly]</English>
</Key>
<Key ID="STR_ACE_Medical_Treatment_AdvancedMedication_DisplayName">
<English>Advanced Medication</English>
<German>Erweiterte Medikation</German>
Expand Down Expand Up @@ -4149,6 +4152,9 @@
<Chinese>%1 沒有反應</Chinese>
<Turkish>%1 tepki vermiyor</Turkish>
</Key>
<Key ID="STR_ACE_Medical_Treatment_Check_Response_UnresponsiveDirect">
<English>%1 is unconscious</English>
</Key>
<Key ID="STR_ACE_Medical_Treatment_Check_Response_CardiacArrest">
<English>%1 is not responsive, taking shallow gasps and convulsing</English>
<French>%1 est inconscient, respire par intermittence et convulse.</French>
Expand All @@ -4161,6 +4167,9 @@
<Russian>%1 не реагирует на раздражители, поверхностно дышит, в конвульсиях</Russian>
<Spanish>%1 no responde, dando pequeñas bocanadas y convulsionando</Spanish>
</Key>
<Key ID="STR_ACE_Medical_Treatment_Check_Response_CardiacArrestDirect">
<English>%1 is in cardiac arrest</English>
</Key>
<Key ID="STR_ACE_Medical_Treatment_Check_Response_Dead">
<English>%1 is not responsive, motionless and cold</English>
<French>%1 est inconscient, inanimé et froid.</French>
Expand All @@ -4173,6 +4182,9 @@
<Russian>%1 не реагирует на раздражители, не шевелится и холодный</Russian>
<Spanish>%1 no responde, sin movimiento y frío</Spanish>
</Key>
<Key ID="STR_ACE_Medical_Treatment_Check_Response_DeadDirect">
<English>%1 is dead</English>
</Key>
<Key ID="STR_ACE_Medical_Treatment_Check_Response_You_Checked">
<English>You checked %1</English>
<Russian>Вы осмотрели раненого %1</Russian>
Expand Down