mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
42 lines
747 B
C++
42 lines
747 B
C++
class MeleeCrowbar: MeleeWeapon
|
|
{
|
|
scope=2;
|
|
melee= "true";
|
|
autoreload=1;
|
|
magazineReloadTime=0;
|
|
model="\dayz_weapons\models\crowbar_weaponized";
|
|
picture="\dayz_weapons\textures\equip_crowbar_CA.paa";
|
|
displayName=$STR_EQUIP_CROWBAR;
|
|
droppeditem= "ItemCrowbar";
|
|
magazines[]=
|
|
{
|
|
"Crowbar_Swing"
|
|
};
|
|
handAnim[]=
|
|
{
|
|
"OFP2_ManSkeleton",
|
|
"\dayz_weapons\anim\melee_hatchet_holding.rtm"
|
|
};
|
|
class ItemActions
|
|
{
|
|
class Toolbelt
|
|
{
|
|
text=$STR_EPOCH_PLAYER_296;
|
|
script="spawn player_addToolbelt;";
|
|
use[]=
|
|
{
|
|
"MeleeCrowbar"
|
|
};
|
|
output[]=
|
|
{
|
|
"ItemCrowbar"
|
|
};
|
|
};
|
|
};
|
|
class Library
|
|
{
|
|
libTextDesc=$STR_EQUIP_CROWBAR_DESC;
|
|
};
|
|
descriptionShort=$STR_EQUIP_CROWBAR_DESC;
|
|
};
|