mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
CFG WEAPONS DONE
This commit is contained in:
50
SQF/dayz_code/Configs/CfgWeapons/Tools/Crowbar.hpp
Normal file
50
SQF/dayz_code/Configs/CfgWeapons/Tools/Crowbar.hpp
Normal file
@@ -0,0 +1,50 @@
|
||||
class ItemCrowbar : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\crowbar.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_crowbar_CA.paa";
|
||||
displayName = $STR_EQUIP_NAME_CROWBAR;
|
||||
descriptionShort = $STR_EQUIP_DESC_CROWBAR;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Toolbelt
|
||||
{
|
||||
text = $STR_ACTIONS_RFROMTB;
|
||||
script = "spawn player_addToolbelt;";
|
||||
use[] =
|
||||
{
|
||||
"ItemCrowbar"
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
"MeleeCrowbar"
|
||||
};
|
||||
};
|
||||
|
||||
class ToBack
|
||||
{
|
||||
text = $STR_ACTIONS_2BACK;
|
||||
script = "spawn player_addtoBack;";
|
||||
use[] =
|
||||
{
|
||||
"ItemCrowbar"
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
"MeleeCrowbar"
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemCrowbarBent : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\crowbar.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_crowbar_CA.paa";
|
||||
displayName = $STR_EQUIP_NAME_CROWBARBENT;
|
||||
descriptionShort = $STR_EQUIP_DESC_CROWBARBENT;
|
||||
};
|
||||
Reference in New Issue
Block a user