Files
DayZ-Epoch/SQF/dayz_code/Configs/CfgWeapons/Tools/Machete.hpp
2016-02-21 13:14:03 -05:00

28 lines
612 B
C++

class ItemMachete : ItemCore
{
scope = 2;
model = "\z\addons\dayz_communityassets\models\machete.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_machete_CA.paa";
displayName = $STR_EQUIP_NAME_MACHETE;
descriptionShort = $STR_EQUIP_DESC_MACHETE;
class ItemActions
{
class Toolbelt
{
text = $STR_ACTIONS_RFROMTB;
script = "spawn player_addToolbelt;";
use[] = {"ItemMachete"};
output[] = {"MeleeMachete"};
};
class ToBack
{
text = $STR_ACTIONS_2BACK;
script = "spawn player_addtoBack;";
use[] = {"ItemMachete"};
output[] = {"MeleeMachete"};
};
};
};