mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-19 10:02:02 +03:00
57 lines
985 B
C++
57 lines
985 B
C++
class MeleeHatchet: MeleeWeapon
|
|
{
|
|
scope=2;
|
|
melee= "true";
|
|
autoreload=1;
|
|
magazineReloadTime=0;
|
|
model="\dayz_weapons\models\Hatchet_weaponized";
|
|
picture="\dayz_equip\textures\equip_hatchet_CA.paa";
|
|
displayName=$STR_EQUIP_NAME_HATCHET;
|
|
droppeditem= "ItemHatchet";
|
|
magazines[]=
|
|
{
|
|
"Hatchet_Swing"
|
|
};
|
|
handAnim[]=
|
|
{
|
|
"OFP2_ManSkeleton",
|
|
"\dayz_weapons\anim\melee_hatchet_holding.rtm"
|
|
};
|
|
class ItemActions
|
|
{
|
|
class Use
|
|
{
|
|
text="$STR_ACTIONS_CHOPWOOD";
|
|
script="spawn player_chopWood;";
|
|
};
|
|
class Toolbelt
|
|
{
|
|
text=$STR_ACTIONS_2TB;
|
|
script="spawn player_addToolbelt;";
|
|
use[]=
|
|
{
|
|
"MeleeHatchet"
|
|
};
|
|
output[]=
|
|
{
|
|
"ItemHatchet"
|
|
};
|
|
};
|
|
|
|
class Drop
|
|
{
|
|
text=$STR_ACTIONS_DROP;
|
|
script="spawn player_dropWeapon;";
|
|
use[]=
|
|
{
|
|
"Hatchet_Swing"
|
|
};
|
|
};
|
|
|
|
};
|
|
class Library
|
|
{
|
|
libTextDesc=$STR_EQUIP_DESC_HATCHET;
|
|
};
|
|
descriptionShort=$STR_EQUIP_DESC_HATCHET;
|
|
}; |