mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
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:
@@ -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;
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user