Skip to content

Commit

Permalink
Pharma - Remove neck tourniquet feature (KAT-Advanced-Medical#567)
Browse files Browse the repository at this point in the history
**When merged this pull request will:**
- time to delete old april fools feature

### IMPORTANT

- [Development Guidelines](https://ace3.acemod.org/wiki/development/)
are read, understood and applied.
- Title of this PR uses our standard template `Component -
Add|Fix|Improve|Change|Make|Remove {changes}`.
  • Loading branch information
MiszczuZPolski authored Jul 31, 2024
1 parent 759a84b commit 97846ee
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 107 deletions.
11 changes: 0 additions & 11 deletions addons/misc/ACE_Medical_Treatment_Actions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,6 @@ class ACE_Medical_Treatment_Actions {
class RemoveTourniquet: BasicBandage {
treatmentTime = QGVAR(treatmentTimeDetachTourniquet);
};
class ApplyNeckTourniquet: BasicBandage {
displayName = ACECSTRING(medical_treatment,Apply_Tourniquet);
displayNameProgress = ACECSTRING(medical_treatment,Applying_Tourniquet);
icon = QPATHTOF(ui\tourniquet.paa);
allowedSelections[] = {"Head"};
items[] = {"ACE_tourniquet"};
treatmentTime = QACEGVAR(medical_treatment,treatmentTimeTourniquet);
condition = QUOTE(!([ARR_2(_patient,_bodyPart)] call ACEFUNC(medical_treatment,hasTourniquetAppliedTo)) && GVAR(neckTourniquet));
callbackSuccess = QFUNC(headTourniquet);
litter[] = {};
};
class FullBodySurgicalKit: SurgicalKit {
displayName = CSTRING(Use_SurgicalKitFullBody);
treatmentTime = QFUNC(getStitchTimeFullBody);
Expand Down
2 changes: 0 additions & 2 deletions addons/misc/XEH_PREP.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ PREP(handleRespawn);
PREP(handleTourniquetEffects);
PREP(handleUnconscious);
PREP(hasStableVitals);
PREP(headTourniquet);
PREP(headTourniquetLocal);
PREP(heliAddActionDeploy);
PREP(heliStretcherAttach);
PREP(incompatibilityWarning);
Expand Down
2 changes: 0 additions & 2 deletions addons/misc/XEH_postInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ if (GVAR(incompatibilityWarning)) then {
call FUNC(incompatibilityWarning);
};

[QGVAR(headTourniquetLocal), LINKFUNC(headTourniquetLocal)] call CBA_fnc_addEventHandler;

["kat_Armband_Red_Cross_Item", "kat_Armband_Red_Cross_Goggles"] call ACEFUNC(common,registerItemReplacement);
["kat_Armband_Medic_Item", "kat_Armband_Medic_Goggles"] call ACEFUNC(common,registerItemReplacement);
["kat_Armband_Doctor_Item", "kat_Armband_Doctor_Goggles"] call ACEFUNC(common,registerItemReplacement);
Expand Down
9 changes: 0 additions & 9 deletions addons/misc/XEH_preInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,6 @@ PREP_RECOMPILE_END;
true
] call CBA_Settings_fnc_init;

[
QGVAR(neckTourniquet),
"CHECKBOX",
[LLSTRING(neckTourniquetDescription)],
[CBA_SETTINGS_CAT, LSTRING(SubCategory_Tourniquet)],
[false],
true
] call CBA_Settings_fnc_init;

[
QGVAR(tourniquetEffects_Enable),
"CHECKBOX",
Expand Down
28 changes: 0 additions & 28 deletions addons/misc/functions/fnc_headTourniquet.sqf

This file was deleted.

41 changes: 0 additions & 41 deletions addons/misc/functions/fnc_headTourniquetLocal.sqf

This file was deleted.

14 changes: 0 additions & 14 deletions addons/misc/stringtable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -472,20 +472,6 @@
<Portuguese>Maca (Embalada)</Portuguese>
<Finnish>Paarit (pakattu)</Finnish>
</Key>
<Key ID="STR_KAT_Misc_NeckTourniquetDescription">
<English>Neck Tourniquet</English>
<Spanish>Torniquete de cuello</Spanish>
<Polish>Staza na szyi</Polish>
<French>Garrot de cou</French>
<Korean>목 지혈대</Korean>
<Japanese>首に止血帯を使う</Japanese>
<German>Nacken Tourniquet</German>
<Czech>Škrtidlo na krk</Czech>
<Italian>Laccio emostatico collo</Italian>
<Portuguese>Torniquete no pescoço</Portuguese>
<Finnish>Niskakiristys</Finnish>
<Russian>Шейный жгут</Russian>
</Key>
<Key ID="STR_KAT_Misc_SETTING_allowSharedVehicleEquipment">
<English>Allow Shared Vehicle Equipment</English>
<German>Erlaube geteilte Fahrzeugausrüstung</German>
Expand Down

0 comments on commit 97846ee

Please sign in to comment.