Files
DayZ-Epoch/SQF/dayz_code/Configs/CfgWeapons/Tools/Hatchet.hpp
2020-05-30 14:17:20 +02:00

46 lines
982 B
C++

class ItemHatchet : ItemCore
{
scope = 2;
model = "\dayz_equip\models\hatchet.p3d";
picture = "\dayz_equip\textures\equip_hatchet_CA.paa";
displayName = $STR_EQUIP_NAME_HATCHET;
descriptionShort = $STR_EQUIP_DESC_HATCHET;
class ItemActions
{
class ToBack
{
text = $STR_ACTIONS_2BACK;
script = "spawn player_addtoBack;";
use[] = {"ItemHatchet"};
output[] = {"MeleeHatchet"};
};
class Toolbelt
{
text = $STR_ACTIONS_RFROMTB;
script = "spawn player_addToolbelt;";
use[] = {"ItemHatchet"};
output[] = {"MeleeHatchet"};
};
};
};
class ItemHatchetBroken : ItemCore
{
scope = 2;
picture = "\dayz_epoch_c\icons\tools\ItemHatchetBroken.paa";
model = "\dayz_equip\models\hatchet.p3d";
displayName = $STR_name_ItemHatchetBroken;
descriptionShort = $STR_desc_ItemHatchetBroken;
fixedTool = "ItemHatchet";
class ItemActions
{
class Repair
{
text = $STR_ACTIONS_FIX_HATCHET;
script="spawn player_fixHatchet;";
};
};
};