diff --git a/addons/medical_treatment/ACE_Medical_Treatment_Actions.hpp b/addons/medical_treatment/ACE_Medical_Treatment_Actions.hpp index d03a63d0b6b..582e3b6db53 100644 --- a/addons/medical_treatment/ACE_Medical_Treatment_Actions.hpp +++ b/addons/medical_treatment/ACE_Medical_Treatment_Actions.hpp @@ -100,8 +100,10 @@ class GVAR(actions) { displayNameProgress = CSTRING(Applying_Splint); category = "bandage"; icon = QPATHTOEF(medical_gui,ui\splint.paa); + medicRequired = QGVAR(medicSplint); allowedSelections[] = {"LeftArm", "RightArm", "LeftLeg", "RightLeg"}; items[] = {"ACE_splint"}; + treatmentLocations = QGVAR(locationSplint); treatmentTime = QGVAR(treatmentTimeSplint); callbackSuccess = QFUNC(splint); condition = QFUNC(canSplint); diff --git a/addons/medical_treatment/initSettings.inc.sqf b/addons/medical_treatment/initSettings.inc.sqf index 621321c54f0..ff1212de531 100644 --- a/addons/medical_treatment/initSettings.inc.sqf +++ b/addons/medical_treatment/initSettings.inc.sqf @@ -172,6 +172,24 @@ true ] call CBA_fnc_addSetting; +[ + QGVAR(medicSplint), + "LIST", + [LSTRING(MedicSplint_DisplayName), LSTRING(MedicSplint_Description)], + LSTRING(Category), + [[0, 1, 2], [LSTRING(Anyone), LSTRING(Medics), LSTRING(Doctors)], 0], + true +] call CBA_fnc_addSetting; + + +[ + QGVAR(locationSplint), + "LIST", + [LSTRING(LocationSplint_DisplayName), LSTRING(LocationSplint_Description)], + [[0, 1, 2, 3, 4], [ELSTRING(common,Anywhere), ELSTRING(common,Vehicle), LSTRING(MedicalFacilities), LSTRING(VehiclesAndFacilities), ELSTRING(common,Disabled)], 0], + true +] call CBA_fnc_addSetting; + [ QGVAR(medicAdenosine), "LIST", diff --git a/addons/medical_treatment/stringtable.xml b/addons/medical_treatment/stringtable.xml index ef466ea0872..2332df22ad2 100644 --- a/addons/medical_treatment/stringtable.xml +++ b/addons/medical_treatment/stringtable.xml @@ -563,6 +563,18 @@ Controla donde puede sr usada la Epinefrina. 에피네프린을 사용할 수 있는 장소를 정합니다. + + Allow Splint + + + Training level required to use Splint. + + + Locations Splint + + + Controls where Splints can be used. + Allow Morphine