Files
DayZ-Epoch/SQF/dayz_code/Configs/CfgWeapons/Tools/Pickaxe.hpp
2016-02-21 13:14:03 -05:00

39 lines
847 B
C++

class ItemPickaxe : ItemCore
{
scope = 2;
model = "z\addons\dayz_communityweapons\models\pickaxe\pickaxe.p3d";
picture = "\z\addons\dayz_communityweapons\models\pickaxe\pickaxe.paa";
displayName = $STR_EQUIP_NAME_PICKAXE;
descriptionShort = $STR_EQUIP_DESC_PICKAXE;
class ItemActions
{
class Use
{
text = $STR_ACTIONS_MINE_STONE;
script = "spawn player_mineStone;";
};
};
};
class ItemPickaxeBroken : ItemCore
{
scope = 2;
model = "z\addons\dayz_communityweapons\models\pickaxe\pickaxe.p3d";
picture = "\z\addons\dayz_communityweapons\models\pickaxe\pickaxe.paa";
displayName = $STR_name_ItemPickaxeBroken;
descriptionShort = $STR_desc_ItemPickaxeBroken;
fixedTool = "ItemPickaxe";
class ItemActions
{
class Repair
{
text = $STR_ACTIONS_FIX_PICKAXE;
script = "spawn player_fixHatchet;";
};
};
};