mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 13:26:39 +03:00
CFG WEAPONS DONE
This commit is contained in:
28
SQF/dayz_code/Configs/CfgWeapons/Tools/Machete.hpp
Normal file
28
SQF/dayz_code/Configs/CfgWeapons/Tools/Machete.hpp
Normal file
@@ -0,0 +1,28 @@
|
||||
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"};
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user