From 03d59afff9d0e81a03b30f8d73d14d47aa4ff3e6 Mon Sep 17 00:00:00 2001 From: dayz10k Date: Fri, 15 Nov 2013 16:47:41 -0500 Subject: [PATCH] GunRack Fluff Storage & weight/format updates --- SQF/dayz_code/Configs/CfgMagazines.hpp | 49 ++++++++++++++++++++------ 1 file changed, 39 insertions(+), 10 deletions(-) diff --git a/SQF/dayz_code/Configs/CfgMagazines.hpp b/SQF/dayz_code/Configs/CfgMagazines.hpp index 676b10385..9acf7be2d 100644 --- a/SQF/dayz_code/Configs/CfgMagazines.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines.hpp @@ -1276,7 +1276,27 @@ class CfgMagazines { }; }; - + class ItemGunRackKit: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Gun Rack Kit"; + descriptionShort = "A Gun Rack for 20 weapons"; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 20; + class ItemActions + { + class Build + { + text = "$STR_ACTIONS_BUILD"; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "GunRack_DZ"; + }; + }; + }; class ItemOilBarrel: CA_Magazine { scope = 2; @@ -1328,7 +1348,7 @@ class CfgMagazines { descriptionShort = "Fire Barrel"; model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - weight = 25; + weight = 45; class ItemActions { class Build @@ -3160,14 +3180,23 @@ class CfgMagazines { }; class Crafting5 - { - text = $STR_EPOCH_PLAYER_259; - Script = ";['Crafting5','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"PartPlankPack",1}}; - input[] = {{"PartWoodLumber",3}}; - }; + { + text = $STR_EPOCH_PLAYER_259; + Script = ";['Crafting5','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"PartPlankPack",1}}; + input[] = {{"PartWoodLumber",3}}; + }; + class Crafting6 + { + text = $STR_EPOCH_PLAYER_277; + Script = ";['Crafting5','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"ItemGunRackKit",1}}; + input[] = {{"PartWoodLumber",6}}; + }; }; }; class PartWoodPlywood: CA_Magazine