ACE3/addons/medical_treatment/CfgReplacementItems.hpp
BaerMitUmlaut bb0461be16 Fast medical item replacement (#7224)
* Add item replacement framework

* Correctance of English

Co-Authored-By: Dedmen Miller <dedmen@users.noreply.github.com>

* Remove unecessary code

* Use new item replacement framework for medical items

* minor fixes, support GVAR(convertItems) setting

* use forEach, convert atropine to epi

* replace with adenosine
2019-10-11 15:00:25 -05:00

24 lines
733 B
C++

// This config accepts both item type numbers and item class names
// Item type numbers need the prefix ItemType_, so for example ItemType_401
// Class names need no special prefix
class EGVAR(medical,replacementItems) {
DOUBLES(ItemType,TYPE_FIRST_AID_KIT)[] = {
{"ACE_fieldDressing", 1},
{"ACE_packingBandage", 1},
{"ACE_morphine", 1},
{"ACE_tourniquet", 1}
};
DOUBLES(ItemType,TYPE_MEDIKIT)[] = {
{"ACE_fieldDressing", 1},
{"ACE_packingBandage", 2},
{"ACE_epinephrine", 1},
{"ACE_morphine", 1},
{"ACE_salineIV_250", 1},
{"ACE_tourniquet", 1},
{"ACE_splint", 2}
};
ACE_atropine[] = {
{"ACE_adenosine", 1}
};
};