mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
There is no point in having two variables for the same purpose. It is also pointless to keep an action count tally like r_action_count was doing, since it is only ever checked for being 0 or 1. Any count higher or lower than that is irrelevant. I will make this change in vanilla too.
87 lines
1.5 KiB
C++
87 lines
1.5 KiB
C++
class HandRoadFlare : HandGrenade
|
|
{
|
|
scope = public;
|
|
|
|
picture = "\dayz_weapons\textures\equip_roadflare_ca.paa";
|
|
model = "\dayz_weapons\models\roadflare";
|
|
displayName = $STR_MAG_NAME_4;
|
|
descriptionShort = $STR_MAG_DESC_4;
|
|
|
|
ammo = "RoadFlare";
|
|
count = 10;
|
|
|
|
class ItemActions
|
|
{
|
|
class CombineMag
|
|
{
|
|
text = $STR_MAG_COMBINE;
|
|
script = "spawn player_combineMag;";
|
|
};
|
|
};
|
|
};
|
|
|
|
class HandChemBlue : HandGrenade
|
|
{
|
|
scope = public;
|
|
|
|
picture = "\dayz_weapons\textures\equip_chem_blue_ca.paa";
|
|
model = "\dayz_weapons\models\chem_gear_blue";
|
|
displayName = $STR_MAG_NAME_7;
|
|
descriptionShort = $STR_MAG_DESC_5;
|
|
|
|
ammo = "ChemBlue";
|
|
count = 10;
|
|
|
|
class ItemActions
|
|
{
|
|
class CombineMag
|
|
{
|
|
text = $STR_MAG_COMBINE;
|
|
script = "spawn player_combineMag;";
|
|
};
|
|
};
|
|
};
|
|
|
|
class HandChemGreen : HandGrenade
|
|
{
|
|
scope = public;
|
|
|
|
picture = "\dayz_weapons\textures\equip_chem_green_ca.paa";
|
|
model = "\dayz_weapons\models\chem_gear_green";
|
|
displayName = $STR_MAG_NAME_5;
|
|
descriptionShort = $STR_MAG_DESC_5;
|
|
|
|
ammo = "ChemGreen";
|
|
count = 10;
|
|
|
|
class ItemActions
|
|
{
|
|
class CombineMag
|
|
{
|
|
text = $STR_MAG_COMBINE;
|
|
script = "spawn player_combineMag;";
|
|
};
|
|
};
|
|
};
|
|
|
|
class HandChemRed : HandGrenade
|
|
{
|
|
scope = public;
|
|
|
|
picture = "\dayz_weapons\textures\equip_chem_red_ca.paa";
|
|
model = "\dayz_weapons\models\chem_gear_red";
|
|
displayName = $STR_MAG_NAME_6;
|
|
descriptionShort = $STR_MAG_DESC_5;
|
|
|
|
ammo = "ChemRed";
|
|
count = 10;
|
|
|
|
class ItemActions
|
|
{
|
|
class CombineMag
|
|
{
|
|
text = $STR_MAG_COMBINE;
|
|
script = "spawn player_combineMag;";
|
|
};
|
|
};
|
|
}; |