ACE3/addons/medical_treatment/functions
Grim de8940af9b
Medical Treatment - Add setting to rollover bandage effectiveness (#8426)
* use leftover bandage effectiveness on other wounds in same limb

variable naming

* Comments

Co-authored-by: Kyle Mckay <5459452+kymckay@users.noreply.github.com>

* variable naming, fix part index check in findMostEffectiveWound

trace 4

* fix function header

* Account for multiple wounds in time calculation

* fix trace, remove systemChat

* update for hashmaps

* compile cache

* Update addons/medical_treatment/functions/fnc_findMostEffectiveWounds.sqf

Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>

* add bandage effectiveness setting

* stupid

* remove limit on bandageRemaining

* Update addons/medical_treatment/functions/fnc_bandageLocal.sqf

Co-authored-by: BrettMayson <brett@mayson.io>

* Update fnc_getBandageTime.sqf

* Update fnc_bandageLocal.sqf

* fix header / debug

---------

Co-authored-by: Salluci <69561145+Salluci@users.noreply.github.com>
Co-authored-by: Kyle Mckay <5459452+kymckay@users.noreply.github.com>
Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>
Co-authored-by: BrettMayson <brett@mayson.io>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-10 02:06:15 -04:00
..
fnc_addLoadPatientActions.sqf Medical Treatment - Modernize and Cleanup (#6933) 2019-06-03 10:31:46 -05:00
fnc_addToLog.sqf Medical Treatment - Modernize and Cleanup (#6933) 2019-06-03 10:31:46 -05:00
fnc_addToTriageCard.sqf Medical Treatment - Modernize and Cleanup (#6933) 2019-06-03 10:31:46 -05:00
fnc_bandage.sqf Medical Treatment - Modernize and Cleanup (#6933) 2019-06-03 10:31:46 -05:00
fnc_bandageLocal.sqf Medical Treatment - Add setting to rollover bandage effectiveness (#8426) 2023-09-10 02:06:15 -04:00
fnc_bodyCleanupLoop.sqf Medical Treatment - Fix bodyCleanupLoop typo (#7308) 2019-12-17 09:50:59 -06:00
fnc_canBandage.sqf Medical - Change medical to use hashmaps for wound storage (#8926) 2023-06-24 08:11:56 +03:00
fnc_canCPR.sqf Medical Treatment - Allow diagnosing death/CA (invalidates old setting) (#8162) 2021-09-03 14:50:54 -05:00
fnc_canPlaceInBodyBag.sqf fix my name, add it to contributers (#8295) 2021-06-27 07:01:12 +02:00
fnc_canSplint.sqf Medical Treatment - Modernize and Cleanup (#6933) 2019-06-03 10:31:46 -05:00
fnc_canStitch.sqf Medical Treatment - Change stitching action to be per-body-part (#9005) 2023-06-28 01:43:45 +03:00
fnc_canTreat_holsterCheck.sqf Medical - Option for treatment to require holstering/lowering weapon. (#7063) 2019-10-08 10:44:36 -05:00
fnc_canTreat.sqf Medical Treatment - Improve Medical Actions underwater (#9096) 2023-05-15 23:47:00 -06:00
fnc_canTreatCached.sqf Medical Treatment - Modernize and Cleanup (#6933) 2019-06-03 10:31:46 -05:00
fnc_checkBloodPressure.sqf Medical Treatment - Modernize and Cleanup (#6933) 2019-06-03 10:31:46 -05:00
fnc_checkBloodPressureLocal.sqf Medical Treatment - Modernize and Cleanup (#6933) 2019-06-03 10:31:46 -05:00
fnc_checkPulse.sqf Medical Treatment - Modernize and Cleanup (#6933) 2019-06-03 10:31:46 -05:00
fnc_checkPulseLocal.sqf Medical Treatment - Modernize and Cleanup (#6933) 2019-06-03 10:31:46 -05:00
fnc_checkResponse.sqf Medical Treatment - Allow diagnosing death/CA (invalidates old setting) (#8162) 2021-09-03 14:50:54 -05:00
fnc_cprFailure.sqf Medical - Rework CPR and Bleeding in cardiac arrest (#7060) 2019-06-27 19:01:20 -05:00
fnc_cprLocal.sqf Medical Treatment - Allow variable CPR chance based on blood volume (invalidates old setting) (#7983) 2021-07-23 15:59:32 +02:00
fnc_cprProgress.sqf Medical Treatment - Allow diagnosing death/CA (invalidates old setting) (#8162) 2021-09-03 14:50:54 -05:00
fnc_cprStart.sqf Medical - Rework CPR and Bleeding in cardiac arrest (#7060) 2019-06-27 19:01:20 -05:00
fnc_cprSuccess.sqf Medical - Rework CPR and Bleeding in cardiac arrest (#7060) 2019-06-27 19:01:20 -05:00
fnc_createLitter.sqf Medical - Change medical to use hashmaps for wound storage (#8926) 2023-06-24 08:11:56 +03:00
fnc_createLitterServer.sqf Headers - Fix function names in examples (#7663) 2020-04-25 08:41:45 +02:00
fnc_diagnose.sqf Medical Treatment - Modernize and Cleanup (#6933) 2019-06-03 10:31:46 -05:00
fnc_findMostEffectiveWounds.sqf Medical Treatment - Add setting to rollover bandage effectiveness (#8426) 2023-09-10 02:06:15 -04:00
fnc_fullHeal.sqf Medical Treatment - Modernize and Cleanup (#6933) 2019-06-03 10:31:46 -05:00
fnc_fullHealLocal.sqf Medical - Change medical to use hashmaps for wound storage (#8926) 2023-06-24 08:11:56 +03:00
fnc_getBandageTime.sqf Medical Treatment - Add setting to rollover bandage effectiveness (#8426) 2023-09-10 02:06:15 -04:00
fnc_getHealTime.sqf Medical Treatment - Modernize and Cleanup (#6933) 2019-06-03 10:31:46 -05:00
fnc_getStitchTime.sqf Medical Treatment - Change stitching action to be per-body-part (#9005) 2023-06-28 01:43:45 +03:00
fnc_getTriageStatus.sqf Medical Treatment - Modernize and Cleanup (#6933) 2019-06-03 10:31:46 -05:00
fnc_handleBandageOpening.sqf Medical - Change medical to use hashmaps for wound storage (#8926) 2023-06-24 08:11:56 +03:00
fnc_hasItem.sqf Medical - Add treating with items from vehicle inventory (#9286) 2023-09-05 11:20:56 -03:00
fnc_hasTourniquetAppliedTo.sqf Medical Treatment - Modernize and Cleanup (#6933) 2019-06-03 10:31:46 -05:00
fnc_isInMedicalFacility.sqf Misc - Fix minor macro usage (#8091) 2021-02-03 17:56:18 -06:00
fnc_isInMedicalVehicle.sqf Medical Treatment - Modernize and Cleanup (#6933) 2019-06-03 10:31:46 -05:00
fnc_isMedic.sqf Medical Treatment - Modernize and Cleanup (#6933) 2019-06-03 10:31:46 -05:00
fnc_isMedicalVehicle.sqf Various - Use configOf command for faster lookup (#8100) 2021-02-18 12:58:08 -06:00
fnc_ivBag.sqf Medical Treatment - Modernize and Cleanup (#6933) 2019-06-03 10:31:46 -05:00
fnc_ivBagLocal.sqf Fix medication and ivBagLocal typos (#7048) 2019-06-08 16:54:54 -05:00
fnc_litterCleanupLoop.sqf Medical Treatment - Modernize and Cleanup (#6933) 2019-06-03 10:31:46 -05:00
fnc_loadUnit.sqf Update fnc_loadUnit.sqf (#9300) 2023-08-01 11:35:55 -05:00
fnc_medication.sqf Fix medication and ivBagLocal typos (#7048) 2019-06-08 16:54:54 -05:00
fnc_medicationLocal.sqf Medical - epiBoostsSpontaneousWakeUp (#7076) 2019-09-28 16:11:32 -05:00
fnc_onMedicationUsage.sqf Utilize isNotEqualTo (#7929) 2021-02-27 11:05:05 -06:00
fnc_placeInBodyBag.sqf Medical - Update setDead to use setHitpointDamage instigator param (#8397) 2021-11-15 09:31:56 -06:00
fnc_removeBody.sqf Medical Treatment - Modernize and Cleanup (#6933) 2019-06-03 10:31:46 -05:00
fnc_scanMedicalItems.sqf Arsenal - Add Tools category and moveOnOverwrite parameter to FUNC(addCustomRightPanelButton) (#9247) 2023-07-21 22:39:48 +03:00
fnc_setTriageStatus.sqf Rewrite Medical GUI (#6831) 2019-03-24 18:17:48 -04:00
fnc_splint.sqf Medical Treatment - Modernize and Cleanup (#6933) 2019-06-03 10:31:46 -05:00
fnc_splintLocal.sqf Medical Treatment - Add logging for splints (#7170) 2019-09-06 21:47:20 -05:00
fnc_surgicalKitProgress.sqf Medical Treatment - Remove early exit when stitching with sutures (#9243) 2023-07-07 08:19:45 +03:00
fnc_surgicalKitStart.sqf Medical Treatment - Suture (#9020) 2023-03-06 14:17:01 -06:00
fnc_tourniquet.sqf Small med stuff (#7084) 2019-07-03 10:40:42 -05:00
fnc_tourniquetLocal.sqf Medical Treatment - Reset canTreatCached on treatment (#7253) 2019-12-12 10:25:21 -06:00
fnc_tourniquetRemove.sqf give tourniquet to patient or medic depending on setting (#9206) 2023-06-22 04:26:28 -03:00
fnc_treatment.sqf Medical Treatment - Improve Medical Actions underwater (#9096) 2023-05-15 23:47:00 -06:00
fnc_treatmentFailure.sqf Medical - Add treatment status events (#8385) 2021-09-03 14:37:48 -05:00
fnc_treatmentSuccess.sqf Medical - Add treatment status events (#8385) 2021-09-03 14:37:48 -05:00
fnc_unloadUnit.sqf Common/Medical - Change vehicle checks to objectParent (#9281) 2023-07-22 09:11:58 +03:00
fnc_useItem.sqf Medical - Add treating with items from vehicle inventory (#9286) 2023-09-05 11:20:56 -03:00
script_component.hpp Cleanup - Trim all trailing whitespace (#8651) 2021-10-30 16:42:03 -05:00