From 8cdc8e6e369794f56037ec81250d987866a5bd29 Mon Sep 17 00:00:00 2001 From: icomrade Date: Mon, 22 Feb 2016 13:31:14 -0500 Subject: [PATCH] CfgMagazines - still need script tweaks for buldables --- SQF/dayz_code/Configs/CfgMagazines/Ammo.hpp | 158 -- .../Configs/CfgMagazines/CfgMagazines.hpp | 46 +- .../CfgMagazines/Clothing/Clothing.hpp | 27 +- .../{Skins.hpp => Clothing/EpochSkins.hpp} | 37 - .../CfgMagazines/Consumables/WaterBottle.hpp | 2 +- ...eleeSwing.hpp => DELETE_ME_MeleeSwing.hpp} | 7 +- .../Configs/CfgMagazines/DZE/Misc.hpp | 1570 +++++++++++++++++ .../Configs/CfgMagazines/ItemSoda.hpp | 191 -- .../Configs/CfgMagazines/ItemWaterbottle.hpp | 30 - .../Configs/CfgMagazines/Items/Generator.hpp | 2 +- .../Configs/CfgMagazines/Items/Items.hpp | 8 +- .../Configs/CfgMagazines/Items/Sandbag.hpp | 1 + .../Configs/CfgMagazines/Items/Tent.hpp | 1 + .../Configs/CfgMagazines/Items/Wood.hpp | 4 +- .../Configs/CfgMagazines/Magazines/556x45.hpp | 12 + .../Configs/CfgMagazines/Magazines/762x51.hpp | 6 + .../Configs/CfgMagazines/Magazines/Melee.hpp | 7 + .../CfgMagazines/Magazines/Shotgun.hpp | 38 +- SQF/dayz_code/Configs/CfgMagazines/Parts.hpp | 47 - .../Configs/CfgMagazines/Trash/Misc.hpp | 3 +- .../Configs/CfgMagazines/VehicleParts.hpp | 42 + 21 files changed, 1757 insertions(+), 482 deletions(-) delete mode 100644 SQF/dayz_code/Configs/CfgMagazines/Ammo.hpp rename SQF/dayz_code/Configs/CfgMagazines/{Skins.hpp => Clothing/EpochSkins.hpp} (85%) rename SQF/dayz_code/Configs/CfgMagazines/{MeleeSwing.hpp => DELETE_ME_MeleeSwing.hpp} (93%) create mode 100644 SQF/dayz_code/Configs/CfgMagazines/DZE/Misc.hpp delete mode 100644 SQF/dayz_code/Configs/CfgMagazines/ItemSoda.hpp delete mode 100644 SQF/dayz_code/Configs/CfgMagazines/ItemWaterbottle.hpp delete mode 100644 SQF/dayz_code/Configs/CfgMagazines/Parts.hpp diff --git a/SQF/dayz_code/Configs/CfgMagazines/Ammo.hpp b/SQF/dayz_code/Configs/CfgMagazines/Ammo.hpp deleted file mode 100644 index 669d43496..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Ammo.hpp +++ /dev/null @@ -1,158 +0,0 @@ -class 100Rnd_762x54_PK : CA_Magazine { - scope = 2; - displayName = "PKM Mag."; - picture = "\CA\weapons\data\equip\m_pk_ca.paa"; - ammo = "B_762x54_Ball"; - count = 100; - type = "256"; - initSpeed = 850; - sound[] = {"\ca\Weapons\Data\Sound\PK_1_SS", 3.16228, 1, 1500}; - tracersEvery = 4; - lastRoundsTracer = 4; - nameSound = "mgun"; - descriptionShort = "Caliber: 7.62x54mm
Rounds: 100
Used in: PK"; - model = "\ca\CommunityConfigurationProject_E\Gameplay_ActualModelsOfWeaponMagazinesVisibleOnTheGround\p3d\100Rnd_762x54_PK.p3d"; -}; -class 100Rnd_762x51_M240 : CA_Magazine { - scope = 2; - displayName = "100Rnd. M240"; - picture = "\CA\weapons\data\equip\m_m240_ca.paa"; - count = 100; - type = "256"; - ammo = "B_762x51_Ball"; - initSpeed = 900; - tracersEvery = 4; - lastRoundsTracer = 4; - nameSound = "mgun"; - descriptionShort = "Caliber: 7.62x51mm NATO
Rounds: 100
Used in: M240, Mk 48 Mod 0"; - model = "\ca\CommunityConfigurationProject_E\Gameplay_ActualModelsOfWeaponMagazinesVisibleOnTheGround\p3d\100Rnd_762x51_M240.p3d"; -}; -class 200Rnd_762x51_M240 : 100Rnd_762x51_M240 { - displayName = "200Rnd. M240"; - count = 200; - descriptionShort = "Caliber: 7.62x51mm NATO
Rounds: 200
Used in: M240, Mk 48 Mod 0"; -}; -class 200Rnd_556x45_M249 : CA_Magazine { - scope = 2; - displayName = "200Rnd. M249 Belt"; - picture = "\CA\weapons\data\equip\m_m249_ca.paa"; - ammo = "B_556x45_Ball"; - count = 200; - type = "256"; - initSpeed = 915; - sound[] = {"\ca\Weapons\Data\Sound\M249_1_SS", 17.7828, 1, 1300}; - reloadMagazineSound[] = {"\ca\Weapons\Data\Sound\FAL_reload", 0.01, 1, 20}; - tracersEvery = 4; - lastRoundsTracer = 4; - nameSound = "mgun"; - descriptionShort = "Caliber: 5.56x45 mm NATO
Rounds: 200
Used in: M249 SAW"; - model = "\ca\CommunityConfigurationProject_E\Gameplay_ActualModelsOfWeaponMagazinesVisibleOnTheGround\p3d\200Rnd_556x45_M249.p3d"; -}; -class 100Rnd_556x45_M249 : 200Rnd_556x45_M249 { - displayName = "M249 Mag."; - descriptionShort = "Caliber: 5.56x45mm NATO
Rounds: 100
Used in: M249"; - count = 100; - picture = "\CA\weapons_E\Data\icons\m_m245_CA.paa"; -}; -class 100Rnd_556x45_BetaCMag: CA_Magazine { - scope = 2; - displayName = "MG36 Mag."; - ammo = "B_556x45_Ball"; - count = 100; - initSpeed = 920; - picture = "\ca\weapons\g36\data\equip\M_MG36_CA.paa"; - type="256"; - tracersEvery = 4; - lastRoundsTracer = 4; - descriptionShort = "Caliber: 5.56x45 mm NATO Rounds: 100 Used in: MG36, X8 SAW"; -}; -class 75Rnd_545x39_RPK: CA_Magazine { - scope = 2; - displayName = "75Rnd. RPK"; - ammo = "B_545x39_Ball"; - count = 75; - type="256"; - picture = "\CA\weapons\AK\data\equip\M_RPK_74_CA.paa"; - tracersEvery = 4; - lastRoundsTracer = 4; - nameSound = "mgun"; - descriptionShort = "Caliber: 5.45x39mm Rounds: 75 Used in: RPK-74"; -}; - -class 8Rnd_B_Beneli_74Slug; -class 2Rnd_shotgun_74Slug: 8Rnd_B_Beneli_74Slug { - displayName="2Rnd. Slug"; - count=2; - descriptionShort="Caliber: 12 gauge
Rounds: 2
Used in: M1014"; - model = "\z\addons\dayz_communityassets\models\2shells_slugshot.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_2shells_slugshot_CA.paa"; - class ItemActions { - class ReloadMag { - text="Combine to 8 rounds"; - script="spawn player_reloadMag;"; - use[]= { - "2Rnd_shotgun_74Slug", - "2Rnd_shotgun_74Slug", - "2Rnd_shotgun_74Slug", - "2Rnd_shotgun_74Slug" - }; - output[]= { - "8Rnd_B_Beneli_74Slug" - }; - }; - }; -}; - -class 8Rnd_B_Beneli_Pellets; -class 2Rnd_shotgun_74Pellets: 8Rnd_B_Beneli_Pellets { - displayName="2Rnd. Pellets"; - count=2; - descriptionShort="Caliber: 12 gauge
Rounds: 2 Pellets
Used in: M1014"; - model = "\z\addons\dayz_communityassets\models\2shells_pellet.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_2shells_pellet_CA.paa"; - weight = 0.1; - class ItemActions { - class ReloadMag { - text="Combine to 8 rounds"; - script="spawn player_reloadMag;"; - use[]= { - "2Rnd_shotgun_74Pellets", - "2Rnd_shotgun_74Pellets", - "2Rnd_shotgun_74Pellets", - "2Rnd_shotgun_74Pellets" - }; - output[]= { - "8Rnd_B_Beneli_Pellets" - }; - }; - }; -}; - -class Quiver : CA_Magazine { - scope = 2; - ammo = "WoodenArrow"; - count = 6; - descriptionshort = "Small Quiver used with the Crossbow, Max arrows 6."; - displayname = "Quiver"; - initSpeed = 150; - model = "\z\addons\dayz_communityassets\models\quiver"; - picture = "\z\addons\dayz_communityassets\pictures\equip_quiver_ca.paa"; -}; -class WoodenArrow : CA_Magazine { - scope = 2; - displayName = "Arrow"; //$STR_MAG_NAME_3; - model = "\dayz_weapons\models\bolt_gear"; - picture = "\z\addons\dayz_communityassets\pictures\equip_warrow_ca.paa"; - ammo = "WoodenArrow"; - count = 1; - initSpeed = 150; - descriptionShort = "Arrow made out of wood, used with the Crossbow."; //$STR_MAG_DESC_3; - class ItemActions { - class ReloadMag { - text = "Combine into Quiver"; - script = "spawn player_reloadMag;"; - use[] = {"WoodenArrow","WoodenArrow","WoodenArrow","WoodenArrow","WoodenArrow","WoodenArrow"}; - output[] = {"Quiver"}; - }; - }; -}; diff --git a/SQF/dayz_code/Configs/CfgMagazines/CfgMagazines.hpp b/SQF/dayz_code/Configs/CfgMagazines/CfgMagazines.hpp index f38e95b2c..0deb9b4a0 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/CfgMagazines.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/CfgMagazines.hpp @@ -4,8 +4,6 @@ class CfgMagazines class CA_Magazine; class HandGrenade; - - //Weapon magazines #include "Magazines\Magazines.hpp" @@ -35,4 +33,48 @@ class CfgMagazines //Consumables: food, drinks etc. #include "Consumables\Consumables.hpp" + // Ammmo + + + //EPOCH ADDITIONS + //#include "Ammo.hpp" + #include "VehicleAmmo.hpp" + + // Gems + #include "DZE\Gems.hpp" + #include "DZE\Ores.hpp" + // Items + #include "DZE\Items.hpp" + #include "DZE\Bulk.hpp" + // Currency + #include "DZE\Currency\Briefcase.hpp" + #include "DZE\Currency\GoldBar.hpp" + #include "DZE\Currency\SilverBar.hpp" + #include "DZE\Currency\CopperBar.hpp" + #include "DZE\Currency\BronzeBar.hpp" + #include "DZE\Currency\AluminumBar.hpp" + #include "DZE\Currency\TinBar.hpp" + + // Waterbottle + //#include "ItemWaterbottle.hpp" //Moved to WaterBottle.hpp in consumables and items folders + #include "DZE\ItemWaterbottle.hpp" + + //#include "MeleeSwing.hpp" //MOVED TO \MAGAZINES + + #include "Planting.hpp" + + // Building Stuff + #include "DZE\ModularBuilding.hpp" + #include "DZE\Misc.hpp" + + //#include "Parts.hpp" //MOVED TO VehicleParts.hpp + //#include "Skins.hpp"//MOVED TO CLOTHING + + // Food + //#include "Food.hpp" + #include "DZE\Food.hpp" + + // EPOCH SODA + //#include "ItemSoda.hpp" //Moved to Consumables + #include "DZE\ItemSoda.hpp" }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Clothing/Clothing.hpp b/SQF/dayz_code/Configs/CfgMagazines/Clothing/Clothing.hpp index 5c7d28d93..538ab7fcb 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Clothing/Clothing.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Clothing/Clothing.hpp @@ -22,9 +22,34 @@ class SkinBase : CA_Magazine script = "spawn player_tearClothes;"; }; }; + /* + class ItemActions { + class Use { + text = $STR_EPOCH_PLAYER_268; + script = "spawn player_wearClothes;"; + }; + class Crafting { + text = $STR_EPOCH_PLAYER_269b; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox","ItemKnife"}; + output[] = {{"ItemCanvas",1}}; + input[] = {{"SkinBase",2}}; + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_269; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox","ItemKnife"}; + output[] = {{"ItemBandage",2}}; + input[] = {{"SkinBase",1},{"ItemTrashToiletpaper",1}}; + }; + }; + */ }; #include "Ghillie.hpp" #include "Camo.hpp" #include "Soldier.hpp" -#include "Survivor.hpp" \ No newline at end of file +#include "Survivor.hpp" +#include "EpochSkins.hpp" \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Skins.hpp b/SQF/dayz_code/Configs/CfgMagazines/Clothing/EpochSkins.hpp similarity index 85% rename from SQF/dayz_code/Configs/CfgMagazines/Skins.hpp rename to SQF/dayz_code/Configs/CfgMagazines/Clothing/EpochSkins.hpp index 5c9b85152..a69fb6bef 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Skins.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Clothing/EpochSkins.hpp @@ -1,40 +1,3 @@ -class SkinBase: CA_Magazine { - scope = 0; - count = 1; - type = 256; - displayName = "Clothes"; - model = "\dayz_equip\models\cloth_parcel.p3d"; - picture = "\dayz_equip\textures\equip_cloth_parcel_ca.paa"; - descriptionShort = "Clothes Parcel"; - weight = 1; - class ItemActions { - class Use { - text = $STR_EPOCH_PLAYER_268; - script = "spawn player_wearClothes;"; - }; - class Crafting { - text = $STR_EPOCH_PLAYER_269b; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {"ItemToolbox","ItemKnife"}; - output[] = {{"ItemCanvas",1}}; - input[] = {{"SkinBase",2}}; - }; - class Crafting1 { - text = $STR_EPOCH_PLAYER_269; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {"ItemToolbox","ItemKnife"}; - output[] = {{"ItemBandage",2}}; - input[] = {{"SkinBase",1},{"ItemTrashToiletpaper",1}}; - }; - }; -}; -class Skin_Sniper1_DZ: SkinBase { - scope = 2; - displayName = $STR_EQUIP_NAME_43; - descriptionShort = $STR_EQUIP_DESC_43; -}; class Skin_Rocket_DZ: SkinBase { scope = 2; displayName = "Officer Suit"; diff --git a/SQF/dayz_code/Configs/CfgMagazines/Consumables/WaterBottle.hpp b/SQF/dayz_code/Configs/CfgMagazines/Consumables/WaterBottle.hpp index 32a8a61af..e29425cba 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Consumables/WaterBottle.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Consumables/WaterBottle.hpp @@ -9,7 +9,7 @@ class ItemWaterBottle : FoodDrink Nutrition[] = {0,0,1000,0}; - infectionChance = 0.3; + infectionChance = 0; consumeOutput = "ItemWaterBottleUnfilled"; diff --git a/SQF/dayz_code/Configs/CfgMagazines/MeleeSwing.hpp b/SQF/dayz_code/Configs/CfgMagazines/DELETE_ME_MeleeSwing.hpp similarity index 93% rename from SQF/dayz_code/Configs/CfgMagazines/MeleeSwing.hpp rename to SQF/dayz_code/Configs/CfgMagazines/DELETE_ME_MeleeSwing.hpp index a5ce289f5..674a07970 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/MeleeSwing.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/DELETE_ME_MeleeSwing.hpp @@ -66,12 +66,7 @@ class Fishing_Swing : Melee_Swing { shortNameMagazine = Fishing; ammo = "Fishing_Swing_Ammo"; }; -class sledge_swing : Melee_Swing { - displayName = "Sledge"; - displayNameMagazine = "Sledge"; - shortNameMagazine = "Sledge"; - ammo = "Sledge_Swing_Ammo"; -}; + class Hatchet_Swing : Melee_Swing { displayName = Hatchet; displayNameMagazine = Hatchet; diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Misc.hpp b/SQF/dayz_code/Configs/CfgMagazines/DZE/Misc.hpp new file mode 100644 index 000000000..116ccfcd6 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/DZE/Misc.hpp @@ -0,0 +1,1570 @@ + class ItemCanvas: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Canvas"; + model = "\z\addons\dayz_epoch\models\canvas.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_canvas_ca.paa"; + descriptionShort = "Canvas Parcel"; + class ItemActions + { + class Crafting + { + text = $STR_EPOCH_PLAYER_190; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemKnife"}; + output[] = {{"ItemTentOld",1}}; + input[] = {{"ItemCanvas",2},{"ItemPole",2}}; + }; + class Crafting1 + { + text = $STR_EPOCH_PLAYER_191; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemKnife"}; + output[] = {{"ItemTentDomed",1}}; + input[] = {{"ItemCanvas",3},{"ItemPole",3}}; + }; + class Crafting2 + { + text = $STR_EPOCH_PLAYER_192; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemKnife"}; + output[] = {{"ItemTentDomed2",1}}; + input[] = {{"ItemCanvas",3},{"ItemPole",3}}; + }; + class Crafting3 + { + text = $STR_EPOCH_PLAYER_193; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemKnife"}; + output[] = {{"sun_shade_kit",1}}; + input[] = {{"ItemCanvas",1},{"PartWoodLumber",4}}; + }; + class Crafting4 + { + text = $STR_EPOCH_PLAYER_194; + script = ";['Crafting4','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemKnife"}; + output[] = {{"ItemBurlap",1}}; + input[] = {{"ItemCanvas",2}}; + }; + }; + }; + class ItemBurlap: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Burlap"; + model = "\z\addons\dayz_epoch\models\burlap.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_burlap_ca.paa"; + descriptionShort = "Burlap: A strong cloth like material used for building sandbags"; + class ItemActions + { + class Crafting + { + text = $STR_EPOCH_PLAYER_195; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"sand"}; // todo add sand requirement + requiretools[] = {"ItemEtool","ItemToolbox"}; + output[] = {{"ItemSandbag",1}}; + input[] = {{"ItemBurlap",3}}; + }; + }; + }; + class ItemLightBulb: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Light Bulb"; + model = "\z\addons\dayz_epoch\models\bulb.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_bulb_CA.paa"; + descriptionShort = "Lightbulb: Used in part to create a buildable lamp post. Don't tell me you didn't find this in a barn."; + class ItemActions { + class Crafting + { + text = $STR_EPOCH_PLAYER_196; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemEtool","ItemToolbox"}; + output[] = {{"light_pole_kit",1}}; + input[] = {{"ItemLightBulb",1},{"PartGeneric",1},{"PartWoodLumber",6}}; + }; + }; + }; + + + + class ItemZombieParts: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Zombie Parts"; + model = "\z\addons\dayz_epoch\models\zombie_parts_bag_v2.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_zparts_CA.paa"; + descriptionShort = "Zombie Parts in a Bag: Trade these for Bio Meat at medic traders."; + }; + + class ItemComboLock: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Combination Lock"; + weight = 0.5; + model = "\z\addons\dayz_epoch\models\combo_lock_mag.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_combolock_ca.paa"; + descriptionShort = "Used to secure structures from unauthorized entry."; + + }; + + class ItemCorrugated : CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Corrugated Fence"; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + descriptionShort = "Corrugated Fence: A buildable object used for fortification purposes."; + class ItemActions { + class Build { + text = $STR_EPOCH_PLAYER_214; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "Fence_corrugated_DZ"; + }; + class Crafting + { + text = $STR_EPOCH_PLAYER_215; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemCrowbar"}; + output[] = {{"wooden_shed_kit",1}}; + input[] = {{"ItemCorrugated",2},{"PartWoodPlywood",4},{"PartWoodLumber",4}}; + }; + class Crafting1 + { + text = $STR_EPOCH_PLAYER_217; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemCrowbar"}; + output[] = {{"outhouse_kit",1}}; + input[] = {{"ItemCorrugated",1},{"PartWoodPlywood",3},{"PartWoodLumber",3},{"ItemTrashToiletpaper",1}}; + }; + class Crafting2 + { + text = $STR_EPOCH_PLAYER_216; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemCrowbar"}; + output[] = {{"storage_shed_kit",1}}; + input[] = {{"ItemCorrugated",4},{"PartWoodPlywood",2},{"PartWoodLumber",2}}; + }; + }; + }; + class ItemPole: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Metal Pole"; + model = "\z\addons\dayz_epoch\models\pipe.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_pipe_CA.paa"; + descriptionShort = "Pole: A few sturdy metal poles used to craft tents and other buildables"; + class ItemActions { + class Crafting + { + text = $STR_EPOCH_PLAYER_218; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"fire"}; + requiretools[] = {"ItemToolbox","ItemCrowbar"}; + output[] = {{"ItemCorrugated",1}}; + input[] = {{"ItemPole",2},{"ItemTankTrap",2},{"PartWoodLumber",2}}; + }; + class Crafting1 + { + text = $STR_EPOCH_PLAYER_219; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemCrowbar"}; + output[] = {{"rusty_gate_kit",1}}; + input[] = {{"ItemPole",3},{"ItemTankTrap",1}}; + }; + class Crafting2 + { + text = $STR_EPOCH_PLAYER_220; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemCrowbar"}; + output[] = {{"metal_panel_kit",1}}; + input[] = {{"ItemPole",4},{"ItemTankTrap",4}}; + }; + class Crafting3 + { + text = $STR_EPOCH_PLAYER_305; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemCrowbar"}; + output[] = {{"ItemScaffoldingKit",1}}; + input[] = {{"ItemPole",4},{"ItemTankTrap",2},{"PartWoodLumber",4}}; + }; + }; + }; + 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_EPOCH; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "GunRack_DZ"; + }; + }; + }; + class ItemWoodCrateKit: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Wood Crate"; + descriptionShort = "A wood crate that holds a lot of items."; + 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_EPOCH; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "WoodCrate_DZ"; + }; + }; + }; + class ItemOilBarrel: CA_Magazine + { + scope = 2; + count = 1; + // fuelQuantity = 210; + type = 256; + displayName = "Oil Barrel"; + model = "\z\addons\dayz_epoch\models\oil_drum_model.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_oil_drum_model_ca.paa"; + descriptionShort = "210 litres of Oil in a Barrel"; + }; + class ItemFuelBarrel: CA_Magazine + { + scope = 2; + count = 1; + fuelQuantity = 210; + type = 256; + displayName = "Fuel Barrel"; + model = "\z\addons\dayz_epoch\models\oil_drum_model.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_oil_drum_model_ca.paa"; + descriptionShort = "210 litres of fuel per barrel"; + }; + class ItemFuelBarrelEmpty: ItemFuelBarrel + { + scope = 2; + count = 1; + fuelQuantity = 0; + type = 256; + displayName = "Fuel Barrel (Empty)"; + picture = "\z\addons\dayz_epoch\pictures\equip_oildrum_e_CA.paa"; + descriptionShort = "210 litres of fuel per barrel (Empty)"; + class ItemActions { + class Crafting + { + text = $STR_EPOCH_PLAYER_276; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox","ItemMatchbox_DZE"}; + output[] = {{"ItemFireBarrel_kit",1}}; + input[] = {{"ItemFuelBarrelEmpty",1},{"ItemJerryCan",1},{"PartWoodPile",4}}; + }; + }; + }; + class ItemFireBarrel_kit: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Fire Barrel Kit"; + descriptionShort = "Fire Barrel"; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 45; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD_EPOCH; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "FireBarrel_DZ"; + }; + }; + }; + class workbench_kit: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Workbench"; + descriptionShort = "Workbench: Used to craft."; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 10; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD_EPOCH; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "WorkBench_DZ"; + }; + }; + }; + + // BUILDING KITS + class wood_ramp_kit: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Wood Ramp"; + descriptionShort = "Wood ramp can be used to get air."; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD_EPOCH; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "WoodRamp_DZ"; + }; + }; + }; + class 30m_plot_kit: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "30 Meter Plot"; + descriptionShort = "Plot Pole: A placeable pole that will allow you and your friends to build within a 30m radius. Ownership of plot pole is lost after owners death."; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD_EPOCH; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "Plastic_Pole_EP1_DZ"; + }; + }; + }; + + class metal_panel_kit: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Metal Panel"; + descriptionShort = "Metal Panel: Strong metal wall used for base defence."; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 50; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD_EPOCH; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "MetalPanel_DZ"; + }; + class Crafting + { + text = $STR_EPOCH_PLAYER_228; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop","fire"}; + requiretools[] = {"ItemToolbox","ItemCrowbar","ItemSledge"}; + output[] = {{"metal_floor_kit",1}}; + input[] = {{"metal_panel_kit",4}}; + }; + }; + }; + class deer_stand_kit: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Deer Stand"; + descriptionShort = "Deer Stand: can be used as a lookout."; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 25; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD_EPOCH; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "DeerStand_DZ"; + }; + }; + }; + class desert_large_net_kit: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Large Desert Camo Net"; + descriptionShort = "Large Camo Netting: A very large buildable object that can be used to cover objects."; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 25; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD_EPOCH; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "DesertLargeCamoNet_DZ"; + }; + }; + }; + class forest_large_net_kit: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Large Forest Camo Net"; + descriptionShort = "Large Camo Netting: A very large buildable object that can be used to cover objects."; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 25; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD_EPOCH; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "ForestLargeCamoNet_DZ"; + }; + }; + }; + class desert_net_kit: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Desert Camo Net"; + descriptionShort = "Camo Netting: A buildable object that can be used to cover objects."; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 25; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD_EPOCH; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "DesertCamoNet_DZ"; + }; + class Crafting + { + text = $STR_EPOCH_PLAYER_229; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemKnife"}; + output[] = {{"desert_large_net_kit",1}}; + input[] = {{"desert_net_kit",3}}; + }; + }; + }; + class forest_net_kit: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Forest Camo Net"; + descriptionShort = "Camo Netting: A buildable object that can be used to cover objects."; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 25; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD_EPOCH; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "ForestCamoNet_DZ"; + }; + class Crafting + { + text = $STR_EPOCH_PLAYER_229; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemKnife"}; + output[] = {{"forest_large_net_kit",1}}; + input[] = {{"forest_net_kit",3}}; + }; + }; + }; + class fuel_pump_kit: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Fuel Pump"; + descriptionShort = "Fuel Pump"; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 50; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD_EPOCH; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "FuelPump_DZ"; + }; + }; + }; + class light_pole_kit: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Light Pole"; + descriptionShort = "Light Pole: A buildable object that can be used with a Generator to provide light in times of darkness."; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 25; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD_EPOCH; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "LightPole_DZ"; + }; + }; + }; + class stick_fence_kit: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Stick Fence"; + descriptionShort = "Stick Fence: A buildable barrier that can be used to keep zombies out of your camp. They are fairly weak and can be ran over easier."; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 15; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD_EPOCH; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "StickFence_DZ"; + }; + }; + }; + class wooden_shed_kit: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Nice Wooden Shed"; + descriptionShort = "Nice Wooden Shed: A crafted object that holds a lot of items/weapons/backpacks and has a door that opens and closes."; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 25; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD_EPOCH; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "Wooden_shed_DZ"; + }; + }; + }; + class wood_shack_kit: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Wood Shack"; + descriptionShort = "Wood Shack"; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 25; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD_EPOCH; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "WoodShack_DZ"; + }; + }; + }; + class m240_nest_kit: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "M240 Nest"; + descriptionShort = "M240 Nest"; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 125; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD_EPOCH; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "M240Nest_DZ"; + }; + }; + }; + class sun_shade_kit: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Canvas Sun Shade"; + descriptionShort = "Sun Shade: A buildable object used to keep the sun off your back."; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 25; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD_EPOCH; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "CanvasHut_DZ"; + }; + }; + }; + class park_bench_kit: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Wood Bench"; + descriptionShort = "Wood Bench"; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 25; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD_EPOCH; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "ParkBench_DZ"; + }; + }; + }; + class rusty_gate_kit: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Rusty Gate"; + descriptionShort = "Rusty Gate: A buildable object that can be opened and closed."; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 25; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD_EPOCH; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "MetalGate_DZ"; + }; + }; + }; + class sandbag_nest_kit: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Sandbag Nest"; + descriptionShort = "Sandbag Nest: A buildable fortification object, can be removed."; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 50; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD_EPOCH; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "SandNest_DZ"; + }; + }; + }; + class outhouse_kit: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Outhouse"; + descriptionShort = "Outhouse: A buildable object that you can poop in. Comes pre-stocked with one roll of Toilet Paper."; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 25; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD_EPOCH; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "OutHouse_DZ"; + }; + }; + }; + class storage_shed_kit: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Storage Shed"; + descriptionShort = "Storage Shed: A large buildable object that is non enterable and holds a lot of items/weapons/backpacks"; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 75; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD_EPOCH; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "StorageShed_DZ"; + }; + }; + }; + + class ItemScaffoldingKit: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Scaffolding"; + descriptionShort = ""; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 80; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD_EPOCH; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "Scaffolding_DZ"; + }; + }; + }; + // Custom player vault + class ItemVault: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Safe"; + model = "\z\addons\dayz_epoch\models\safe_onside.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_safe_ca.paa"; + descriptionShort = "Personal Safe: A placeable object that is used for very secure storage. WARNING!!! Placing your safe will give you a 4 digit number that is used to open the safe, save that number!"; + class ItemActions + { + class Build { + text = $STR_EPOCH_PLAYER_230; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "VaultStorageLocked"; + }; + }; + }; + class ItemLockbox: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Lockbox"; + model = "\z\addons\dayz_epoch\models\lockbox_mag.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_lockbox_CA.paa"; + descriptionShort = "Semi secure lockbox"; + weight = 15; + class ItemActions + { + class Build { + text = $STR_EPOCH_PLAYER_231; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "LockboxStorageLocked"; + }; + }; + }; + + class PartWoodPile: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = $STR_EQUIP_NAME_40; + model = "\dayz_equip\models\woodPile.p3d"; + picture = "\dayz_equip\textures\equip_woodPile_ca.paa"; + descriptionShort = $STR_EQUIP_DESC_40; + class ItemActions { + class Build { + text = $STR_EPOCH_PLAYER_241; + script = "spawn player_build;"; + require[] = {"ItemMatchbox_DZE"}; + create = "Land_Fire_DZ"; + }; + class Crafting + { + text = $STR_EPOCH_PLAYER_242; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"sawmill"}; + requiretools[] = {"ItemToolbox","ItemKnife"}; + output[] = {{"PartWoodLumber",1}}; + input[] = {{"PartWoodPile",2}}; + }; + class Crafting1 + { + text = $STR_EPOCH_PLAYER_243; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemKnife"}; + output[] = {{"WoodenArrow",3}}; + input[] = {{"PartWoodPile",1},{"ItemTrashRazor",1}}; + + }; + class Crafting2 + { + text = $STR_EPOCH_PLAYER_244; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox","ItemKnife"}; + output[] = {{"stick_fence_kit",1}}; + input[] = {{"PartWoodPile",6}}; + + }; + + }; + }; + class PartPlankPack: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Lumber Pack"; + model = "\z\addons\dayz_epoch\models\plank_pack.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_lumber_pack_CA.paa"; + descriptionShort = "Lumber in a stack"; + weight = 6; + class ItemActions { + class Crafting + { + text = $STR_EPOCH_PLAYER_251; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"sawmill"}; + requiretools[] = {"ItemToolbox","ItemKnife"}; + output[] = {{"PartWoodLumber",3}}; + input[] = {{"PartPlankPack",1}}; + }; + }; + }; + class CinderBlocks: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Cinder Blocks"; + model = "\z\addons\dayz_epoch\models\cinder_stack.p3d"; + picture = "\z\addons\dayz_epoch\pictures\epuip_cinder_blocks_CA.paa"; + descriptionShort = "Stack of nine cinder blocks"; + weight = 100; + class ItemActions { + class Crafting + { + text = $STR_EPOCH_PLAYER_252; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"cinder_wall_kit",1}}; + input[] = {{"CinderBlocks",3},{"MortarBucket",1}}; + }; + class Crafting1 + { + text = $STR_EPOCH_PLAYER_253; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"cinder_garage_kit",1}}; + input[] = {{"CinderBlocks",3},{"MortarBucket",1},{"ItemTankTrap",1}}; + }; + class Crafting2 + { + text = $STR_EPOCH_PLAYER_234; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"cinder_door_kit",1}}; + input[] = {{"CinderBlocks",4},{"MortarBucket",1},{"ItemTankTrap",1}}; + }; + + + }; + }; + class MortarBucket: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Bucket of Mortar"; + model = "\z\addons\dayz_epoch\models\mortar.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_mortar_CA.paa"; + descriptionShort = "Premixed mastic adhesive that will bond to concrete block."; + weight = 21; + }; + class PartPlywoodPack: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Plywood Pack"; + model = "\z\addons\dayz_epoch\models\plywood_pack.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_plywood_pack_CA.paa"; + descriptionShort = "Plywood in a stack"; + weight = 12; + class ItemActions { + class Crafting + { + text = $STR_EPOCH_PLAYER_251; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"sawmill"}; + requiretools[] = {"ItemToolbox","ItemKnife"}; + output[] = {{"PartWoodPlywood",3}}; + input[] = {{"PartPlywoodPack",1}}; + }; + + }; + }; + class PartWoodLumber: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Lumber"; + model = "\z\addons\dayz_epoch\models\planks.p3d"; + picture="\z\addons\dayz_epoch\pictures\equip_wood_planks_CA.paa"; + descriptionShort = "Lumber: Used for building many structures and can also be used to make plywood."; + class ItemActions { + class Crafting + { + text = $STR_EPOCH_PLAYER_254; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"sawmill"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"PartWoodPlywood",1}}; + input[] = {{"PartWoodLumber",2}}; + + }; + class Crafting1 + { + text = $STR_EPOCH_PLAYER_255; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"bulk_empty",1}}; + input[] = {{"PartWoodLumber",2},{"PartGeneric",1}}; + + }; + class Crafting2 + { + text = $STR_EPOCH_PLAYER_256; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemCrowbar"}; + output[] = {{"deer_stand_kit",1}}; + input[] = {{"PartWoodLumber",8},{"PartWoodPile",2}}; + + }; + + class Crafting3 + { + text = $STR_EPOCH_PLAYER_257; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"ItemWoodStairs",1}}; + input[] = {{"PartWoodLumber",8}}; + + }; + class Crafting4 + { + text = $STR_EPOCH_PLAYER_258; + script = ";['Crafting4','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"ItemWoodLadder",1}}; + input[] = {{"PartWoodLumber",8}}; + + }; + class Crafting5 + { + text = $STR_EPOCH_PLAYER_259; + Script = ";['Crafting5','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"sawmill"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"PartPlankPack",1}}; + input[] = {{"PartWoodLumber",3}}; + }; + class Crafting6 + { + text = $STR_EPOCH_PLAYER_277; + Script = ";['Crafting6','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"ItemGunRackKit",1}}; + input[] = {{"PartWoodLumber",6}}; + }; + class Crafting7 + { + text = $STR_EPOCH_PLAYER_304; + Script = ";['Crafting7','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"ItemWoodCrateKit",1}}; + input[] = {{"PartWoodLumber",6}}; + }; + }; + }; + class PartWoodPlywood: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "Plywood"; + model = "\z\addons\dayz_epoch\models\plywood.p3d"; + picture="\z\addons\dayz_epoch\pictures\equip_plywood_CA.paa"; + descriptionShort = "Plywood: Used for building many structures."; + class ItemActions { + class Crafting + { + text = $STR_EPOCH_PLAYER_260; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"workbench_kit",1}}; + input[] = {{"PartWoodPlywood",1},{"PartWoodLumber",2}}; + + }; + class Crafting1 + { + text = $STR_EPOCH_PLAYER_261; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"wood_shack_kit",1}}; + input[] = {{"PartWoodPlywood",4},{"PartWoodLumber",4}}; + }; + class Crafting2 + { + text = $STR_EPOCH_PLAYER_262; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemCrowbar"}; + output[] = {{"ItemWoodFloorQuarter",1}}; + input[] = {{"PartWoodPlywood",3},{"PartWoodLumber",3}}; + }; + class Crafting3 + { + text = $STR_EPOCH_PLAYER_263; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemCrowbar"}; + output[] = {{"ItemWoodWallThird",1}}; + input[] = {{"PartWoodPlywood",3},{"PartWoodLumber",3}}; + }; + class Crafting4 + { + text = $STR_EPOCH_PLAYER_264; + Script = ";['Crafting4','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"sawmill"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"PartPlywoodPack",1}}; + input[] = {{"PartWoodPlywood",3}}; + }; + + }; + }; + class ItemTent; + class ItemTentOld: ItemTent + { + scope = 2; + count = 1; + type = 256; + displayName = $STR_EQUIP_NAME_20; + model = "\dayz_equip\models\tentbag_gear.p3d"; + picture = "\dayz_equip\textures\equip_tentbag_ca.paa"; + descriptionShort = $STR_EQUIP_DESC_20; + weight = 5; + class ItemActions + { + class Build { + text = $STR_PITCH_TENT; + script = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;"; + require[] = {}; + consume[] = {"ItemTent"}; + create = "TentStorage"; + }; + class Crafting + { + text = $STR_EPOCH_PLAYER_270; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemKnife"}; + output[] = {{"desert_net_kit",1}}; + input[] = {{"ItemTent",2},{"ItemPole",2}}; + }; + class Crafting1 + { + text = $STR_EPOCH_PLAYER_271; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemKnife"}; + output[] = {{"forest_net_kit",1}}; + input[] = {{"ItemTent",2},{"ItemPole",2}}; + }; + }; + }; + class ItemTentDomed : ItemTent { + scope = 2; + count = 1; + type = 256; + displayName = "Camping Tent Desert"; + model = "\dayz_equip\models\tentbag_gear.p3d"; + picture = "\dayz_equip\textures\equip_tentbag_ca.paa"; + descriptionShort = "A domed camping tent desert that can be pitched, allowing you extended storage."; + + class ItemActions { + class Build { + text = $STR_PITCH_DOME_TENT; + script = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;"; + require[] = {}; + consume[] = {"ItemDomeTent"}; + create = "DomeTentStorage"; + }; + class Crafting + { + text = $STR_EPOCH_PLAYER_270; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemKnife"}; + output[] = {{"desert_net_kit",1}}; + input[] = {{"ItemTent",2},{"ItemPole",2}}; + }; + class Crafting1 + { + text = $STR_EPOCH_PLAYER_271; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemKnife"}; + output[] = {{"forest_net_kit",1}}; + input[] = {{"ItemTent",2},{"ItemPole",2}}; + }; + }; + }; + class ItemTentDomed2 : ItemTent { + scope = 2; + count = 1; + type = 256; + displayName = "Camping Tent Green"; + model = "\dayz_equip\models\tentbag_gear.p3d"; + picture = "\dayz_equip\textures\equip_tentbag_ca.paa"; + descriptionShort = "A domed camping tent desert that can be pitched, allowing you extended storage."; + class ItemActions { + class Build { + text = $STR_PITCH_TENT; + script = "spawn player_build;"; + require[] = {}; + create = "TentStorageDomed2"; + }; + class Crafting + { + text = $STR_EPOCH_PLAYER_270; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemKnife"}; + output[] = {{"desert_net_kit",1}}; + input[] = {{"ItemTent",2},{"ItemPole",2}}; + }; + class Crafting1 + { + text = $STR_EPOCH_PLAYER_271; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemKnife"}; + output[] = {{"forest_net_kit",1}}; + input[] = {{"ItemTent",2},{"ItemPole",2}}; + }; + }; + }; + + class ItemSandbag : CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = $STR_EQUIP_NAME_21; + model = "\dayz_equip\models\sandbags.p3d"; + picture = "\dayz_equip\textures\equip_sandbag_ca.paa"; + descriptionShort = $STR_EQUIP_DESC_21; + + class ItemActions { + class Build + { + text = $STR_ACTION_BUILD; + script = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;"; + require[] = {"ItemEtool"}; + consume[] = {"ItemSandbag"}; + create = "Sandbag1_DZ"; + byPass = "byPassRoadCheck"; + }; + + class Build2 + { + text = $STR_CREATE_STASH; + script = "; [_id,'Build2'] spawn player_build; r_action_count = r_action_count + 1;"; + require[] = {"ItemEtool"}; + consume[] = {"ItemSandbag"}; + create = "StashSmall"; + }; + class Crafting + { + text = $STR_EPOCH_PLAYER_273; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemEtool","ItemToolbox"}; + output[] = {{"ItemSandbagLarge",1}}; + input[] = {{"ItemSandbag",3},{"ItemWire",1},{"ItemTankTrap",1}}; + }; + class Crafting1 + { + text = $STR_EPOCH_PLAYER_274; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemEtool","ItemToolbox"}; + output[] = {{"sandbag_nest_kit",1}}; + input[] = {{"ItemSandbag",4},{"PartWoodPlywood",2},{"PartWoodLumber",4}}; + }; + class Crafting2 + { + text = $STR_EPOCH_PLAYER_298; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemEtool","ItemToolbox"}; + output[] = {{"BagFenceRound_DZ_kit",1}}; + input[] = {{"ItemSandbag",1}}; + }; + /* + class Crafting3 + { + text = "Craft M240 Nest"; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemEtool","ItemToolbox","M240_DZ"}; + output[] = {{"m240_nest_kit",1}}; + input[] = {{"ItemSandbag",4},{"ItemCanvas",1},{"PartWoodPlywood",4},{"PartWoodLumber",3}}; + inputweapons[] = {"M240_DZ"}; + }; + */ + + }; + }; + + class BagFenceRound_DZ_kit : CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Round Sandbag Fence"; + model = "\dayz_equip\models\sandbags.p3d"; + picture = "\dayz_equip\textures\equip_sandbag_ca.paa"; + descriptionShort = $STR_EQUIP_DESC_21; + + class ItemActions { + class Build { + text = $STR_EPOCH_PLAYER_299; + script = "spawn player_build;"; + require[] = {"ItemEtool"}; + create = "BagFenceRound_DZ"; + }; + class Crafting + { + text = $STR_EPOCH_PLAYER_300; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemEtool","ItemToolbox"}; + output[] = {{"ItemSandbag",1}}; + input[] = {{"BagFenceRound_DZ_kit",1}}; + }; + }; + }; + + class ItemSledgeHead : CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Sledgehammer Head"; + model = "\z\addons\dayz_epoch\models\sledge_head.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_sledge_head_ca.paa"; + descriptionShort = "Combine with a handle to make a Sledgehammer"; + weight = 9; + class ItemActions { + class Crafting + { + text = $STR_EPOCH_PLAYER_275; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {}; + outputweapons[] = {"ItemSledge"}; + input[] = {{"ItemSledgeHead",1},{"ItemSledgeHandle",1}}; + }; + }; + }; + class ItemSledgeHandle : CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Sledgehammer Handle"; + model = "\z\addons\dayz_epoch\models\sledge_handle.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_sledge_handle_ca.paa"; + descriptionShort = "Combine with a head to make a Sledgehammer"; + weight = 1; + class ItemActions { + class Crafting + { + text = $STR_EPOCH_PLAYER_275; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {}; + outputweapons[] = {"ItemSledge"}; + input[] = {{"ItemSledgeHead",1},{"ItemSledgeHandle",1}}; + }; + }; + }; + + class ItemSandbagLarge : CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "H-barrier cube"; + model = "\dayz_equip\models\sandbags.p3d"; // TODO model + picture = "\dayz_equip\textures\equip_sandbag_ca.paa"; + descriptionShort = "Hesco berrier: A buildable object that is used for fortification purposes."; + weight = 50; + class ItemActions { + class Build { + text = "Build H-barrier cube"; + script = "spawn player_build;"; + require[] = {"ItemEtool"}; + create = "Land_HBarrier1_DZ"; + }; + class Crafting + { + text = "Craft Triple H-barrier"; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemEtool","ItemToolbox"}; + output[] = {{"ItemSandbagExLarge",1}}; + input[] = {{"ItemSandbagLarge",3}}; + }; + }; + }; + + + class ItemSandbagExLarge : CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "3 x H-barrier cube"; + model = "\dayz_equip\models\sandbags.p3d"; // TODO model + picture = "\dayz_equip\textures\equip_sandbag_ca.paa"; + descriptionShort = "Hesco berrier: A buildable object that is used for fortification purposes."; + weight = 150; + class ItemActions { + class Build { + text = "Build Triple H-barrier"; + script = "spawn player_build;"; + require[] = {"ItemEtool"}; + create = "Land_HBarrier3_DZ"; + }; + class Crafting + { + text = "Craft 5x H-barrier"; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemEtool","ItemToolbox"}; + output[] = {{"ItemSandbagExLarge5x",1}}; + input[] = {{"ItemSandbagExLarge",1},{"ItemSandbagLarge",2}}; + }; + }; + }; + + class ItemSandbagExLarge5x : CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "5 x H-barrier cube"; + model = "\dayz_equip\models\sandbags.p3d"; // TODO model + picture = "\dayz_equip\textures\equip_sandbag_ca.paa"; + descriptionShort = "Hesco berrier: A buildable object that is used for fortification purposes."; + weight = 200; + class ItemActions { + class Build { + text = "Build 5x H-barrier"; + script = "spawn player_build;"; + require[] = {"ItemEtool"}; + create = "Land_HBarrier5_DZ"; + }; + }; + }; + + class ItemTankTrap : CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = $STR_EQUIP_NAME_22; + model = "\dayz_equip\models\tank_trap_kit.p3d"; + picture = "\dayz_equip\textures\equip_tanktrap_kit_CA.paa"; + descriptionShort = $STR_EQUIP_DESC_22; + + class Build { + text = $STR_ACTION_BUILD; + script = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;"; + require[] = {"ItemToolbox"}; + consume[] = {"ItemTankTrap"}; + create = "Hedgehog_DZ"; + byPass = "byPassRoadCheck"; + }; + }; + + class ItemWire : CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = $STR_EQUIP_NAME_23; + model = "\dayz_equip\models\Fence_wire_kit.p3d"; + picture = "\dayz_equip\textures\equip_fencewire_kit_CA.paa"; + descriptionShort = $STR_EQUIP_DESC_23; + + class ItemActions { + class Build { + text = $STR_ACTION_BUILD; + script = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;"; + require[] = {"ItemToolbox"}; + consume[] = {"ItemWire"}; + create = "Fort_RazorWire"; + byPass = "byPassRoadCheck"; + }; + }; + }; + + class HandGrenade_Stone; + class ItemTrashToiletpaper : HandGrenade_Stone { + scope = 2; + count = 1; + model = "z\addons\dayz_communityassets\models\toiletpaper.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_toiletpaper_CA.paa"; + displayName = $STR_JUNK_NAME_TOILETPAPER; + descriptionShort = $STR_JUNK_DESC_TOILETPAPER; + type = 256; + ammo = "GrenadeHand_Stone"; + }; + + class ItemKiloHemp : CA_Magazine { + scope = 2; + count = 1; + displayName = "Kilo of Hemp"; + descriptionShort = "Kilo of Hemp"; + weight = 1; + model = "z\addons\dayz_epoch\models\kilohemp.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_kilohemp_CA.paa"; + type = 256; + class ItemActions + { + class Crafting + { + text = $STR_EPOCH_PLAYER_269b; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemKnife"}; + output[] = {{"ItemCanvas",1}}; + input[] = {{"ItemKiloHemp",1}}; + }; + class Crafting1 + { + text = "Craft Hemp Seeds"; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {""}; + requiretools[] = {"ItemKnife"}; + output[] = {{"ItemHempSeed",5}}; + input[] = {{"ItemKiloHemp",1}}; + }; + }; + }; diff --git a/SQF/dayz_code/Configs/CfgMagazines/ItemSoda.hpp b/SQF/dayz_code/Configs/CfgMagazines/ItemSoda.hpp deleted file mode 100644 index 00c336ebf..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/ItemSoda.hpp +++ /dev/null @@ -1,191 +0,0 @@ -class HandGrenade; //External class reference -class ItemSodaEmpty: HandGrenade { - scope = 2; - displayName = $STR_EQUIP_NAME_35; - model = "\dayz_equip\models\soda_coke_e.p3d"; - picture = "\dayz_equip\textures\equip_soda_empty_ca.paa"; - descriptionShort = $STR_EQUIP_DESC_35; - ammo = "SodaCan"; - class ItemActions { - class Crafting { - text = "Melt into Bars"; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"fire"}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"ItemAluminumBar",1}}; - input[] = {{"ItemSodaEmpty",6}}; - }; - }; -}; -class ItemSodaCoke; //External class reference - -class ItemSodaCokeEmpty : ItemSodaEmpty{ - model = "\dayz_equip\models\soda_coke_e.p3d"; - picture = "\dayz_equip\textures\equip_soda_empty_ca.paa"; -}; -class ItemSodaPepsiEmpty : ItemSodaEmpty{ - model = "\dayz_equip\models\soda_pepsi_e.p3d"; - picture = "\dayz_equip\textures\equip_soda_empty_ca.paa"; -}; -class ItemSodaMdewEmpty : ItemSodaEmpty{ - model = "\dayz_equip\models\soda_mdew_e.p3d"; - picture = "\dayz_equip\textures\equip_soda_empty_ca.paa"; -}; - -class ItemSodaMtngreen : ItemSodaCoke { - displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_0; - descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_0; - model = "z\addons\dayz_communityassets\models\soda_mtngreen_clean_full.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_soda_mtngreen_clean_full_ca.paa"; -}; -class ItemSodaMtngreenEmpty : ItemSodaEmpty{ - model = "z\addons\dayz_communityassets\models\soda_mtngreen_clean_empty.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_soda_mtngreen_clean_empty_ca.paa"; - //ammo = "SodaCanMtngreen"; -}; - -class ItemSodaR4z0r : ItemSodaCoke { - displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_1; - descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_1; - model = "z\addons\dayz_communityassets\models\soda_r4z0r_clean_full.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_soda_r4z0r_clean_full_ca.paa"; -}; -class ItemSodaR4z0rEmpty : ItemSodaEmpty{ - model = "z\addons\dayz_communityassets\models\soda_r4z0r_clean_empty.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_soda_r4z0r_clean_empty_ca.paa"; - //ammo = "SodaCanMtngreen"; -}; - -class ItemSodaClays : ItemSodaCoke { - displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_2; - descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_2; - model = "z\addons\dayz_communityassets\models\soda_clays_clean_full.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_soda_clays_clean_full_ca.paa"; -}; -class ItemSodaClaysEmpty : ItemSodaEmpty{ - model = "z\addons\dayz_communityassets\models\soda_clays_clean_empty.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_soda_clays_clean_empty_ca.paa"; - //ammo = "SodaCanMtngreen"; -}; - -class ItemSodaSmasht : ItemSodaCoke { - displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_3; - descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_3; - model = "z\addons\dayz_communityassets\models\soda_smasht_clean_full.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_soda_smasht_clean_full_ca.paa"; -}; -class ItemSodaSmashtEmpty : ItemSodaEmpty{ - model = "z\addons\dayz_communityassets\models\soda_smasht_clean_empty.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_soda_smasht_clean_empty_ca.paa"; - //ammo = "SodaCanMtngreen"; -}; - -class ItemSodaDrwaste : ItemSodaCoke { - displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_4; - descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_4; - model = "z\addons\dayz_communityassets\models\soda_drwaste_clean_full.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_soda_drwaste_clean_full_ca.paa"; -}; -class ItemSodaDrwasteEmpty : ItemSodaEmpty{ - model = "z\addons\dayz_communityassets\models\soda_drwaste_clean_empty.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_soda_drwaste_clean_empty_ca.paa"; - //ammo = "SodaCanMtngreen"; -}; -/* -class ItemSodaFranka : ItemSodaCoke { - displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_5; - descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_5; - model = "z\addons\dayz_communityassets\models\soda_franka_clean_full.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_soda_franka_clean_full_ca.paa"; -}; -class ItemSodaFrankaEmpty : ItemSodaEmpty{ - model = "z\addons\dayz_communityassets\models\soda_franka_clean_empty.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_soda_franka_clean_empty_ca"; - //ammo = "SodaCanMtngreen"; -}; -*/ -class ItemSodaLemonade : ItemSodaCoke { - displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_6; - descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_6; - model = "z\addons\dayz_communityassets\models\soda_lemonade_clean_full.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_soda_lemonade_clean_full_ca.paa"; -}; -class ItemSodaLemonadeEmpty : ItemSodaEmpty{ - model = "z\addons\dayz_communityassets\models\soda_lemonade_clean_empty.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_soda_lemonade_clean_empty_ca.paa"; - //ammo = "SodaCanMtngreen"; -}; -/* -class ItemSodaLirik : ItemSodaCoke { - displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_7; - descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_7; - model = "z\addons\dayz_communityassets\models\soda_lirik_clean_full.p3d"; - //picture = "\z\addons\dayz_communityassets\pictures\equip_soda_lirik_clean_full_ca.paa"; -}; -class ItemSodaLirikEmpty : ItemSodaEmpty{ - model = "z\addons\dayz_communityassets\models\soda_lirik_clean_empty.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_soda_lirik_clean_empty_ca.paa"; - //ammo = "SodaCanMtngreen"; -}; -*/ -class ItemSodaLvg : ItemSodaCoke { - displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_8; - descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_8; - model = "z\addons\dayz_communityassets\models\soda_lvg_clean_full.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_soda_lvg_clean_full_ca.paa"; -}; -class ItemSodaLvgEmpty : ItemSodaEmpty{ - model = "z\addons\dayz_communityassets\models\soda_lvg_clean_empty.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_soda_lvg_clean_empty_ca.paa"; - //ammo = "SodaCanMtngreen"; -}; - -class ItemSodaMzly : ItemSodaCoke { - displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_9; - descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_9; - model = "z\addons\dayz_communityassets\models\soda_mzly_clean_full.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_soda_mzly_clean_full_ca.paa"; -}; -class ItemSodaMzlyEmpty : ItemSodaEmpty{ - model = "z\addons\dayz_communityassets\models\soda_mzly_clean_empty.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_soda_mzly_clean_empty_ca.paa"; - //ammo = "SodaCanMtngreen"; -}; -/* -class ItemSodaPeppsy : ItemSodaCoke { - displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_10; - descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_10; - model = "z\addons\dayz_communityassets\models\soda_peppsy_clean_full.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_soda_peppsy_clean_full_ca.paa"; -}; -class ItemSodaPeppsyEmpty : ItemSodaEmpty{ - model = "z\addons\dayz_communityassets\models\soda_peppsy_clean_empty.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_soda_peppsy_clean_empty_ca.paa"; - //ammo = "SodaCanMtngreen"; -}; -*/ -class ItemSodaRabbit : ItemSodaCoke { - displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_11; - descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_11; - model = "z\addons\dayz_communityassets\models\soda_rabbit_clean_full.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_soda_rabbit_clean_full_ca.paa"; -}; -class ItemSodaRabbitEmpty : ItemSodaEmpty{ - model = "z\addons\dayz_communityassets\models\soda_rabbit_clean_empty.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_soda_rabbit_clean_empty_ca.paa"; - //ammo = "SodaCanMtngreen"; - -}; -/* -class ItemSodaSacrite : ItemSodaCoke { - displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_12; - descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_12; - model = "z\addons\dayz_communityassets\models\soda_sacrite_clean_full.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_soda_sacrite_clean_full_ca.paa"; -}; -class ItemSodaSacriteEmpty : ItemSodaEmpty{ - model = "z\addons\dayz_communityassets\models\soda_sacrite_clean_empty.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_soda_sacrite_clean_empty_ca.paa"; - //ammo = "SodaCanMtngreen"; -}; -*/ \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/ItemWaterbottle.hpp b/SQF/dayz_code/Configs/CfgMagazines/ItemWaterbottle.hpp deleted file mode 100644 index 968b71a9d..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/ItemWaterbottle.hpp +++ /dev/null @@ -1,30 +0,0 @@ -class FoodDrink; -class ItemWaterbottle: FoodDrink { - scope = 2; - refillable = 1; - sfx = "drink"; - wateroz = 10; - displayName = "$STR_EQUIP_NAME_12"; - model = "\dayz_equip\models\waterbottle_gear.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle10oz_ca.paa"; - descriptionShort = "$STR_EQUIP_DESC_12"; -}; -class ItemWaterbottleUnfilled: CA_Magazine { - scope = 2; - count = 1; - type = 256; - displayName = "$STR_EQUIP_NAME_13"; - model = "\dayz_equip\models\waterbottle_gear.p3d"; - picture = "\dayz_equip\textures\equip_waterbottle_empty_ca.paa"; - descriptionShort = "$STR_EQUIP_DESC_13"; - class ItemActions { - class Fill { - text = "$STR_ACTIONS_FILL_W"; - script = "spawn player_fillWater;"; - }; - }; -}; -class ItemWaterbottleBoiled : ItemWaterbottle { - displayName = $STR_ITEMWATERBOTTLEBOILED_CODE_NAME; - descriptionShort = $STR_ITEMWATERBOTTLEBOILED_CODE_DESC; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/Generator.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Generator.hpp index d9b718e0a..50e0a1bec 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/Generator.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/Generator.hpp @@ -15,7 +15,7 @@ class ItemGenerator : CA_Magazine { text = $STR_ACTION_BUILD; script = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;"; - require[] = {"ItemEtool"}; + require[] = {"ItemToolbox"}; consume[] = {"ItemGenerator"}; create = "Generator_DZ"; }; diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/Items.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Items.hpp index fda19dadd..2571955da 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/Items.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/Items.hpp @@ -3,14 +3,14 @@ //Materials #include "Wood.hpp" #include "Stone.hpp" -#include "Sandbag.hpp" +//#include "Sandbag.hpp" #include "MetalFenceItems.hpp" //Simple buildables -#include "Tent.hpp" +//#include "Tent.hpp" //in DZE/Misc #include "CamoNet.hpp" -#include "TankTrap.hpp" -#include "WireFence.hpp" +//#include "TankTrap.hpp" //in DZE/Misc +//#include "WireFence.hpp" //in DZE/Misc #include "BearTrap.hpp" #include "TripWire.hpp" diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/Sandbag.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Sandbag.hpp index d0846bed6..445a05822 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/Sandbag.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/Sandbag.hpp @@ -1,3 +1,4 @@ +// IN DZE/MISC.HPP class ItemSandbag : CA_Magazine { scope = 2; diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/Tent.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Tent.hpp index d0644e422..9e2f57574 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/Tent.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/Tent.hpp @@ -1,3 +1,4 @@ +//TENT CONFIGS ARE FOND IN DZE/MISC.HPP class ItemTent : CA_Magazine { scope = 2; diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/Wood.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Wood.hpp index 0a05db3a4..f11c528a9 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/Wood.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/Wood.hpp @@ -45,7 +45,7 @@ class ItemPlank : CA_Magazine }; }; }; - +/* Redifined in DZE/Misc class PartWoodPile : CA_Magazine { scope = 2; @@ -56,4 +56,4 @@ class PartWoodPile : CA_Magazine picture = "\dayz_equip\textures\equip_woodPile_ca.paa"; displayName = $STR_EQUIP_NAME_40; descriptionShort = $STR_EQUIP_DESC_40; -}; \ No newline at end of file +}; */ \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Magazines/556x45.hpp b/SQF/dayz_code/Configs/CfgMagazines/Magazines/556x45.hpp index 03b9a0543..cae191ea6 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Magazines/556x45.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Magazines/556x45.hpp @@ -14,6 +14,18 @@ class 100Rnd_556x45_M249 : 200Rnd_556x45_M249 displayName = $STR_DZ_MAG_100RND_556X45_M249_NAME; }; +class 100Rnd_556x45_BetaCMag: CA_Magazine { + scope = 2; + displayName = "MG36 Mag."; + ammo = "B_556x45_Ball"; + count = 100; + initSpeed = 920; + picture = "\ca\weapons\g36\data\equip\M_MG36_CA.paa"; + type="256"; + tracersEvery = 4; + lastRoundsTracer = 4; + descriptionShort = "Caliber: 5.56x45 mm NATO Rounds: 100 Used in: MG36, X8 SAW"; +}; /* STANAG <-> G36 */ diff --git a/SQF/dayz_code/Configs/CfgMagazines/Magazines/762x51.hpp b/SQF/dayz_code/Configs/CfgMagazines/Magazines/762x51.hpp index a62ee6238..a60e904a1 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Magazines/762x51.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Magazines/762x51.hpp @@ -56,4 +56,10 @@ class 100Rnd_762x51_M240: CA_Magazine { COMBINE_MAG }; +}; + +class 200Rnd_762x51_M240 : 100Rnd_762x51_M240 { + displayName = "200Rnd. M240"; + count = 200; + descriptionShort = "Caliber: 7.62x51mm NATO
Rounds: 200
Used in: M240, Mk 48 Mod 0"; }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Magazines/Melee.hpp b/SQF/dayz_code/Configs/CfgMagazines/Magazines/Melee.hpp index 06da465df..d797143a4 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Magazines/Melee.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Magazines/Melee.hpp @@ -46,6 +46,13 @@ class Fishing_Swing : Melee_Swing ammo = "Fishing_Swing_Ammo"; }; +class sledge_swing : Melee_Swing { + displayName = "Sledge"; + displayNameMagazine = "Sledge"; + shortNameMagazine = "Sledge"; + ammo = "Sledge_Swing_Ammo"; +}; + class Bat_Swing : Melee_Swing { scope = 2; diff --git a/SQF/dayz_code/Configs/CfgMagazines/Magazines/Shotgun.hpp b/SQF/dayz_code/Configs/CfgMagazines/Magazines/Shotgun.hpp index fa593f6ef..a161eb83b 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Magazines/Shotgun.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Magazines/Shotgun.hpp @@ -59,7 +59,24 @@ class 2Rnd_12Gauge_Slug : 8Rnd_12Gauge_Slug }; }; }; - +class 2Rnd_shotgun_74Slug: 2Rnd_12Gauge_Slug { + count=2; + class ItemActions { + class ReloadMag { + text="Combine to 8 rounds"; + script="spawn player_reloadMag;"; + use[]= { + "2Rnd_shotgun_74Slug", + "2Rnd_shotgun_74Slug", + "2Rnd_shotgun_74Slug", + "2Rnd_shotgun_74Slug" + }; + output[]= { + "8Rnd_12Gauge_Slug" //USE THIS AMMO TYPE INSTEAD OF 8Rnd_B_Beneli_74Slug + }; + }; + }; +}; /* Buckshot */ @@ -120,4 +137,23 @@ class 2Rnd_12Gauge_Buck : 8Rnd_12Gauge_Buck }; }; }; +}; +class 2Rnd_shotgun_74Pellets: 2Rnd_12Gauge_Buck { + displayName="2Rnd. Pellets"; + count=2; + class ItemActions { + class ReloadMag { + text="Combine to 8 rounds"; + script="spawn player_reloadMag;"; + use[]= { + "2Rnd_shotgun_74Pellets", + "2Rnd_shotgun_74Pellets", + "2Rnd_shotgun_74Pellets", + "2Rnd_shotgun_74Pellets" + }; + output[]= { + "8Rnd_12Gauge_Buck" //USE THIS TYPE INSTEAD OF 8Rnd_B_Beneli_Pellets + }; + }; + }; }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Parts.hpp b/SQF/dayz_code/Configs/CfgMagazines/Parts.hpp deleted file mode 100644 index 4a4f606ad..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Parts.hpp +++ /dev/null @@ -1,47 +0,0 @@ -class PartFueltank: CA_Magazine { - scope = 2; - count = 1; - type = 256; - displayName = $STR_EQUIP_NAME_8; - model = "\dayz_equip\models\fueltank.p3d"; - picture = "\dayz_equip\textures\equip_fueltank_ca.paa"; - descriptionShort = $STR_EQUIP_DESC_8; - class ItemActions { - class Crafting { - text = $STR_EPOCH_PLAYER_212; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox","ItemCrowbar"}; - output[] = {{"PartGeneric",1}}; - input[] = {{"PartFueltank",1}}; - }; - }; -}; -class PartWheel: CA_Magazine { - scope = 2; - count = 1; - type = 256; - displayName = $STR_EQUIP_NAME_9; - model = "\dayz_equip\models\wheel.p3d"; - picture = "\dayz_equip\textures\equip_wheel_ca.paa"; - descriptionShort = $STR_EQUIP_DESC_9; -}; -class PartGeneric: CA_Magazine { - scope = 2; - count = 1; - type = 256; - displayName = $STR_EQUIP_NAME_10; - model = "\dayz_equip\models\genericparts.p3d"; - picture = "\dayz_equip\textures\equip_genericparts_ca.paa"; - descriptionShort = $STR_EQUIP_DESC_10; - class ItemActions { - class Crafting { - text = $STR_EPOCH_PLAYER_213; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"fire"}; - requiretools[] = {"ItemToolbox","ItemCrowbar"}; - output[] = {{"ItemPole",1}}; - input[] = {{"PartGeneric",2}}; - }; - }; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Trash/Misc.hpp b/SQF/dayz_code/Configs/CfgMagazines/Trash/Misc.hpp index 744331b68..345dbd953 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Trash/Misc.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Trash/Misc.hpp @@ -93,7 +93,7 @@ class ItemTrashRazor : CA_Magazine displayName = $STR_JUNK_NAME_RAZOR; descriptionShort = $STR_JUNK_DESC_RAZOR; }; - +/* //IN DZE/MISC class ItemTrashToiletpaper : CA_Magazine { scope = 2; @@ -105,3 +105,4 @@ class ItemTrashToiletpaper : CA_Magazine displayName = $STR_JUNK_NAME_TOILETPAPER; descriptionShort = $STR_JUNK_DESC_TOILETPAPER; }; +*/ \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/VehicleParts.hpp b/SQF/dayz_code/Configs/CfgMagazines/VehicleParts.hpp index e9f8ff8c9..ee172e1cb 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/VehicleParts.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/VehicleParts.hpp @@ -8,6 +8,16 @@ class PartFueltank : CA_Magazine picture = "\dayz_equip\textures\equip_fueltank_ca.paa"; displayName = $STR_EQUIP_NAME_8; descriptionShort = $STR_EQUIP_DESC_8; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_212; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemCrowbar"}; + output[] = {{"PartGeneric",1}}; + input[] = {{"PartFueltank",1}}; + }; + }; }; class PartWheel : CA_Magazine @@ -32,6 +42,17 @@ class PartEngine : CA_Magazine picture = "\dayz_equip\textures\equip_engine_ca.paa"; displayName = $STR_EQUIP_NAME_11; descriptionShort = $STR_EQUIP_DESC_11; + class ItemActions { + class Crafting + { + text = $STR_EPOCH_PLAYER_212; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemCrowbar"}; + output[] = {{"PartGeneric",2}}; + input[] = {{"PartEngine",1}}; + }; + }; }; class PartVRotor : CA_Magazine @@ -44,6 +65,17 @@ class PartVRotor : CA_Magazine picture = "\dayz_equip\textures\equip_vrotor_ca.paa"; displayName = $STR_EQUIP_NAME_32; descriptionShort = $STR_EQUIP_DESC_32; + class ItemActions { + class Crafting + { + text = $STR_EPOCH_PLAYER_212; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemCrowbar"}; + output[] = {{"PartGeneric",3}}; + input[] = {{"PartVRotor",1}}; + }; + }; }; class PartGlass : CA_Magazine @@ -68,4 +100,14 @@ class PartGeneric : CA_Magazine picture = "\dayz_equip\textures\equip_genericparts_ca.paa"; displayName = $STR_EQUIP_NAME_10; descriptionShort = $STR_EQUIP_DESC_10; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_213; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"fire"}; + requiretools[] = {"ItemToolbox","ItemCrowbar"}; + output[] = {{"ItemPole",1}}; + input[] = {{"PartGeneric",2}}; + }; + }; }; \ No newline at end of file