mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-18 01:30:26 +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:
@@ -46,6 +46,24 @@ class ItemWaterBottleBoiled : ItemWaterBottle
|
||||
descriptionShort = $STR_ITEMWATERBOTTLEBOILED_CODE_DESC;
|
||||
|
||||
infectionChance = 0;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_CRAFTING_HERBALDRINK;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {};
|
||||
output[] = {{"ItemWaterBottleHerbal",1}};
|
||||
input[] = {{"equip_herb_box",1},{"ItemWaterBottleBoiled",1}};
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemWaterBottleHerbal : ItemWaterBottle
|
||||
|
||||
Reference in New Issue
Block a user