mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 04:23:13 +03:00
Add a few new items
Models made by @helion4
This commit is contained in:
32
SQF/dayz_code/Configs/CfgWeapons/Tools/Saw.hpp
Normal file
32
SQF/dayz_code/Configs/CfgWeapons/Tools/Saw.hpp
Normal file
@@ -0,0 +1,32 @@
|
||||
class Saw_DZE: ItemCore
|
||||
{
|
||||
scope = 2;
|
||||
displayName = $STR_EQUIP_SAW;
|
||||
descriptionShort = $STR_EQUIP_SAW_DESC;
|
||||
picture = "\dayz_epoch_c\icons\tools\ItemSaw.paa";
|
||||
model = "\z\addons\dayz_epoch_w\items\handsaw.p3d";
|
||||
};
|
||||
|
||||
class SawBroken_DZE: ItemCore
|
||||
{
|
||||
scope = 2;
|
||||
displayName = $STR_EQUIP_SAW_BROKEN;
|
||||
descriptionShort = $STR_EQUIP_SAW_BROKEN_DESC;
|
||||
picture = "\dayz_epoch_c\icons\tools\ItemSawBroken.paa";
|
||||
model = "\z\addons\dayz_epoch_w\items\handsaw.p3d";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Repair
|
||||
{
|
||||
text = $STR_ACTIONS_FIX_SAW;
|
||||
script = ";['Repair','CfgWeapons', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {};
|
||||
output[] = {};
|
||||
outputweapons[] = {"Saw_DZE"};
|
||||
input[] = {{"PartGeneric",1}};
|
||||
inputweapons[] = {"SawBroken_DZE"};
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user