Use 1.8.7 fishing

The fishing models, pictures, etc. in 1.8.7 are identical to the ones in
dayz_epoch, so we should use them instead of having duplicate classes.
This commit is contained in:
ebaydayz
2016-03-10 22:30:19 -05:00
parent 6a2b135ac9
commit 09b656abc3
23 changed files with 336 additions and 1087 deletions

View File

@@ -1,44 +1,27 @@
class MeleeFishingPole: MeleeWeapon
class MeleeFishingPole : MeleeWeapon
{
scope = public;
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=$STR_EQUIP_FISHPOLE;
magazines[]=
{
"Fishing_Swing"
};
handAnim[]=
{
"OFP2_ManSkeleton",
"\dayz_weapons\anim\melee_hatchet_holding.rtm"
};
model = "\z\addons\dayz_communityassets\models\fishing_rod_weaponized.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_fishingpole_CA.paa";
displayName = $STR_ITEM_NAME_FISHINGPOLE;
descriptionShort = $STR_ITEM_DESC_FISHINGPOLE;
magazines[] = {"Fishing_Swing"};
class ItemActions
{
class Use
{
text=$STR_EPOCH_PLAYER_297;
script="spawn player_goFishing;";
};
class Toolbelt
{
text=$STR_EPOCH_PLAYER_296;
script="spawn player_addToolbelt;";
use[]=
{
"MeleeFishingPole"
};
output[]=
{
"ItemFishingPole"
};
text = $STR_ACTIONS_2TB;
script = "spawn player_addToolbelt";
use[] = {"MeleeFishingPole"};
output[] = {"ItemFishingPole"};
};
};
class Library
{
libTextDesc="";
libTextDesc = $STR_ITEM_DESC_FISHINGPOLE;
};
descriptionShort=$STR_EQUIP_FISHPOLE_DESC;
};
};