mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Also streamlining the names of certain items like fuel cans, fish, meat with a status indicator behind the name. Fix some wrong description strings. Add blunt hatchet and wet matches.
32 lines
875 B
C++
32 lines
875 B
C++
class ItemShovel : ItemCore
|
|
{
|
|
scope = 2;
|
|
model = "\z\addons\dayz_communityassets\models\shovel.p3d";
|
|
picture = "\dayz_epoch_c\icons\tools\ItemShovel.paa";
|
|
displayName = $STR_EQUIP_NAME_SHOVEL;
|
|
descriptionShort = $STR_EQUIP_DESC_SHOVEL;
|
|
};
|
|
|
|
class ItemShovelBroken : ItemCore
|
|
{
|
|
scope = 2;
|
|
model = "\z\addons\dayz_communityassets\models\shovel.p3d";
|
|
picture = "\dayz_epoch_c\icons\tools\ItemShovelBroken.paa";
|
|
displayName = $STR_EQUIP_NAME_SHOVEL_BROKEN;
|
|
descriptionShort = $STR_EQUIP_DESC_SHOVEL_BROKEN;
|
|
|
|
class ItemActions
|
|
{
|
|
class Repair
|
|
{
|
|
text = $STR_ACTIONS_FIX_SHOVEL;
|
|
script = ";['Repair','CfgWeapons', _id] spawn player_craftItem;";
|
|
neednearby[] = {};
|
|
requiretools[] = {};
|
|
output[] = {};
|
|
outputweapons[] = {"ItemShovel"};
|
|
input[] = {{"equip_duct_tape",1},{"equip_lever",1}};
|
|
inputweapons[] = {"ItemShovelBroken"};
|
|
};
|
|
};
|
|
}; |