ACE3 icon indicating copy to clipboard operation
ACE3 copied to clipboard

GM DLC issue.

Open AxeriusNetwork opened this issue 7 years ago • 0 comments

https://github.com/acemod/ACE3/blob/7d9a4f47440bf42a6ec54801b96d43b8883fe77e/addons/medical/functions/fnc_itemCheck.sqf#L37

while {({_x == "gm_ge_army_burnBandage"} count items _unit) > 0} do {
    _unit removeItem "gm_ge_army_burnBandage";
    if (GVAR(convertItems) == 0) then {
        if (GVAR(level) >= 2) then {
            _unit addItem "ACE_fieldDressing";
            _unit addItem "ACE_packingBandage";
            _unit addItem "ACE_morphine";
            _unit addItem "ACE_tourniquet";
        } else {
            _unit addItem "ACE_fieldDressing";
            _unit addItem "ACE_fieldDressing";
            _unit addItem "ACE_morphine";
        };
    };
};
while {({_x == "gm_ge_army_gauzeBandage"} count items _unit) > 0} do {
    _unit removeItem "gm_ge_army_gauzeBandage";
    if (GVAR(convertItems) == 0) then {
        if (GVAR(level) >= 2) then {
            _unit addItem "ACE_fieldDressing";
            _unit addItem "ACE_packingBandage";
            _unit addItem "ACE_morphine";
            _unit addItem "ACE_tourniquet";
        } else {
            _unit addItem "ACE_fieldDressing";
            _unit addItem "ACE_fieldDressing";
            _unit addItem "ACE_morphine";
        };
    };
};

AxeriusNetwork avatar Apr 30 '19 13:04 AxeriusNetwork