From a61fdc54a6c1907e724e9a8ec9a50b13e2d9bd67 Mon Sep 17 00:00:00 2001 From: "[VB]AWOL" Date: Thu, 26 Sep 2013 11:07:35 -0500 Subject: [PATCH] added Ore and hotwirekit --- SQF/dayz_code/Configs/CfgMagazines.hpp | 32 ++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/SQF/dayz_code/Configs/CfgMagazines.hpp b/SQF/dayz_code/Configs/CfgMagazines.hpp index a1e355589..ff647fa07 100644 --- a/SQF/dayz_code/Configs/CfgMagazines.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines.hpp @@ -1,6 +1,17 @@ class CfgMagazines { class CA_Magazine; // External class reference + class ItemHotwireKit: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Hotwire kit"; + model = "\z\addons\dayz_epoch\models\canvas.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_canvas_ca.paa"; + descriptionShort = "Used to temporarily unlock vehicle and start them"; + }; + class ItemCanvas: CA_Magazine { scope = 2; @@ -2690,6 +2701,27 @@ class CfgMagazines { }; }; + class PartOre: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Ore"; + model = "\dayz_equip\models\trash_tincan.p3d"; + picture = "\dayz_equip\textures\equip_tincan_ca.paa"; + descriptionShort = "Ore: Used for crafting scrap metal. Can be mined from rocks using a sledgehammer."; + class ItemActions { + class Crafting + { + text = "Craft Scrap Metal"; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"fire"}; + requiretools[] = {"ItemSledge"}; + output[] = {{"PartGeneric",1}}; + input[] = {{"PartOre",4},{"ItemWaterbottle",1}}; + }; + }; + }; class PartVRotor: CA_Magazine { scope = 2;