ACE3 icon indicating copy to clipboard operation
ACE3 copied to clipboard

Medical Treatment - Enhanced Setting: Add option to allow Self-Stitch/PAK/IV only for Doctors

Open OverlordZorn opened this issue 10 months ago • 3 comments

When merged this pull request will:

fn_canTreat.sqf

  • Enhanced handling of the allowSelfTreatment property:
    • New Case: 2
      • Requires Medic to be a Doctor to perform Self Treatment

initSettings.inc.sqf

  • Added selectable Option, limiting selfstitching to only doctors.
    • Updated QGVAR(allowSelfStitch) Setting
    • Updated QGVAR(allowSelfPAK) Setting
    • Updated QGVAR(allowSelfIV) Setting

Notes

  • [x] I dont know if there's a better way to handle the check in fn_canTreat.sqf. Open to suggestions.
  • [x] For the moment, i only used existing Stringtable entries. The setting: Allow Self-Stitching currently says No, Yes, Doctors.
    • Can upgrade to No, Yes, Doctors Only if needed but would require new stringtable entry.

OverlordZorn avatar Jun 16 '25 08:06 OverlordZorn

Edit: rephrase

imho this setting should in the future also apply to the other "selfX" Treatment Settings.

Andx667 avatar Jun 16 '25 12:06 Andx667

imho this should be extendet to selfIV, selfPAK in addition to selfStitch. Use case would to be to have someone to be able to heal himself fully (unless he is uncon ofc). Also makes little sense to me to have the setting for stitch, but not for iv and pak since they are so similiar otherwise.

or reject.

Just add the features, it ain't exactly hard to add them, and leave the decision to use them to the Players.

rautamiekka avatar Jun 16 '25 13:06 rautamiekka

Added new setting entries also to SelfPAK and SelfIV

OverlordZorn avatar Jun 17 '25 13:06 OverlordZorn