Skip to content

Commit

Permalink
remove debridement from preinit
Browse files Browse the repository at this point in the history
  • Loading branch information
MissHeda committed Oct 20, 2023
1 parent 0c8b900 commit 8b89a2f
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions addons/surgery/XEH_preInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -165,16 +165,6 @@ PREP_RECOMPILE_END;
true
] call CBA_Settings_fnc_init;

// Sets time to debride a patient
[
QGVAR(woundDebrideTime),
"SLIDER",
LLSTRING(SETTING_DebrideTime),
[CBA_SETTINGS_CAT, LSTRING(SubCategory_SurgicalActions)],
[0.1, 60, 5, 1],
true
] call CBA_Settings_fnc_init;

// Sets time to apply NPWT dressing
[
QGVAR(npwtTime),
Expand All @@ -185,26 +175,5 @@ PREP_RECOMPILE_END;
true
] call CBA_Settings_fnc_init;

// Sets med level required to do debridement actions
[
QGVAR(debridementAction_MedLevel),
"LIST",
LLSTRING(SETTING_DebridementAction_MedLevel),
[CBA_SETTINGS_CAT, LSTRING(SubCategory_SurgicalActions)],
[[0, 1, 2], ["STR_ACE_Medical_Treatment_Anyone", "STR_ACE_Medical_Treatment_Medics", "STR_ACE_Medical_Treatment_Doctors"], 2],
true
] call CBA_Settings_fnc_init;

// Sets allowed location for debridement actions
[
QGVAR(debridementAction_Location),
"LIST",
LLSTRING(SETTING_DebridementAction_Location),
[CBA_SETTINGS_CAT, LSTRING(SubCategory_SurgicalActions)],
[[0,1,2,3],["STR_ACE_Common_Anywhere", "STR_ACE_Common_Vehicle", "STR_ACE_Medical_Treatment_MedicalFacilities", "STR_ACE_Medical_Treatment_VehiclesAndFacilities"],3],
true
] call CBA_Settings_fnc_init;



ADDON = true;

0 comments on commit 8b89a2f

Please sign in to comment.