mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-25 01:20:49 +03:00
Remove DayZ Mod crafting and replace it with epoch crafting
- All dayz mod recipe were moved to epoch crafting. - This disables the craft dialog in the diary too. - The player_craftitem got updated and can handle all dayz mod recipes now. - A few wooden recipes got updated with an need nails now. - player_craftitem shows all items that are needed for crafting now, no longer only one missing part. - Add a systemchat text for missing tools, so it can be checked later in the chat.
This commit is contained in:
@@ -15,6 +15,32 @@ class MeleeBaseBallBat : MeleeWeapon
|
||||
{
|
||||
libTextDesc = $STR_EQUIP_DESC_BASEBALLBAT;
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_CRAFTING_NAILEDBASEBALLBAT;
|
||||
script = ";['Crafting','CfgWeapons', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {};
|
||||
outputweapons[] = {"MeleeBaseBallBatNails"};
|
||||
input[] = {{"equip_nails",1}};
|
||||
inputweapons[] = {"MeleeBaseBallBat"};
|
||||
};
|
||||
class Crafting1
|
||||
{
|
||||
text = $STR_CRAFTING_BASEBALLBATBARBED;
|
||||
script = ";['Crafting1','CfgWeapons', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {};
|
||||
outputweapons[] = {"MeleeBaseBallBatBarbed"};
|
||||
input[] = {{"equip_nails",1},{"ItemWire",1}};
|
||||
inputweapons[] = {"MeleeBaseBallBat"};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class MeleeBaseBallBatBarbed : MeleeWeapon
|
||||
|
||||
Reference in New Issue
Block a user