Update Painkillers and Antibiotics

- 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
This commit is contained in:
A Man
2020-04-06 20:03:14 +02:00
parent 9aeceebb6f
commit b4b8860cf0
12 changed files with 456 additions and 104 deletions

View File

@@ -1,5 +1,6 @@
#include "BloodBags.hpp"
#include "Antibiotic.hpp"
#include "Painkiller.hpp"
class ItemAntibacterialWipe : CA_Magazine
{
@@ -64,27 +65,6 @@ class ItemSepsisBandage : CA_Magazine
};
};
class ItemPainkiller : CA_Magazine
{
scope = public;
count = 1;
type = WeaponSlotItem;
model = "\dayz_equip\models\med_painkiller_gear.p3d";
picture = "\dayz_equip\textures\equip_painkiller_ca.paa";
displayName = $STR_EQUIP_NAME_18;
descriptionShort = $STR_EQUIP_DESC_18;
class ItemActions
{
class Use
{
text = $STR_TAKE_PAINKILLER;
script = "spawn player_useMeds;";
};
};
};
class ItemEpinephrine : CA_Magazine
{
scope = public;