mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 13:26:39 +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:
@@ -45,4 +45,19 @@ class ItemCrowbarBent : ItemCore
|
||||
picture = "\dayz_epoch_c\icons\tools\ItemCrowbarBroken.paa";
|
||||
displayName = $STR_EQUIP_NAME_CROWBARBENT;
|
||||
descriptionShort = $STR_EQUIP_DESC_CROWBARBENT;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Repair
|
||||
{
|
||||
text = $STR_ACTIONS_FIX_CROWBAR;
|
||||
script = ";['Repair','CfgWeapons', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"fire"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {};
|
||||
outputweapons[] = {"ItemCrowbar"};
|
||||
input[] = {{"PartGeneric",1}};
|
||||
inputweapons[] = {"ItemCrowbarBent"};
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user