mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-19 01:52:00 +03:00
CFG WEAPONS DONE
This commit is contained in:
36
SQF/dayz_code/Configs/CfgWeapons/Melee/Crowbar.hpp
Normal file
36
SQF/dayz_code/Configs/CfgWeapons/Melee/Crowbar.hpp
Normal file
@@ -0,0 +1,36 @@
|
||||
class MeleeCrowbar : MeleeWeapon
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_weapons\models\crowbar_weaponized";
|
||||
picture = "\dayz_weapons\textures\equip_crowbar_CA.paa";
|
||||
displayName = $STR_EQUIP_NAME_CROWBAR;
|
||||
descriptionShort = $STR_EQUIP_DESC_CROWBAR;
|
||||
|
||||
magazines[] = {"Crowbar_Swing"};
|
||||
|
||||
droppeditem = "ItemCrowbar";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Toolbelt
|
||||
{
|
||||
text = $STR_ACTIONS_2TB;
|
||||
script = "spawn player_addToolbelt";
|
||||
use[] = {"MeleeCrowbar"};
|
||||
output[] = {"ItemCrowbar"};
|
||||
};
|
||||
|
||||
class Drop
|
||||
{
|
||||
text = $STR_ACTIONS_DROP;
|
||||
script = "spawn player_dropWeapon; r_action_count = r_action_count + 1;";
|
||||
use[] = {"Crowbar_Swing"};
|
||||
};
|
||||
};
|
||||
|
||||
class Library
|
||||
{
|
||||
libTextDesc = $STR_EQUIP_DESC_CROWBAR;
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user