Files
DayZ-Epoch/SQF/dayz_code/Configs/CfgWeapons/Tools/FishingPole.hpp
ebaydayz 09b656abc3 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.
2016-03-10 22:30:19 -05:00

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"
};
};
};
};