mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 04:23:13 +03:00
44 lines
818 B
C++
44 lines
818 B
C++
class MeleeFishingPole: MeleeWeapon
|
|
{
|
|
scope=2;
|
|
autoreload=1;
|
|
magazineReloadTime=0;
|
|
model="\z\addons\dayz_epoch\models\fishing_rod_weaponized.p3d";
|
|
picture="\z\addons\dayz_epoch\pictures\equip_fishingpole_CA.paa";
|
|
displayName="Fishing Pole";
|
|
magazines[]=
|
|
{
|
|
"Fishing_Swing"
|
|
};
|
|
handAnim[]=
|
|
{
|
|
"OFP2_ManSkeleton",
|
|
"\dayz_weapons\anim\melee_hatchet_holding.rtm"
|
|
};
|
|
class ItemActions
|
|
{
|
|
class Use
|
|
{
|
|
text="Cast Fishing Pole";
|
|
script="spawn player_goFishing;";
|
|
};
|
|
class Toolbelt
|
|
{
|
|
text="Add to Toolbelt";
|
|
script="spawn player_addToolbelt;";
|
|
use[]=
|
|
{
|
|
"MeleeFishingPole"
|
|
};
|
|
output[]=
|
|
{
|
|
"ItemFishingPole"
|
|
};
|
|
};
|
|
};
|
|
class Library
|
|
{
|
|
libTextDesc="";
|
|
};
|
|
descriptionShort="Fishing Pole: This carbon fiber rod may be old but, she still works like a charm.";
|
|
};
|