mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
CFG WEAPONS DONE
This commit is contained in:
106
SQF/dayz_code/Configs/CfgMagazines/Medical/Antibiotic.hpp
Normal file
106
SQF/dayz_code/Configs/CfgMagazines/Medical/Antibiotic.hpp
Normal file
@@ -0,0 +1,106 @@
|
||||
class ItemAntibiotic_base : CA_Magazine
|
||||
{
|
||||
scope = private;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\dayz_equip\models\med_antibiotic_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_antibiotics_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_17;
|
||||
};
|
||||
|
||||
class ItemAntibiotic : ItemAntibiotic_base
|
||||
{
|
||||
scope = public;
|
||||
descriptionShort = $STR_EQUIP_DESC_17;
|
||||
|
||||
class medical
|
||||
{
|
||||
chance = 0.50;
|
||||
amount = -1;
|
||||
qtyRemaining = "ItemAntibiotic6";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Use
|
||||
{
|
||||
text = $STR_TAKE_ANTIBIOTIC;
|
||||
script = "spawn player_useMeds;";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
//TODO: move descriptions to stringtable
|
||||
|
||||
class ItemAntibiotic6 : ItemAntibiotic
|
||||
{
|
||||
descriptionShort = "Azithromycin is a broad spectrum antibiotic used to treat or prevent certain bacterial infections. 6 Remaining";
|
||||
|
||||
class medical
|
||||
{
|
||||
amount = 6;
|
||||
qtyRemaining = "ItemAntibiotic5";
|
||||
};
|
||||
};
|
||||
|
||||
class ItemAntibiotic5 : ItemAntibiotic
|
||||
{
|
||||
descriptionShort = "Azithromycin is a broad spectrum antibiotic used to treat or prevent certain bacterial infections. 5 Remaining";
|
||||
|
||||
class medical
|
||||
{
|
||||
amount = 5;
|
||||
qtyRemaining = "ItemAntibiotic4";
|
||||
};
|
||||
};
|
||||
|
||||
class ItemAntibiotic4 : ItemAntibiotic
|
||||
{
|
||||
descriptionShort = "Azithromycin is a broad spectrum antibiotic used to treat or prevent certain bacterial infections. 4 Remaining";
|
||||
|
||||
class medical
|
||||
{
|
||||
amount = 4;
|
||||
qtyRemaining = "ItemAntibiotic3";
|
||||
};
|
||||
};
|
||||
|
||||
class ItemAntibiotic3 : ItemAntibiotic
|
||||
{
|
||||
descriptionShort = "Azithromycin is a broad spectrum antibiotic used to treat or prevent certain bacterial infections. 3 Remaining";
|
||||
|
||||
class medical
|
||||
{
|
||||
amount = 3;
|
||||
qtyRemaining = "ItemAntibiotic2";
|
||||
};
|
||||
};
|
||||
|
||||
class ItemAntibiotic2 : ItemAntibiotic
|
||||
{
|
||||
descriptionShort = "Azithromycin is a broad spectrum antibiotic used to treat or prevent certain bacterial infections. 2 Remaining";
|
||||
|
||||
class medical
|
||||
{
|
||||
amount = 2;
|
||||
qtyRemaining = "ItemAntibiotic1";
|
||||
};
|
||||
};
|
||||
|
||||
class ItemAntibiotic1 : ItemAntibiotic
|
||||
{
|
||||
descriptionShort = "Azithromycin is a broad spectrum antibiotic used to treat or prevent certain bacterial infections. 1 Remaining";
|
||||
|
||||
class medical
|
||||
{
|
||||
amount = 1;
|
||||
qtyRemaining = "ItemAntibioticEmpty";
|
||||
};
|
||||
};
|
||||
|
||||
class ItemAntibioticEmpty : ItemAntibiotic_base
|
||||
{
|
||||
scope = public;
|
||||
descriptionShort = "EmptyBox of Azithromycin.";
|
||||
};
|
||||
Reference in New Issue
Block a user