diff --git a/addons/medical_treatment/functions/fnc_checkPulseLocal.sqf b/addons/medical_treatment/functions/fnc_checkPulseLocal.sqf index bb3efedc221..61bda2d8319 100644 --- a/addons/medical_treatment/functions/fnc_checkPulseLocal.sqf +++ b/addons/medical_treatment/functions/fnc_checkPulseLocal.sqf @@ -37,7 +37,7 @@ private _heartRateOutput = LSTRING(Check_Pulse_Output_5); private _logOutput = LSTRING(Check_Pulse_None); if (_heartRate > 1) then { - if (_medic call FUNC(isMedic)) then { + if ([_medic, GVAR(numericalPulse)] call FUNC(isMedic)) then { _heartRateOutput = LSTRING(Check_Pulse_Output_1); _logOutput = str round _heartRate; } else { diff --git a/addons/medical_treatment/initSettings.inc.sqf b/addons/medical_treatment/initSettings.inc.sqf index 7f0fc06764c..01082afc36f 100644 --- a/addons/medical_treatment/initSettings.inc.sqf +++ b/addons/medical_treatment/initSettings.inc.sqf @@ -7,6 +7,15 @@ true ] call CBA_fnc_addSetting; +[ + QGVAR(numericalPulse), + "LIST", + [LSTRING(numericalPulse_DisplayName), LSTRING(NumericalPulse_Description)], + LSTRING(Category), + [[0, 1, 2], [LSTRING(Anyone), LSTRING(Medics), LSTRING(Doctors)], 1], + true +] call CBA_fnc_addSetting; + [ QGVAR(advancedMedication), "CHECKBOX", diff --git a/addons/medical_treatment/stringtable.xml b/addons/medical_treatment/stringtable.xml index b0d140d8255..91ae721717b 100644 --- a/addons/medical_treatment/stringtable.xml +++ b/addons/medical_treatment/stringtable.xml @@ -65,6 +65,12 @@ Habilita la comprobación del pulso, presión sanguinea y rsepuesta a las acciones del tratamiento en lugar de la acción de diagnóstico genérico. \n Cuando se deshabilita, la acción RCP solo se mostrará cuando realizar un RCP sea apropiado. \n Las acciones activadas de este ajuste son necesarias para determinar si una persona está inconsciente o en parada cardiaca. 맥박 확인, 혈압 확인, 반응 확인 등의 일반적인 진료행위를 추가합니다. \n 비활성화시 심폐소생술은 가능 할때만 표시됩니다. \n 해당 옵션은 인원이 기절한건지 아니면 심정지가 왔는지 구분할 때 쓰입니다. + + Numerical Pulse + + + Makes Check Pulse action give a numerical value based on setting + Enabled & Can Diagnose Death/Cardiac Arrest Activé & Diagnostic du décès/de l'arrêt cardiaque