From db134935ba39141ad60563c4e4539104f87ee63a Mon Sep 17 00:00:00 2001 From: AirwavesMan Date: Wed, 17 Mar 2021 09:56:21 +0100 Subject: [PATCH] Add the option to craft a metal sheet --- SQF/dayz_code/Configs/CfgMagazines/Items/Metal.hpp | 13 +++++++++++-- SQF/dayz_code/stringtable.xml | 4 ++++ 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/Metal.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Metal.hpp index 802942469..af0350a04 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/Metal.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/Metal.hpp @@ -36,12 +36,21 @@ class PartGeneric : CA_Magazine requiretools[] = {"ItemToolbox","ItemCrowbar"}; output[] = {{"ItemMetalSheet",1}}; input[] = {{"PartGeneric",3}}; - }; + }; class Crafting3 { - text = $STR_EPOCH_ACTION_METAL_DOORWAY; + text = $STR_CRAFTING_METALSHEET; script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; neednearby[] = {"workshop","fire"}; + requiretools[] = {"ItemToolbox","ItemCrowbar","ItemSledge"}; + output[] = {{"equip_metal_sheet",1}}; + input[] = {{"PartGeneric",2},{"ItemTankTrap",2}}; + }; + class Crafting4 + { + text = $STR_EPOCH_ACTION_METAL_DOORWAY; + script = ";['Crafting4','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop","fire"}; requiretools[] = {"ItemToolbox","ItemCrowbar"}; output[] = {{"door_frame_kit",1}}; input[] = {{"ItemPole",4},{"ItemTankTrap",4},{"PartGeneric",2}}; diff --git a/SQF/dayz_code/stringtable.xml b/SQF/dayz_code/stringtable.xml index 266285d42..0fcfa7804 100644 --- a/SQF/dayz_code/stringtable.xml +++ b/SQF/dayz_code/stringtable.xml @@ -33396,6 +33396,10 @@ Wellblech herstellen Создать: Гофрир. лист + + Craft Sheet Metal + Metallplatte herstellen + Needed items: Benötigte Gegenstände: