mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
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.
27 lines
602 B
C++
27 lines
602 B
C++
class MeleeFishingPole : MeleeWeapon
|
|
{
|
|
scope = public;
|
|
|
|
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 Toolbelt
|
|
{
|
|
text = $STR_ACTIONS_2TB;
|
|
script = "spawn player_addToolbelt";
|
|
use[] = {"MeleeFishingPole"};
|
|
output[] = {"ItemFishingPole"};
|
|
};
|
|
};
|
|
|
|
class Library
|
|
{
|
|
libTextDesc = $STR_ITEM_DESC_FISHINGPOLE;
|
|
};
|
|
};
|