Files
DayZ-Epoch/SQF/dayz_code/Configs/CfgWeapons/Tools/Etool.hpp
icomrade 2d9097a6af Switch all buildables to Epoch building system
Didn't bother switching the stash over since it doesn't appear to be
implemented yet
2016-05-10 11:21:04 -04:00

30 lines
678 B
C++

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 = "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;";
};*/
};
};