mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 04:23: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:
@@ -14,4 +14,19 @@ class ItemEtoolBroken : ItemCore
|
||||
picture = "\dayz_epoch_c\icons\tools\ItemEtoolBroken.paa";
|
||||
displayName = $STR_EQUIP_NAME_1_BROKEN;
|
||||
descriptionShort = $STR_EQUIP_DESC_1_BROKEN;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Repair
|
||||
{
|
||||
text = $STR_ACTIONS_FIX_ETOOL;
|
||||
script = ";['Repair','CfgWeapons', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {};
|
||||
output[] = {};
|
||||
outputweapons[] = {"ItemEtool"};
|
||||
input[] = {{"equip_duct_tape",1},{"equip_lever",1}};
|
||||
inputweapons[] = {"ItemEtoolBroken"};
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user