Files
DayZ-Epoch/SQF/dayz_code/Configs/CfgWeapons/Tools/Machete.hpp
2016-03-05 20:36:07 -05:00

28 lines
617 B
C++

class ItemMachete : ItemCore
{
scope = public;
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"};
};
};
};