Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Medical AI - Add setting to require items for treatment #9362

Merged
merged 5 commits into from
Sep 6, 2023

Conversation

PabstMirror
Copy link
Contributor

No description provided.

@PabstMirror PabstMirror marked this pull request as ready for review September 4, 2023 23:01
@PabstMirror PabstMirror added this to the Ongoing milestone Sep 4, 2023
@PabstMirror PabstMirror added the kind/enhancement Release Notes: **IMPROVED:** label Sep 4, 2023
@PabstMirror
Copy link
Contributor Author

could do a one-time call to _healer call ace_common_fnc_replaceRegisteredItems
but I don't think it's needed,
this setting is for people who are probably going to be setting custom AI loadouts

@LinkIsGrim LinkIsGrim modified the milestones: Ongoing, 3.16.0 Sep 5, 2023
PabstMirror and others added 2 commits September 5, 2023 12:49
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
@LinkIsGrim LinkIsGrim merged commit 25b8fd6 into master Sep 6, 2023
5 checks passed
@jonpas jonpas deleted the aiTreatmentItems branch September 6, 2023 16:42
@acknowledge14
Copy link

HI, I wanna ask, if this change applied, will ace_medical_treatment_convertitems also happend on AI soldiers?
eg. vanilla FAK converts to ACE bandages and morphine

@LinkIsGrim
Copy link
Contributor

Not on AI, no.

@PabstMirror
Copy link
Contributor Author

["CAManBase", "init", {
    params ["_unit"];
    if (local _unit) then {
        [_unit] call ace_common_fnc_replaceRegisteredItems
    };
}] call CBA_fnc_addClassEventHandler;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Release Notes: **IMPROVED:**
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants