mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
- Painkillers are in different pill counts available now, same as antibiotics - the strings of painkillers and antibiotics have the pill count displayed in the name
120 lines
2.3 KiB
C++
120 lines
2.3 KiB
C++
#include "BloodBags.hpp"
|
|
#include "Antibiotic.hpp"
|
|
#include "Painkiller.hpp"
|
|
|
|
class ItemAntibacterialWipe : CA_Magazine
|
|
{
|
|
scope = public;
|
|
count = 1;
|
|
type = WeaponSlotHandGunItem;
|
|
|
|
model = "\z\addons\dayz_communityassets\models\antiseptic.p3d";
|
|
picture = "\z\addons\dayz_communityassets\pictures\equip_antiseptic_ca.paa";
|
|
displayName = $STR_ITEM_NAME_WIPES;
|
|
descriptionShort = $STR_ITEM_DESC_WIPES;
|
|
|
|
class ItemActions
|
|
{
|
|
class Use
|
|
{
|
|
text = $STR_ACTIONS_MEDICAL_WIPE;
|
|
script = "spawn player_useMeds;";
|
|
};
|
|
};
|
|
};
|
|
|
|
class ItemBandage : CA_Magazine
|
|
{
|
|
scope = public;
|
|
count = 1;
|
|
type = WeaponSlotHandGunItem;
|
|
|
|
model = "\dayz_equip\models\fad.p3d";
|
|
picture = "\dayz_equip\textures\equip_fad_ca.paa";
|
|
displayName = $STR_EQUIP_NAME_7;
|
|
descriptionShort = $STR_EQUIP_DESC_7;
|
|
|
|
class ItemActions
|
|
{
|
|
class Use
|
|
{
|
|
text = $STR_BANDAGE_SELF;
|
|
script = "spawn player_useMeds;";
|
|
};
|
|
};
|
|
};
|
|
|
|
class ItemSepsisBandage : CA_Magazine
|
|
{
|
|
scope = public;
|
|
count = 1;
|
|
type = WeaponSlotHandGunItem;
|
|
|
|
model = "\dayz_equip\models\fad.p3d";
|
|
picture = "\dayz_equip\textures\equip_fad_ca.paa";
|
|
displayName = $STR_EQUIP_NAME_SEPSISBANDAGE;
|
|
descriptionShort = $STR_EQUIP_DESC_SEPSISBANDAGE;
|
|
|
|
class ItemActions
|
|
{
|
|
class Use
|
|
{
|
|
text = $STR_BANDAGE_SELF;
|
|
script = "spawn player_useMeds;";
|
|
};
|
|
};
|
|
};
|
|
|
|
class ItemEpinephrine : CA_Magazine
|
|
{
|
|
scope = public;
|
|
count = 1;
|
|
type = WeaponSlotItem;
|
|
|
|
model = "\dayz_equip\models\epi.p3d";
|
|
picture = "\dayz_equip\textures\equip_epi_ca.paa";
|
|
displayName = $STR_EQUIP_NAME_14;
|
|
descriptionShort = $STR_EQUIP_DESC_14;
|
|
};
|
|
|
|
class ItemMorphine : CA_Magazine
|
|
{
|
|
scope = public;
|
|
count = 1;
|
|
type = WeaponSlotItem;
|
|
|
|
model = "\dayz_equip\models\morphine.p3d";
|
|
picture = "\dayz_equip\textures\equip_morphine_ca.paa";
|
|
displayName = $STR_EQUIP_NAME_15;
|
|
descriptionShort = $STR_EQUIP_DESC_15;
|
|
|
|
class ItemActions
|
|
{
|
|
class Use
|
|
{
|
|
text = $STR_TAKE_MORPHINE;
|
|
script = "spawn player_useMeds;";
|
|
};
|
|
};
|
|
};
|
|
|
|
class ItemHeatPack : CA_Magazine
|
|
{
|
|
scope = public;
|
|
count = 1;
|
|
type = WeaponSlotItem;
|
|
|
|
model = "\dayz_equip\models\Heat_pack.p3d";
|
|
picture = "\dayz_equip\textures\equip_heat_pack_ca.paa";
|
|
displayName = $STR_EQUIP_NAME_42;
|
|
descriptionShort = $STR_EQUIP_DESC_42;
|
|
|
|
class ItemActions
|
|
{
|
|
class Use
|
|
{
|
|
text = $STR_ACTIONS_HEATPACK;
|
|
script = "spawn player_useMeds;";
|
|
};
|
|
};
|
|
}; |