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:
@@ -23,14 +23,19 @@ class ItemPickaxeBroken : ItemCore
|
||||
picture = "\dayz_epoch_c\icons\tools\ItemPickaxeBroken.paa";
|
||||
displayName = $STR_name_ItemPickaxeBroken;
|
||||
descriptionShort = $STR_desc_ItemPickaxeBroken;
|
||||
fixedTool = "ItemPickaxe";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Repair
|
||||
{
|
||||
text = $STR_ACTIONS_FIX_PICKAXE;
|
||||
script = "spawn player_fixHatchet;";
|
||||
};
|
||||
script = ";['Repair','CfgWeapons', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {};
|
||||
output[] = {};
|
||||
outputweapons[] = {"ItemPickaxe"};
|
||||
input[] = {{"equip_duct_tape",1},{"equip_lever",1}};
|
||||
inputweapons[] = {"ItemPickaxeBroken"};
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user