mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Replace vanilla items with ours.
This commit is contained in:
parent
8fac4b5798
commit
f6f910fb8a
@ -42,3 +42,11 @@ class Extended_Local_EventHandlers {
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class Extended_Take_EventHandlers {
|
||||
class CAManBase {
|
||||
class ADDON {
|
||||
take = QUOTE(call FUNC(itemCheck));
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -46,6 +46,7 @@ PREP(init);
|
||||
PREP(isInMedicalFacility);
|
||||
PREP(isMedic);
|
||||
PREP(isMedicalVehicle);
|
||||
PREP(itemCheck);
|
||||
PREP(onMedicationUsage);
|
||||
PREP(onWoundUpdateRequest);
|
||||
PREP(onPropagateWound);
|
||||
|
@ -74,3 +74,8 @@ _logs = _unit getvariable [QGVAR(allLogs), []];
|
||||
_unit setvariable [_x, nil, true];
|
||||
} foreach _logs;
|
||||
_unit setvariable [QGVAR(allLogs), [], true];
|
||||
|
||||
// items
|
||||
[{
|
||||
_this call FUNC(itemCheck);
|
||||
}, [_unit], 0.5, 0.1] call EFUNC(common,waitAndExecute);
|
||||
|
Loading…
Reference in New Issue
Block a user