mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +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.
40 lines
709 B
C++
40 lines
709 B
C++
class ItemFishingPole : ItemCore
|
|
{
|
|
scope = public;
|
|
|
|
model = "\z\addons\dayz_communityassets\models\fishing_rod_loot_item.p3d";
|
|
picture = "\z\addons\dayz_communityassets\pictures\equip_fishingpole_CA.paa";
|
|
displayName = $STR_ITEM_NAME_FISHINGPOLE;
|
|
descriptionShort = $STR_ITEM_DESC_FISHINGPOLE;
|
|
|
|
class ItemActions
|
|
{
|
|
class Toolbelt
|
|
{
|
|
text = $STR_ACTIONS_RFROMTB;
|
|
script = "spawn player_addToolbelt;";
|
|
use[] =
|
|
{
|
|
"ItemFishingPole"
|
|
};
|
|
output[] =
|
|
{
|
|
"MeleeFishingPole"
|
|
};
|
|
};
|
|
|
|
class ToBack
|
|
{
|
|
text = $STR_ACTIONS_2BACK;
|
|
script = "spawn player_addtoBack;";
|
|
use[] =
|
|
{
|
|
"ItemFishingPole"
|
|
};
|
|
output[] =
|
|
{
|
|
"MeleeFishingPole"
|
|
};
|
|
};
|
|
};
|
|
}; |