mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
30 lines
691 B
C++
30 lines
691 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; set in sqf
|
|
require[] = {"ItemEtool"};
|
|
consume[] = {"ItemSandbag"};
|
|
create = "Sandbag1_DZ";
|
|
};
|
|
|
|
/*class Use
|
|
{
|
|
text=$STR_CREATE_STASH;
|
|
script="spawn player_createstash; r_action_count = r_action_count + 1;";
|
|
};*/
|
|
};
|
|
}; |