mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Move fix tool to epoch crafting
Move player_fixHatchet to player_craftItem. Also add some more broken tools and some more options to repair tools.
This commit is contained in:
24
SQF/dayz_code/Configs/CfgWeapons/Tools/BinocularVector.hpp
Normal file
24
SQF/dayz_code/Configs/CfgWeapons/Tools/BinocularVector.hpp
Normal file
@@ -0,0 +1,24 @@
|
||||
class Binocular_VectorBroken : Default
|
||||
{
|
||||
scope = 2;
|
||||
type = 4096;
|
||||
displayName = $STR_EQUIP_BROKEN_BINOCULARVECTOR;
|
||||
descriptionShort = $STR_EQUIP_BROKEN_BINOCULARVECTOR_DESC;
|
||||
model = "\ca\weapons_E\vector\vector21dt";
|
||||
picture = "\dayz_epoch_c\icons\tools\ItemBinocularVectorBroken.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Repair
|
||||
{
|
||||
text = $STR_ACTIONS_FIX_BIONCULARVECTOR;
|
||||
script = ";['Repair','CfgWeapons', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemSolder_DZE"};
|
||||
output[] = {};
|
||||
outputweapons[] = {"Binocular_Vector"};
|
||||
input[] = {{"equip_floppywire",1},{"equip_scrapelectronics",1}};
|
||||
inputweapons[] = {"Binocular_VectorBroken"};
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user