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:
30
SQF/dayz_code/Configs/CfgWeapons/Tools/Etool.hpp
Normal file
30
SQF/dayz_code/Configs/CfgWeapons/Tools/Etool.hpp
Normal file
@@ -0,0 +1,30 @@
|
||||
class ItemEtool : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
model = "\dayz_equip\models\etool.p3d";
|
||||
picture = "\dayz_equip\textures\equip_etool_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_1;
|
||||
descriptionShort = $STR_EQUIP_DESC_1;
|
||||
|
||||
stashsmall = "StashSmall";
|
||||
stashmedium = "StashMedium";
|
||||
consume = "ItemSandbag";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = "Build Sandbag Fence";
|
||||
script = "; ['ItemEtool','Build'] spawn player_build; r_action_count = r_action_count + 1;";
|
||||
require[] = {"ItemEtool"};
|
||||
consume[] = {"ItemSandbag"};
|
||||
create = "Sandbag1_DZ";
|
||||
};
|
||||
|
||||
/*class Use
|
||||
{
|
||||
text=$STR_CREATE_STASH;
|
||||
script="spawn player_createstash; r_action_count = r_action_count + 1;";
|
||||
};*/
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user