diff --git a/.gitignore b/.gitignore index 537406428..c6d59baf9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,9 @@ /Skaronator /SkaronatorServer +/SQF/dayz_code/config.bin /SQF/dayz_equip /SQF/dayz_vehicles /SQF/dayz_weapons *.rtm -*.p3d \ No newline at end of file +*.p3d +*.komodoproject diff --git a/SQF/dayz_code/Configs/CfgMagazines.hpp b/SQF/dayz_code/Configs/CfgMagazines.hpp index 0dcfcb816..d2c27e862 100644 --- a/SQF/dayz_code/Configs/CfgMagazines.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines.hpp @@ -2,543 +2,31 @@ class CfgMagazines { class CA_Magazine; // External class reference // Ammmo - 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 29Rnd_30mm_AGS30 : CA_Magazine { - scope = 2; - displayName = "HE Rounds"; - model = "\z\addons\dayz_epoch\models\30mm_mag.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_30mm_mag_ca.paa"; - ammo = "G_30mm_HE"; - count = 29; - type = "256"; - initSpeed = 185; - maxLeadSpeed = 100; - nameSound = "grenadelauncher"; - weight = 16; - }; - - class 50Rnd_127x107_DSHKM : CA_Magazine { - scope = 2; - displayName = "DShKM"; - picture = "\z\addons\dayz_epoch\pictures\equip_Dshkm_mag_ca.paa"; - model = "\z\addons\dayz_epoch\models\dshkm_mag.p3d"; - ammo = "B_127x107_Ball"; - count = 50; - type = "256"; - initSpeed = 850; - maxLeadSpeed = 200; - tracersEvery = 3; - lastRoundsTracer = 5; - nameSound = "mgun"; - weight = 4; - }; - class 100Rnd_127x99_M2 : CA_Magazine { - scope = 2; - displayName = "M2 Machine Gun"; - model = "\z\addons\dayz_epoch\models\50cal_mag.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_50cal_mag_ca.paa"; - ammo = "B_127x99_Ball"; - count = 100; - type = "256"; - initSpeed = 930; - maxLeadSpeed = 200; - tracersEvery = 3; - lastRoundsTracer = 5; - nameSound = "mgun"; - weight = 8; - }; - class 2000Rnd_762x51_M134 : CA_Magazine { - count = 2000; - scope = 2; - displayName = "M134 7.62 Nato"; - picture = "\z\addons\dayz_epoch\pictures\equip_m134_mag_ca.paa"; - model = "\z\addons\dayz_epoch\models\m134_mag.p3d"; - ammo = "B_762x51_3RndBurst"; - type = "256"; - maxLeadSpeed = 200; - tracersEvery = 5; - nameSound = "mgun"; - weight = 50; - }; - class 48Rnd_40mm_MK19 : CA_Magazine { - scope = 2; - displayName = "Mk. 19 40mm"; - model = "\z\addons\dayz_epoch\models\40mm_mag.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_40mm_mag_ca.paa"; - ammo = "G_40mm_HE"; - count = 48; - type = "256"; - initSpeed = 240; - maxLeadSpeed = 100; - nameSound = "grenadelauncher"; - weight = 25; - }; - - 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"; - }; + #include "CfgMagazines\Ammo.hpp" + #include "CfgMagazines\VehicleAmmo.hpp" // Gems - class ItemTopaz : CA_Magazine { - scope = 2; - displayName = "Topaz"; - model = "\z\addons\dayz_epoch\models\topaz.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_topaz_CA.paa"; - count = 1; - type = "256"; - descriptionShort = "Topaz"; - }; - class ItemObsidian : CA_Magazine { - scope = 2; - displayName = "Obsidian"; - model = "\z\addons\dayz_epoch\models\obsidian.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_obsidian_CA.paa"; - count = 1; - type = "256"; - descriptionShort = "Obsidian"; - }; - class ItemSapphire : CA_Magazine { - scope = 2; - displayName = "Sapphire"; - model = "\z\addons\dayz_epoch\models\sapphire.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_sapphire_CA.paa"; - count = 1; - type = "256"; - descriptionShort = "Sapphire"; - }; - class ItemAmethyst : CA_Magazine { - scope = 2; - displayName = "Amethyst"; - model = "\z\addons\dayz_epoch\models\amethyst.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_amethyst_CA.paa"; - count = 1; - type = "256"; - descriptionShort = "Amethyst"; - }; - class ItemEmerald : CA_Magazine { - scope = 2; - displayName = "Emerald"; - model = "\z\addons\dayz_epoch\models\emerald.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_emerald_CA.paa"; - count = 1; - type = "256"; - descriptionShort = "Emerald"; - }; - class ItemCitrine : CA_Magazine { - scope = 2; - displayName = "Citrine"; - model = "\z\addons\dayz_epoch\models\citrine.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_citrine_CA.paa"; - count = 1; - type = "256"; - descriptionShort = "Citrine"; - }; - class ItemRuby : CA_Magazine { - scope = 2; - displayName = "Ruby"; - model = "\z\addons\dayz_epoch\models\ruby.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_ruby_CA.paa"; - count = 1; - type = "256"; - descriptionShort = "Ruby"; - }; - - class ItemMixOil : CA_Magazine { - scope = 2; - displayName = "2-Stroke Engine Oil"; - model = "\z\addons\dayz_epoch\models\oilmix.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_oilmix_CA.paa"; - count = 1; - type = "256"; - descriptionShort = "2-Stroke Engine Oil"; - sfx = "refuel"; - class ItemActions - { - class Crafting - { - text = "Mix Chainsaw Gas"; // TODO: localize - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemJerryMixed",1}}; - input[] = {{"ItemMixOil",1},{"ItemJerrycan",1}}; - }; - }; - }; + #include "CfgMagazines\DZE\Gems.hpp" + // Items + #include "CfgMagazines\DZE\Items.hpp" + #include "CfgMagazines\DZE\Bulk.hpp" + // Currency + #include "CfgMagazines\DZE\Currency\Briefcase.hpp" + #include "CfgMagazines\DZE\Currency\GoldBar.hpp" + #include "CfgMagazines\DZE\Currency\SilverBar.hpp" + #include "CfgMagazines\DZE\Currency\CopperBar.hpp" + #include "CfgMagazines\DZE\Currency\BronzeBar.hpp" + #include "CfgMagazines\DZE\Currency\AluminumBar.hpp" + #include "CfgMagazines\DZE\Currency\TinBar.hpp" + // Building Stuff + #include "CfgMagazines\DZE\ModularBuilding.hpp" - class CSGAS : CA_Magazine { - scope = 2; - type = VSoft; - displayName = "Gas"; - descriptionShort = "Gas for Chainsaw"; - count = 1000; - picture = "\CA\weapons\data\equip\m_m240_ca.paa"; - ammo = "Chainsaw_Swing_Ammo"; + #include "CfgMagazines\Parts.hpp" + #include "CfgMagazines\Skins.hpp" - initSpeed = 100; - maxLeadSpeed = 15; - tracersEvery = 0; - lastRoundsTracer = 0; - - optics = false; - distanceZoomMin = 0; - distanceZoomMax = 0; - - showEmpty = 0; - autoReload = true; - canLock = LockNo; - - // - burst = 1; - multiplier = 1; - ffMagnitude = 0.1; - ffFrequency = 1; - ffCount = 1; - - class HitEffects { - hit_blood = "ImpactBlood"; - hit_concrete = "ImpactConcrete"; - hit_foliage = "ImpactWood"; - hit_foliage_green = "ImpactWood"; - hit_glass = "ImpactGlass"; - hit_glass_thin = "ImpactGlassThin"; - hit_metal = "ImpactMetal"; - hit_plaster = "ImpactPlaster"; - hit_rubber = "ImpactRubber"; - hit_wood = "ImpactWood"; - }; - }; - - class 200Rnd_762x51_M240 : 100Rnd_762x51_M240 { - count = 200; - }; - - 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"; - }; - - // Items - class ItemHotwireKit: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Hotwire kit"; - model = "\z\addons\dayz_epoch\models\hotwire.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_hotwire_ca.paa"; - descriptionShort = "Used to temporarily unlock and start a vehicle has a chance of failure and is consumed on use."; - weight = 2; - }; - - class ItemDocument: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Document"; - model = "\z\addons\dayz_epoch\models\doc_generic.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_doc_generic_ca.paa"; - descriptionShort = "Unknown document"; - weight = 0.1; - sfx = "document"; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_188; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - randomOutput = 1; - output[] = {{"ItemLetter",1},{"ItemDocumentRamp",1},{"ItemBook1",1},{"ItemBook2",1},{"ItemBook3",1},{"ItemBook4",1},{"ItemNewspaper",1},{"ItemORP",1},{"ItemAVE",1},{"ItemLRK",1},{"ItemTNK",1},{"ItemPlotDeed",1}}; - input[] = {{"ItemDocument",1}}; - }; - }; - - }; - - class ItemORP: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = $STR_EPOCH_VEHUP_ORP; - model = "\z\addons\dayz_epoch\models\doc_Up1.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_docup1_ca.paa"; - descriptionShort = $STR_EPOCH_VEHUP_ORP_DESC; - weight = 0.1; - sfx = "document"; - class ItemActions - { - class Upgrades - { - text = $STR_EPOCH_PLAYER_UPGRADEV; - script = "spawn player_upgradeVehicle;"; - }; - }; - - }; - - class ItemAVE: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = $STR_EPOCH_VEHUP_AVE; - model = "\z\addons\dayz_epoch\models\doc_Up2.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_docup2_ca.paa"; - descriptionShort = $STR_EPOCH_VEHUP_AVE_DESC; - weight = 0.1; - sfx = "document"; - class ItemActions - { - class Upgrades - { - text = $STR_EPOCH_PLAYER_UPGRADEV; - script = "spawn player_upgradeVehicle;"; - }; - }; - - }; - - class ItemLRK: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = $STR_EPOCH_VEHUP_LRK; - model = "\z\addons\dayz_epoch\models\doc_Up3.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_docup3_ca.paa"; - descriptionShort = $STR_EPOCH_VEHUP_LRK_DESC; - weight = 0.1; - sfx = "document"; - class ItemActions - { - class Upgrades - { - text = $STR_EPOCH_PLAYER_UPGRADEV; - script = "spawn player_upgradeVehicle;"; - }; - }; - - }; - - class ItemTNK: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = $STR_EPOCH_VEHUP_TNK; - model = "\z\addons\dayz_epoch\models\doc_Up4.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_docup4_ca.paa"; - descriptionShort = $STR_EPOCH_VEHUP_TNK_DESC; - weight = 0.1; - sfx = "document"; - class ItemActions - { - class Upgrades - { - text = $STR_EPOCH_PLAYER_UPGRADEV; - script = "spawn player_upgradeVehicle;"; - }; - }; - - }; - - class ItemPlotDeed: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Plot Deed"; // TODO: localize - model = "\z\addons\dayz_epoch\models\doc_generic.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_doc_generic_ca.paa"; - descriptionShort = "Deed to a plot of land, similar to a plot pole."; // TODO: localize - weight = 0.1; - sfx = "document"; - class ItemActions - { - class Crafting - { - text = "Craft Plot Pole"; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"30m_plot_kit",1}}; - input[] = {{"ItemPlotDeed",1},{"ItemGoldBar10oz",2}}; - }; - }; - - }; - - class ItemLetter: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Letter"; - model = "\z\addons\dayz_epoch\models\doc_letter.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_doc_letter_ca.paa"; - descriptionShort = "Random letter"; - weight = 0.1; - }; - class ItemBook1: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Romance Novel"; - model = "\z\addons\dayz_epoch\models\doc_trashy1.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_trashy1_ca.paa"; - descriptionShort = "Trashy Romance Novel - ""The seas are laden with lust and jealousy."""; - weight = 0.1; - }; - class ItemBook2: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Romance Novel"; - model = "\z\addons\dayz_epoch\models\doc_trashy2.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_trashy2_ca.paa"; - descriptionShort = "Trashy Romance Novel - ""He had a chest of iron, and a heart of gold."""; - weight = 0.1; - }; - class ItemBook3: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Book"; - model = "\z\addons\dayz_epoch\models\doc_child1.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_child1_ca.paa"; - descriptionShort = "Random Children's Book"; - weight = 0.1; - }; - class ItemBook4: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Book"; - model = "\z\addons\dayz_epoch\models\doc_child2.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_child2_ca.paa"; - descriptionShort = "Random Children's Book"; - weight = 0.1; - }; - class ItemNewspaper: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Torn Newspaper"; - model = "\z\addons\dayz_epoch\models\doc_deaths.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_deaths_ca.paa"; - descriptionShort = "Torn Newspaper - ""The recent obituaries are stil legible..."""; - weight = 0.1; - class ItemActions - { - class Obituaries - { - text = "Read Obituaries"; // TODO: localize - script = "spawn player_deathBoard;"; - - }; - }; - }; - class ItemDocumentRamp: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Wood Ramp"; - model = "\z\addons\dayz_epoch\models\doc_ramp.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_doc_ramp_ca.paa"; - descriptionShort = "Document used in building a wooden ramp."; - weight = 0.1; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_189; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"wood_ramp_kit",1}}; - input[] = {{"ItemDocumentRamp",1},{"PartWoodLumber",8}}; - }; - }; - }; + // ItemSoda + #include "CfgMagazines\ItemSoda.hpp" + #include "CfgMagazines\DZE\ItemSoda.hpp" class ItemCanvas: CA_Magazine { @@ -641,1517 +129,8 @@ class CfgMagazines { }; }; }; - class ItemBriefcase_Base: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Briefcase"; - model = "\z\addons\dayz_epoch\models\briefcase.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_briefcase_CA.paa"; - }; - class ItemBriefcaseEmpty: ItemBriefcase_Base - { - picture = "\z\addons\dayz_epoch\pictures\equip_briefcase_E_CA.paa"; - descriptionShort = "Empty Briefcase"; - weight = 1; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_197; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemBriefcase10oz",1}}; - input[] = {{"ItemBriefcaseEmpty",1},{"ItemGoldBar10oz",1}}; - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_198; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemBriefcase100oz",1}}; - input[] = {{"ItemBriefcaseEmpty",1},{"ItemGoldBar10oz",10}}; - }; - }; - }; - class ItemBriefcase10oz: ItemBriefcase_Base - { - picture = "\z\addons\dayz_epoch\pictures\equip_briefcase_10oz_CA.paa"; - descriptionShort = "Briefcase (Contains: 1 x 10oz Gold Bar)"; - weight = 1.2; - worth = 1000; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_197; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemBriefcase20oz",1}}; - input[] = {{"ItemBriefcase10oz",1},{"ItemGoldBar10oz",1}}; - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_199; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemBriefcase100oz",1}}; - input[] = {{"ItemBriefcase10oz",1},{"ItemGoldBar10oz",9}}; - }; - class Crafting2 - { - text = $STR_EPOCH_PLAYER_200; - script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar10oz",1},{"ItemBriefcaseEmpty",1}}; - input[] = {{"ItemBriefcase10oz",1}}; - }; - }; - }; - class ItemBriefcase20oz: ItemBriefcase_Base - { - picture = "\z\addons\dayz_epoch\pictures\equip_briefcase_20oz_CA.paa"; - descriptionShort = "Briefcase (Contains: 2 x 10oz Gold Bar)"; - weight = 1.5; - worth = 2000; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_197; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemBriefcase30oz",1}}; - input[] = {{"ItemBriefcase20oz",1},{"ItemGoldBar10oz",1}}; - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_202; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemBriefcase100oz",1}}; - input[] = {{"ItemBriefcase20oz",1},{"ItemGoldBar10oz",8}}; - }; - class Crafting2 - { - text = $STR_EPOCH_PLAYER_200; - script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar10oz",1},{"ItemBriefcase10oz",1}}; - input[] = {{"ItemBriefcase20oz",1}}; - }; - class Crafting3 - { - text = $STR_EPOCH_PLAYER_201; - script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar10oz",2},{"ItemBriefcaseEmpty",1}}; - input[] = {{"ItemBriefcase20oz",1}}; - }; - }; - }; - class ItemBriefcase30oz: ItemBriefcase_Base - { - picture = "\z\addons\dayz_epoch\pictures\equip_briefcase_30oz_CA.paa"; - descriptionShort = "Briefcase (Contains: 3 x 10oz Gold Bar)"; - weight = 1.8; - worth = 3000; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_197; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemBriefcase40oz",1}}; - input[] = {{"ItemBriefcase30oz",1},{"ItemGoldBar10oz",1}}; - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_203; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemBriefcase100oz",1}}; - input[] = {{"ItemBriefcase30oz",1},{"ItemGoldBar10oz",7}}; - }; - class Crafting2 - { - text = $STR_EPOCH_PLAYER_200; - script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar10oz",1},{"ItemBriefcase20oz",1}}; - input[] = {{"ItemBriefcase30oz",1}}; - }; - class Crafting3 - { - text = $STR_EPOCH_PLAYER_201; - script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar10oz",3},{"ItemBriefcaseEmpty",1}}; - input[] = {{"ItemBriefcase30oz",1}}; - }; - }; - }; - class ItemBriefcase40oz: ItemBriefcase_Base - { - picture = "\z\addons\dayz_epoch\pictures\equip_briefcase_40oz_CA.paa"; - descriptionShort = "Briefcase (Contains: 4 x 10oz Gold Bar)"; - weight = 2.1; - worth = 4000; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_197; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemBriefcase50oz",1}}; - input[] = {{"ItemBriefcase40oz",1},{"ItemGoldBar10oz",1}}; - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_204; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemBriefcase100oz",1}}; - input[] = {{"ItemBriefcase40oz",1},{"ItemGoldBar10oz",6}}; - }; - class Crafting2 - { - text = $STR_EPOCH_PLAYER_200; - script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar10oz",1},{"ItemBriefcase30oz",1}}; - input[] = {{"ItemBriefcase40oz",1}}; - }; - class Crafting3 - { - text = $STR_EPOCH_PLAYER_201; - script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar10oz",4},{"ItemBriefcaseEmpty",1}}; - input[] = {{"ItemBriefcase40oz",1}}; - }; - }; - }; - class ItemBriefcase50oz: ItemBriefcase_Base - { - picture = "\z\addons\dayz_epoch\pictures\equip_briefcase_50oz_CA.paa"; - descriptionShort = "Briefcase (Contains: 5 x 10oz Gold Bar)"; - weight = 2.4; - worth = 5000; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_197; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemBriefcase60oz",1}}; - input[] = {{"ItemBriefcase50oz",1},{"ItemGoldBar10oz",1}}; - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_205; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemBriefcase100oz",1}}; - input[] = {{"ItemBriefcase50oz",1},{"ItemGoldBar10oz",5}}; - }; - class Crafting2 - { - text = $STR_EPOCH_PLAYER_200; - script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar10oz",1},{"ItemBriefcase40oz",1}}; - input[] = {{"ItemBriefcase50oz",1}}; - }; - class Crafting3 - { - text = $STR_EPOCH_PLAYER_201; - script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar10oz",5},{"ItemBriefcaseEmpty",1}}; - input[] = {{"ItemBriefcase50oz",1}}; - }; - }; - }; - class ItemBriefcase60oz: ItemBriefcase_Base - { - picture = "\z\addons\dayz_epoch\pictures\equip_briefcase_60oz_CA.paa"; - descriptionShort = "Briefcase (Contains: 6 x 10oz Gold Bar)"; - weight = 2.7; - worth = 6000; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_197; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemBriefcase70oz",1}}; - input[] = {{"ItemBriefcase60oz",1},{"ItemGoldBar10oz",1}}; - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_206; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemBriefcase100oz",1}}; - input[] = {{"ItemBriefcase60oz",1},{"ItemGoldBar10oz",4}}; - }; - class Crafting2 - { - text = $STR_EPOCH_PLAYER_200; - script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar10oz",1},{"ItemBriefcase50oz",1}}; - input[] = {{"ItemBriefcase60oz",1}}; - }; - class Crafting3 - { - text = $STR_EPOCH_PLAYER_201; - script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar10oz",6},{"ItemBriefcaseEmpty",1}}; - input[] = {{"ItemBriefcase60oz",1}}; - }; - }; - }; - class ItemBriefcase70oz: ItemBriefcase_Base - { - picture = "\z\addons\dayz_epoch\pictures\equip_briefcase_70oz_CA.paa"; - descriptionShort = "Briefcase (Contains: 7 x 10oz Gold Bar)"; - weight = 2.9; - worth = 7000; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_197; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemBriefcase80oz",1}}; - input[] = {{"ItemBriefcase70oz",1},{"ItemGoldBar10oz",1}}; - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_207; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemBriefcase100oz",1}}; - input[] = {{"ItemBriefcase70oz",1},{"ItemGoldBar10oz",3}}; - }; - class Crafting2 - { - text = $STR_EPOCH_PLAYER_200; - script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar10oz",1},{"ItemBriefcase60oz",1}}; - input[] = {{"ItemBriefcase70oz",1}}; - }; - class Crafting3 - { - text = $STR_EPOCH_PLAYER_201; - script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar10oz",7},{"ItemBriefcaseEmpty",1}}; - input[] = {{"ItemBriefcase70oz",1}}; - }; - }; - }; - class ItemBriefcase80oz: ItemBriefcase_Base - { - picture = "\z\addons\dayz_epoch\pictures\equip_briefcase_80oz_CA.paa"; - descriptionShort = "Briefcase (Contains: 8 x 10oz Gold Bar)"; - weight = 3.2; - worth = 8000; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_197; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemBriefcase90oz",1}}; - input[] = {{"ItemBriefcase80oz",1},{"ItemGoldBar10oz",1}}; - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_208; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemBriefcase100oz",1}}; - input[] = {{"ItemBriefcase80oz",1},{"ItemGoldBar10oz",2}}; - }; - class Crafting2 - { - text = $STR_EPOCH_PLAYER_200; - script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar10oz",1},{"ItemBriefcase70oz",1}}; - input[] = {{"ItemBriefcase80oz",1}}; - }; - class Crafting3 - { - text = $STR_EPOCH_PLAYER_201; - script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar10oz",8},{"ItemBriefcaseEmpty",1}}; - input[] = {{"ItemBriefcase80oz",1}}; - }; - }; - }; - class ItemBriefcase90oz: ItemBriefcase_Base - { - picture = "\z\addons\dayz_epoch\pictures\equip_briefcase_90oz_CA.paa"; - descriptionShort = "Briefcase (Contains: 9 x 10oz Gold Bar)"; - weight = 3.5; - worth = 9000; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_197; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemBriefcase100oz",1}}; - input[] = {{"ItemBriefcase90oz",1},{"ItemGoldBar10oz",1}}; - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_200; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar10oz",1},{"ItemBriefcase80oz",1}}; - input[] = {{"ItemBriefcase90oz",1}}; - }; - class Crafting2 - { - text = $STR_EPOCH_PLAYER_201; - script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar10oz",9},{"ItemBriefcaseEmpty",1}}; - input[] = {{"ItemBriefcase90oz",1}}; - }; - }; - }; - class ItemBriefcase100oz: ItemBriefcase_Base - { - picture = "\z\addons\dayz_epoch\pictures\equip_briefcase_100oz_CA.paa"; - descriptionShort = "Briefcase (Contains: 10 x 10oz Gold Bar)"; - weight = 3.8; - worth = 10000; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_200; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar10oz",1},{"ItemBriefcase90oz",1}}; - input[] = {{"ItemBriefcase100oz",1}}; - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_201; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar10oz",10},{"ItemBriefcaseEmpty",1}}; - input[] = {{"ItemBriefcase100oz",1}}; - }; - }; - }; - class ItemGoldBar: CA_Magazine - { - scope = 2; - count = 1; - worth = 100; - type = 256; - displayName = "Gold"; - model = "\z\addons\dayz_epoch\models\ItemGoldBar1oz.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_gold_bar_CA.paa"; - descriptionShort = "Gold Bar"; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_210_1; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar2oz",1}}; - input[] = {{"ItemGoldBar",2}}; - - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_210_9; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar10oz",1}}; - input[] = {{"ItemGoldBar",10}}; - }; - }; - }; - class ItemGoldBar2oz: CA_Magazine - { - scope = 2; - count = 1; - worth = 200; - type = 256; - displayName = "2oz Gold"; - model = "\z\addons\dayz_epoch\models\ItemGoldBar2oz.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_gold_bar_CA.paa"; - descriptionShort = "2 x 1oz Gold Bar"; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_210_1; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar3oz",1}}; - input[] = {{"ItemGoldBar2oz",1},{"ItemGoldBar",1}}; - - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_211_1; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar",2}}; - input[] = {{"ItemGoldBar2oz",1}}; - - }; - class Crafting2 - { - text = $STR_EPOCH_PLAYER_210_8; - script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar10oz",1}}; - input[] = {{"ItemGoldBar2oz",1},{"ItemGoldBar",8}}; - }; - }; - }; - class ItemGoldBar3oz: CA_Magazine - { - scope = 2; - count = 1; - worth = 300; - type = 256; - displayName = "3oz Gold"; - model = "\z\addons\dayz_epoch\models\ItemGoldBar3oz.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_gold_bar_CA.paa"; - descriptionShort = "3 x 1oz Gold Bar"; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_210_1; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar4oz",1}}; - input[] = {{"ItemGoldBar3oz",1},{"ItemGoldBar",1}}; - - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_211_1; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar2oz",1},{"ItemGoldBar",1}}; - input[] = {{"ItemGoldBar3oz",1}}; - - }; - class Crafting2 - { - text = $STR_EPOCH_PLAYER_210_7; - script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar10oz",1}}; - input[] = {{"ItemGoldBar3oz",1},{"ItemGoldBar",7}}; - }; - class Crafting3 - { - text = $STR_EPOCH_PLAYER_211; - script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar",3}}; - input[] = {{"ItemGoldBar3oz",1}}; - }; - }; - }; - class ItemGoldBar4oz: CA_Magazine - { - scope = 2; - count = 1; - worth = 400; - type = 256; - displayName = "4oz Gold"; - model = "\z\addons\dayz_epoch\models\ItemGoldBar4oz.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_gold_bar_CA.paa"; - descriptionShort = "4 x 1oz Gold Bar"; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_210_1; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar5oz",1}}; - input[] = {{"ItemGoldBar4oz",1},{"ItemGoldBar",1}}; - - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_211_1; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar3oz",1},{"ItemGoldBar",1}}; - input[] = {{"ItemGoldBar4oz",1}}; - - }; - class Crafting2 - { - text = $STR_EPOCH_PLAYER_210_6; - script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar10oz",1}}; - input[] = {{"ItemGoldBar4oz",1},{"ItemGoldBar",6}}; - }; - class Crafting3 - { - text = $STR_EPOCH_PLAYER_211; - script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar",4}}; - input[] = {{"ItemGoldBar4oz",1}}; - }; - }; - }; - class ItemGoldBar5oz: CA_Magazine - { - scope = 2; - count = 1; - worth = 500; - type = 256; - displayName = "5oz Gold"; - model = "\z\addons\dayz_epoch\models\ItemGoldBar5oz.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_gold_bar_CA.paa"; - descriptionShort = "5 x 1oz Gold Bar"; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_210_1; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar6oz",1}}; - input[] = {{"ItemGoldBar5oz",1},{"ItemGoldBar",1}}; - - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_211_1; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar4oz",1},{"ItemGoldBar",1}}; - input[] = {{"ItemGoldBar5oz",1}}; - - }; - class Crafting2 - { - text = $STR_EPOCH_PLAYER_210_5; - script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar10oz",1}}; - input[] = {{"ItemGoldBar5oz",1},{"ItemGoldBar",5}}; - }; - class Crafting3 - { - text = $STR_EPOCH_PLAYER_211; - script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar",5}}; - input[] = {{"ItemGoldBar5oz",1}}; - }; - }; - }; - class ItemGoldBar6oz: CA_Magazine - { - scope = 2; - count = 1; - worth = 600; - type = 256; - displayName = "6oz Gold"; - model = "\z\addons\dayz_epoch\models\ItemGoldBar6oz.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_gold_bar_CA.paa"; - descriptionShort = "6 x 1oz Gold Bar"; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_210_1; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar7oz",1}}; - input[] = {{"ItemGoldBar6oz",1},{"ItemGoldBar",1}}; - - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_211_1; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar5oz",1},{"ItemGoldBar",1}}; - input[] = {{"ItemGoldBar6oz",1}}; - - }; - class Crafting2 - { - text = $STR_EPOCH_PLAYER_210_4; - script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar10oz",1}}; - input[] = {{"ItemGoldBar6oz",1},{"ItemGoldBar",4}}; - }; - class Crafting3 - { - text = $STR_EPOCH_PLAYER_211; - script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar",6}}; - input[] = {{"ItemGoldBar6oz",1}}; - }; - }; - }; - class ItemGoldBar7oz: CA_Magazine - { - scope = 2; - count = 1; - worth = 700; - type = 256; - displayName = "7oz Gold"; - model = "\z\addons\dayz_epoch\models\ItemGoldBar7oz.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_gold_bar_CA.paa"; - descriptionShort = "7 x 1oz Gold Bar"; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_210_1; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar8oz",1}}; - input[] = {{"ItemGoldBar7oz",1},{"ItemGoldBar",1}}; - - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_211_1; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar6oz",1},{"ItemGoldBar",1}}; - input[] = {{"ItemGoldBar7oz",1}}; - - }; - class Crafting2 - { - text = $STR_EPOCH_PLAYER_210_3; - script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar10oz",1}}; - input[] = {{"ItemGoldBar7oz",1},{"ItemGoldBar",3}}; - }; - class Crafting3 - { - text = $STR_EPOCH_PLAYER_211; - script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar",7}}; - input[] = {{"ItemGoldBar7oz",1}}; - }; - }; - }; - class ItemGoldBar8oz: CA_Magazine - { - scope = 2; - count = 1; - worth = 800; - type = 256; - displayName = "8oz Gold"; - model = "\z\addons\dayz_epoch\models\ItemGoldBar8oz.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_gold_bar_CA.paa"; - descriptionShort = "8 x 1oz Gold Bar"; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_210_1; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar9oz",1}}; - input[] = {{"ItemGoldBar8oz",1},{"ItemGoldBar",1}}; - - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_211_1; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar7oz",1},{"ItemGoldBar",1}}; - input[] = {{"ItemGoldBar8oz",1}}; - - }; - class Crafting2 - { - text = $STR_EPOCH_PLAYER_210_2; - script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar10oz",1}}; - input[] = {{"ItemGoldBar8oz",1},{"ItemGoldBar",2}}; - }; - class Crafting3 - { - text = $STR_EPOCH_PLAYER_211; - script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar",8}}; - input[] = {{"ItemGoldBar8oz",1}}; - }; - }; - }; - class ItemGoldBar9oz: CA_Magazine - { - scope = 2; - count = 1; - worth = 900; - type = 256; - displayName = "9oz Gold"; - model = "\z\addons\dayz_epoch\models\ItemGoldBar9oz.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_gold_bar_CA.paa"; - descriptionShort = "9 x 1oz Gold Bar"; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_210_1; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar10oz",1}}; - input[] = {{"ItemGoldBar9oz",1},{"ItemGoldBar",1}}; - - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_211_1; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar8oz",1},{"ItemGoldBar",1}}; - input[] = {{"ItemGoldBar9oz",1}}; - - }; - class Crafting3 - { - text = $STR_EPOCH_PLAYER_211; - script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar",9}}; - input[] = {{"ItemGoldBar9oz",1}}; - }; - }; - }; - class ItemGoldBar10oz: CA_Magazine - { - scope = 2; - count = 1; - worth = 1000; - type = 256; - displayName = "10oz Gold"; - model = "\z\addons\dayz_epoch\models\ItemGoldBar10oz.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_gold_bar_10oz_CA.paa"; - descriptionShort = "10 x 1oz Gold Bar"; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_211_1; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar9oz",1},{"ItemGoldBar",1}}; - input[] = {{"ItemGoldBar10oz",1}}; - - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_211; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemGoldBar",10}}; - input[] = {{"ItemGoldBar10oz",1}}; - }; - }; - }; - class ItemSilverBar: CA_Magazine - { - scope = 2; - count = 1; - worth = 1; - type = 256; - displayName = "Silver"; - model = "\z\addons\dayz_epoch\models\ItemSilverBar1oz.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa"; - descriptionShort = "Silver Bar"; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_210_1; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar2oz",1}}; - input[] = {{"ItemSilverBar",2}}; - - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_210_9; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar10oz",1}}; - input[] = {{"ItemSilverBar",10}}; - }; - }; - }; - class ItemSilverBar2oz: CA_Magazine - { - scope = 2; - count = 1; - worth = 2; - type = 256; - displayName = "2oz Silver"; - model = "\z\addons\dayz_epoch\models\ItemSilverBar2oz.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa"; - descriptionShort = "2 x 1oz Silver Bar"; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_210_1; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar3oz",1}}; - input[] = {{"ItemSilverBar2oz",1},{"ItemSilverBar",1}}; - - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_211_1; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar",2}}; - input[] = {{"ItemSilverBar2oz",1}}; - - }; - class Crafting2 - { - text = $STR_EPOCH_PLAYER_210_8; - script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar10oz",1}}; - input[] = {{"ItemSilverBar2oz",1},{"ItemSilverBar",8}}; - }; - }; - }; - class ItemSilverBar3oz: CA_Magazine - { - scope = 2; - count = 1; - worth = 3; - type = 256; - displayName = "3oz Silver"; - model = "\z\addons\dayz_epoch\models\ItemSilverBar3oz.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa"; - descriptionShort = "3 x 1oz Silver Bar"; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_210_1; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar4oz",1}}; - input[] = {{"ItemSilverBar3oz",1},{"ItemSilverBar",1}}; - - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_211_1; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar2oz",1},{"ItemSilverBar",1}}; - input[] = {{"ItemSilverBar3oz",1}}; - - }; - class Crafting2 - { - text = $STR_EPOCH_PLAYER_210_7; - script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar10oz",1}}; - input[] = {{"ItemSilverBar3oz",1},{"ItemSilverBar",7}}; - }; - class Crafting3 - { - text = $STR_EPOCH_PLAYER_211; - script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar",3}}; - input[] = {{"ItemSilverBar3oz",1}}; - }; - }; - }; - class ItemSilverBar4oz: CA_Magazine - { - scope = 2; - count = 1; - worth = 4; - type = 256; - displayName = "4oz Silver"; - model = "\z\addons\dayz_epoch\models\ItemSilverBar4oz.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa"; - descriptionShort = "4 x 1oz Silver Bar"; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_210_1; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar5oz",1}}; - input[] = {{"ItemSilverBar4oz",1},{"ItemSilverBar",1}}; - - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_211_1; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar3oz",1},{"ItemSilverBar",1}}; - input[] = {{"ItemSilverBar4oz",1}}; - - }; - class Crafting2 - { - text = $STR_EPOCH_PLAYER_210_6; - script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar10oz",1}}; - input[] = {{"ItemSilverBar4oz",1},{"ItemSilverBar",6}}; - }; - class Crafting3 - { - text = $STR_EPOCH_PLAYER_211; - script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar",4}}; - input[] = {{"ItemSilverBar4oz",1}}; - }; - }; - }; - class ItemSilverBar5oz: CA_Magazine - { - scope = 2; - count = 1; - worth = 5; - type = 256; - displayName = "5oz Silver"; - model = "\z\addons\dayz_epoch\models\ItemSilverBar5oz.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa"; - descriptionShort = "5 x 1oz Silver Bar"; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_210_1; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar6oz",1}}; - input[] = {{"ItemSilverBar5oz",1},{"ItemSilverBar",1}}; - - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_211_1; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar4oz",1},{"ItemSilverBar",1}}; - input[] = {{"ItemSilverBar5oz",1}}; - - }; - class Crafting2 - { - text = $STR_EPOCH_PLAYER_210_5; - script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar10oz",1}}; - input[] = {{"ItemSilverBar5oz",1},{"ItemSilverBar",5}}; - }; - class Crafting3 - { - text = $STR_EPOCH_PLAYER_211; - script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar",5}}; - input[] = {{"ItemSilverBar5oz",1}}; - }; - }; - }; - class ItemSilverBar6oz: CA_Magazine - { - scope = 2; - count = 1; - worth = 6; - type = 256; - displayName = "6oz Silver"; - model = "\z\addons\dayz_epoch\models\ItemSilverBar6oz.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa"; - descriptionShort = "6 x 1oz Silver Bar"; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_210_1; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar7oz",1}}; - input[] = {{"ItemSilverBar6oz",1},{"ItemSilverBar",1}}; - - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_211_1; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar5oz",1},{"ItemSilverBar",1}}; - input[] = {{"ItemSilverBar6oz",1}}; - - }; - class Crafting2 - { - text = $STR_EPOCH_PLAYER_210_4; - script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar10oz",1}}; - input[] = {{"ItemSilverBar6oz",1},{"ItemSilverBar",4}}; - }; - class Crafting3 - { - text = $STR_EPOCH_PLAYER_211; - script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar",6}}; - input[] = {{"ItemSilverBar6oz",1}}; - }; - }; - }; - class ItemSilverBar7oz: CA_Magazine - { - scope = 2; - count = 1; - worth = 7; - type = 256; - displayName = "7oz Silver"; - model = "\z\addons\dayz_epoch\models\ItemSilverBar7oz.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa"; - descriptionShort = "7 x 1oz Silver Bar"; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_210_1; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar8oz",1}}; - input[] = {{"ItemSilverBar7oz",1},{"ItemSilverBar",1}}; - - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_211_1; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar6oz",1},{"ItemSilverBar",1}}; - input[] = {{"ItemSilverBar7oz",1}}; - - }; - class Crafting2 - { - text = $STR_EPOCH_PLAYER_210_3; - script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar10oz",1}}; - input[] = {{"ItemSilverBar7oz",1},{"ItemSilverBar",3}}; - }; - class Crafting3 - { - text = $STR_EPOCH_PLAYER_211; - script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar",7}}; - input[] = {{"ItemSilverBar7oz",1}}; - }; - }; - }; - class ItemSilverBar8oz: CA_Magazine - { - scope = 2; - count = 1; - worth = 8; - type = 256; - displayName = "8oz Silver"; - model = "\z\addons\dayz_epoch\models\ItemSilverBar8oz.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa"; - descriptionShort = "8 x 1oz Silver Bar"; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_210_1; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar9oz",1}}; - input[] = {{"ItemSilverBar8oz",1},{"ItemSilverBar",1}}; - - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_211_1; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar7oz",1},{"ItemSilverBar",1}}; - input[] = {{"ItemSilverBar8oz",1}}; - - }; - class Crafting2 - { - text = $STR_EPOCH_PLAYER_210_2; - script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar10oz",1}}; - input[] = {{"ItemSilverBar8oz",1},{"ItemSilverBar",2}}; - }; - class Crafting3 - { - text = $STR_EPOCH_PLAYER_211; - script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar",8}}; - input[] = {{"ItemSilverBar8oz",1}}; - }; - }; - }; - class ItemSilverBar9oz: CA_Magazine - { - scope = 2; - count = 1; - worth = 9; - type = 256; - displayName = "9oz Silver"; - model = "\z\addons\dayz_epoch\models\ItemSilverBar9oz.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa"; - descriptionShort = "9 x 1oz Silver Bar"; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_210_1; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar10oz",1}}; - input[] = {{"ItemSilverBar9oz",1},{"ItemSilverBar",1}}; - - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_211_1; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar8oz",1},{"ItemSilverBar",1}}; - input[] = {{"ItemSilverBar9oz",1}}; - - }; - class Crafting3 - { - text = $STR_EPOCH_PLAYER_211; - script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar",9}}; - input[] = {{"ItemSilverBar9oz",1}}; - }; - }; - }; - class ItemSilverBar10oz: CA_Magazine - { - scope = 2; - count = 1; - worth = 10; - type = 256; - displayName = "10oz Silver"; - model = "\z\addons\dayz_epoch\models\ItemSilverBar10oz.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_Silver_bar_10oz_CA.paa"; - descriptionShort = "10 x 1oz Silver Bar"; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_211_1; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar9oz",1},{"ItemSilverBar",1}}; - input[] = {{"ItemSilverBar10oz",1}}; - - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_211; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemSilverBar",10}}; - input[] = {{"ItemSilverBar10oz",1}}; - }; - }; - }; - class ItemCopperBar: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Copper"; - model = "\z\addons\dayz_epoch\models\copper_bar.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_copper_bar_CA.paa"; - descriptionShort = "Copper Bar"; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_210; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemCopperBar10oz",1}}; - input[] = {{"ItemCopperBar",10}}; - }; - }; - }; - class ItemCopperBar10oz: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "10oz Copper"; - model = "\z\addons\dayz_epoch\models\copper_bar_10oz.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_copper_bar_10oz_CA.paa"; - descriptionShort = "10oz Copper Bar"; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_211; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemCopperBar",10}}; - input[] = {{"ItemCopperBar10oz",1}}; - }; - }; - }; - - class ItemBronzeBar: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Bronze"; - model = "\z\addons\dayz_epoch\models\bronze_bar.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_bar_bronze_CA.paa"; - descriptionShort = "Bronze Bar"; - }; - class ItemAluminumBar: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Aluminum"; - model = "\z\addons\dayz_epoch\models\aluminum_bar.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_alum_bar_CA.paa"; - descriptionShort = "Aluminum Bar"; - - }; - class ItemAluminumBar10oz: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "10oz Aluminum"; - model = "\z\addons\dayz_epoch\models\aluminum_bar.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_alum_bar_10oz_CA.paa"; - descriptionShort = "10oz Aluminum Bar"; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_211; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemAluminumBar",10}}; - input[] = {{"ItemAluminumBar10oz",1}}; - }; - }; - }; - class ItemTinBar: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Tin"; - model = "\z\addons\dayz_epoch\models\tin_bar.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_tin_bar_CA.paa"; - descriptionShort = "Tin Bar"; - - }; - class ItemTinBar10oz: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "10oz Tin"; - model = "\z\addons\dayz_epoch\models\tin_bar.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_tin_bar_10oz_CA.paa"; - descriptionShort = "10oz Tin Bar"; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_211; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"fire"}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"ItemTinBar",10}}; - input[] = {{"ItemTinBar10oz",1}}; - }; - }; - }; class ItemZombieParts: CA_Magazine { @@ -2176,59 +155,7 @@ class CfgMagazines { descriptionShort = "Used to secure structures from unauthorized entry."; }; - - 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}}; - }; - }; - }; + class ItemCorrugated : CA_Magazine { scope = 2; @@ -2363,7 +290,7 @@ class CfgMagazines { create = "WoodCrate_DZ"; }; }; - }; + }; class ItemOilBarrel: CA_Magazine { scope = 2; @@ -2439,122 +366,6 @@ class CfgMagazines { picture = "\dayz_equip\textures\equip_jerrycan_ca.paa"; descriptionShort = $STR_EQUIP_DESC_19; }; - class ItemJerryMixed: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Mixed Gas Full"; - model = "\dayz_equip\models\jerrycan.p3d"; - picture = "\dayz_equip\textures\equip_jerrycan_ca.paa"; - descriptionShort = "20 liters of Mixed Gas."; - sfx = "refuel"; - class ItemActions - { - class Crafting - { - text = "Fill Chainsaw"; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"CSGAS",1},{"ItemJerryMixed4",1}}; - input[] = {{"ItemJerryMixed",1}}; - }; - }; - }; - class ItemJerryMixed4: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Mixed Gas 16L"; - model = "\dayz_equip\models\jerrycan.p3d"; - picture = "\dayz_equip\textures\equip_jerrycan_ca.paa"; - descriptionShort = "16 liters of Mixed Gas."; - sfx = "refuel"; - class ItemActions - { - class Crafting - { - text = "Fill Chainsaw"; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"CSGAS",1},{"ItemJerryMixed3",1}}; - input[] = {{"ItemJerryMixed4",1}}; - }; - }; - }; - class ItemJerryMixed3: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Mixed Gas 12L"; - model = "\dayz_equip\models\jerrycan.p3d"; - picture = "\dayz_equip\textures\equip_jerrycan_ca.paa"; - descriptionShort = "12 liters of Mixed Gas."; - sfx = "refuel"; - class ItemActions - { - class Crafting - { - text = "Fill Chainsaw"; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"CSGAS",1},{"ItemJerryMixed2",1}}; - input[] = {{"ItemJerryMixed3",1}}; - }; - }; - }; - class ItemJerryMixed2: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Mixed Gas 8L"; - model = "\dayz_equip\models\jerrycan.p3d"; - picture = "\dayz_equip\textures\equip_jerrycan_ca.paa"; - descriptionShort = "8 liters of Mixed Gas."; - sfx = "refuel"; - class ItemActions - { - class Crafting - { - text = "Fill Chainsaw"; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"CSGAS",1},{"ItemJerryMixed1",1}}; - input[] = {{"ItemJerryMixed2",1}}; - }; - }; - }; - class ItemJerryMixed1: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Mixed Gas 4L"; - model = "\dayz_equip\models\jerrycan.p3d"; - picture = "\dayz_equip\textures\equip_jerrycan_ca.paa"; - descriptionShort = "4 liters of Mixed Gas."; - sfx = "refuel"; - class ItemActions - { - class Crafting - { - text = "Fill Chainsaw"; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"CSGAS",1},{"ItemJerrycanEmpty",1}}; - input[] = {{"ItemJerryMixed1",1}}; - }; - }; - }; - class ItemJerrycanEmpty: ItemJerrycan { fuelQuantity = 0; @@ -2563,455 +374,6 @@ class CfgMagazines { picture = "\dayz_equip\textures\equip_jerrycan_e_ca.paa"; descriptionShort = $STR_EQUIP_DESC_39; }; - - class bulk: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Supply Crate"; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - descriptionShort = "12 x Random Item"; - weight = 5; - }; - class bulk_empty: bulk - { - descriptionShort = "Empty Supply Crate"; - weight = 5; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_221; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"bulk_ItemSodaCoke",1}}; - input[] = {{"bulk_empty",1},{"ItemSodaCoke",6}}; - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_222; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"bulk_ItemSodaPepsi",1}}; - input[] = {{"bulk_empty",1},{"ItemSodaPepsi",6}}; - }; - - class Crafting2 - { - text = $STR_EPOCH_PLAYER_223; - script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"bulk_PartGenericHalf",1}}; - input[] = {{"bulk_empty",1},{"PartGeneric",6}}; - }; - class Crafting3 - { - text = $STR_EPOCH_PLAYER_224; - script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"bulk_ItemTankTrapHalf",1}}; - input[] = {{"bulk_empty",1},{"ItemTankTrap",6}}; - }; - class Crafting4 - { - text = $STR_EPOCH_PLAYER_225; - script = ";['Crafting4','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"bulk_ItemWireHalf",1}}; - input[] = {{"bulk_empty",1},{"ItemWire",6}}; - }; - class Crafting5 - { - text = $STR_EPOCH_PLAYER_226; - script = ";['Crafting5','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"bulk_FoodbaconCooked",1}}; - input[] = {{"bulk_empty",1},{"FoodbaconCooked",6}}; - }; - }; - }; - class bulk_ItemSodaCoke: bulk - { - descriptionShort = "6 x ItemSodaCoke"; - class ItemActions - { - class CreateMags - { - text = $STR_EPOCH_PLAYER_209; - script = "spawn player_loadCrate;"; - output[] = {"ItemSodaCoke",6,"magazine"}; - }; - class Crafting - { - text = $STR_EPOCH_PLAYER_221; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"bulk_ItemSodaCokeFull",1}}; - input[] = {{"bulk_ItemSodaCoke",1},{"ItemSodaCoke",6}}; - }; - }; - }; - class bulk_ItemSodaCokeFull: bulk - { - descriptionShort = "12 x ItemSodaCoke"; - class ItemActions - { - class CreateMags - { - text = $STR_EPOCH_PLAYER_209; - script = "spawn player_loadCrate;"; - output[] = {"ItemSodaCoke",12,"magazine"}; - }; - }; - }; - class bulk_ItemSodaPepsi: bulk - { - descriptionShort = "6 x ItemSodaPepsi"; - class ItemActions - { - class CreateMags - { - text = $STR_EPOCH_PLAYER_209; - script = "spawn player_loadCrate;"; - output[] = {"ItemSodaPepsi",6,"magazine"}; - }; - class Crafting - { - text = $STR_EPOCH_PLAYER_222; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"bulk_ItemSodaPepsiFull",1}}; - input[] = {{"bulk_ItemSodaPepsi",1},{"ItemSodaPepsi",6}}; - }; - }; - }; - class bulk_ItemSodaPepsiFull: bulk - { - descriptionShort = "12 x ItemSodaPepsi"; - class ItemActions - { - class CreateMags - { - text = $STR_EPOCH_PLAYER_209; - script = "spawn player_loadCrate;"; - output[] = {"ItemSodaPepsi",12,"magazine"}; - }; - }; - }; - class bulk_FoodbaconCooked: bulk - { - descriptionShort = "6 x FoodbaconCooked"; - class ItemActions - { - class CreateMags - { - text = $STR_EPOCH_PLAYER_209; - script = "spawn player_loadCrate;"; - output[] = {"FoodbaconCooked",6,"magazine"}; - }; - class Crafting - { - text = $STR_EPOCH_PLAYER_227; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"bulk_FoodbaconCookedFull",1}}; - input[] = {{"bulk_FoodbaconCooked",1},{"FoodbaconCooked",6}}; - }; - }; - }; - class bulk_FoodbaconCookedFull: bulk - { - descriptionshort = "12 x FoodbaconCooked"; - class ItemActions - { - class CreateMags - { - text = $STR_EPOCH_PLAYER_209; - script = "spawn player_loadCrate;"; - output[] = {"FoodbaconCooked",12,"magazine"}; - }; - }; - }; - class bulk_30Rnd_9x19_MP5SD: bulk - { - descriptionShort = "12 x 30Rnd_9x19_MP5SD"; - - class ItemActions - { - class CreateMags - { - text = $STR_EPOCH_PLAYER_209; - script = "spawn player_loadCrate;"; - output[] = {"30Rnd_9x19_MP5SD",12,"magazine"}; - }; - }; - }; - class bulk_15Rnd_9x19_M9SD: bulk - { - descriptionShort = "12 x 15Rnd_9x19_M9SD"; - class ItemActions - { - class CreateMags - { - text = $STR_EPOCH_PLAYER_209; - script = "spawn player_loadCrate;"; - output[] = {"15Rnd_9x19_M9SD",12,"magazine"}; - }; - }; - }; - class bulk_30Rnd_556x45_StanagSD: bulk - { - descriptionShort = "12 x 30Rnd_556x45_StanagSD"; - class ItemActions - { - class CreateMags - { - text = $STR_EPOCH_PLAYER_209; - script = "spawn player_loadCrate;"; - output[] = {"30Rnd_556x45_StanagSD",12,"magazine"}; - }; - }; - }; - class bulk_ItemSandbag: bulk - { - descriptionShort = "12 x SandBag"; - class ItemActions - { - class CreateMags - { - text = $STR_EPOCH_PLAYER_209; - script = "spawn player_loadCrate;"; - output[] = {"ItemSandbag",12,"magazine"}; - }; - }; - }; - - class bulk_ItemTankTrap: bulk - { - descriptionShort = "12 x Tank Trap"; - weight = 25; - class ItemActions - { - class CreateMags - { - text = $STR_EPOCH_PLAYER_209; - script = "spawn player_loadCrate;"; - output[] = {"ItemTankTrap",12,"magazine"}; - }; - }; - }; - class bulk_ItemTankTrapHalf: bulk - { - descriptionShort = "6 x Tank Trap"; - weight = 12.5; - class ItemActions - { - class CreateMags - { - text = $STR_EPOCH_PLAYER_209; - script = "spawn player_loadCrate;"; - output[] = {"ItemTankTrap",6,"magazine"}; - }; - class Crafting - { - text = $STR_EPOCH_PLAYER_224; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"bulk_ItemTankTrap",1}}; - input[] = {{"bulk_ItemTankTrapHalf",1},{"ItemTankTrap",6}}; - }; - }; - }; - - class bulk_ItemWire: bulk - { - descriptionShort = "12 x Wire Kit"; - weight = 25; - class ItemActions - { - class CreateMags - { - text = $STR_EPOCH_PLAYER_209; - script = "spawn player_loadCrate;"; - output[] = {"ItemWire",12,"magazine"}; - }; - }; - }; - class bulk_ItemWireHalf: bulk - { - descriptionShort = "6 x Wire Kit"; - weight = 12.5; - class ItemActions - { - class CreateMags - { - text = $STR_EPOCH_PLAYER_209; - script = "spawn player_loadCrate;"; - output[] = {"ItemWire",6,"magazine"}; - }; - class Crafting - { - text = $STR_EPOCH_PLAYER_225; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"bulk_ItemWire",1}}; - input[] = {{"bulk_ItemWireHalf",1},{"ItemWire",6}}; - }; - }; - }; - - class bulk_PartGeneric: bulk - { - descriptionShort = "12 x Scrap Metal"; - weight = 60; - class ItemActions - { - class CreateMags - { - text = $STR_EPOCH_PLAYER_209; - script = "spawn player_loadCrate;"; - output[] = {"PartGeneric",12,"magazine"}; - }; - }; - }; - class bulk_PartGenericHalf: bulk - { - descriptionShort = "6 x Scrap Metal"; - weight = 30; - class ItemActions - { - class CreateMags - { - text = $STR_EPOCH_PLAYER_209; - script = "spawn player_loadCrate;"; - output[] = {"PartGeneric",6,"magazine"}; - }; - class Crafting - { - text = $STR_EPOCH_PLAYER_223; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"bulk_PartGeneric",1}}; - input[] = {{"bulk_PartGenericHalf",1},{"PartGeneric",6}}; - }; - }; - }; - - class bulk_17Rnd_9x19_glock17: bulk - { - descriptionShort = "12 x 17Rnd_9x19_glock17"; - class ItemActions - { - class CreateMags - { - text = $STR_EPOCH_PLAYER_209; - script = "spawn player_loadCrate;"; - output[] = {"17Rnd_9x19_glock17",12,"magazine"}; - }; - }; - }; - - class metal_floor_kit: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Metal Floor"; - descriptionShort = "Metal Floor"; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - weight = 325; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemToolbox"}; - create = "MetalFloor_DZ"; - }; - }; - }; - - class cinder_wall_kit: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Cinder Block Wall"; - descriptionShort = "Half height cinder block wall"; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - weight = 325; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemToolbox"}; - create = "CinderWallHalf_DZ"; - }; - }; - }; - - class cinder_garage_kit: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Block Garage Doorway"; - descriptionShort = "Cinder block garage doorway"; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - weight = 325; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemToolbox"}; - create = "CinderWallDoorway_DZ"; - }; - }; - }; - - class cinder_door_kit: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Block Doorway"; - descriptionShort = "Cinder block doorway"; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - weight = 325; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemToolbox"}; - create = "CinderWallSmallDoorway_DZ"; - }; - }; - }; class workbench_kit: CA_Magazine { @@ -3076,7 +438,7 @@ class CfgMagazines { }; }; }; - + class metal_panel_kit: CA_Magazine { scope = 2; @@ -3482,7 +844,7 @@ class CfgMagazines { }; }; }; - + class ItemGenerator: CA_Magazine { scope = 2; @@ -3590,571 +952,6 @@ class CfgMagazines { - class ItemWoodFloor: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Floor/Ceiling"; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - descriptionShort = "Wood Floor can also be used as a ceiling."; - weight = 25; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemToolbox"}; - create = "WoodFloor_DZ"; - }; - }; - }; - class ItemWoodFloorHalf: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Floor/Ceiling 1/2"; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - descriptionShort = "Wood Floor can also be used as a ceiling."; - weight = 15; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemToolbox"}; - create = "WoodFloorHalf_DZ"; - }; - class Crafting - { - text = $STR_EPOCH_PLAYER_232; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"ItemWoodFloor",1}}; - input[] = {{"ItemWoodFloorHalf",2}}; - - }; - }; - }; - class ItemWoodFloorQuarter: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Floor/Ceiling 1/4"; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - descriptionShort = "Wood Floor can also be used as a ceiling."; - weight = 10; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemToolbox"}; - create = "WoodFloorQuarter_DZ"; - }; - class Crafting - { - text = $STR_EPOCH_PLAYER_232a; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"ItemWoodFloorHalf",1}}; - input[] = {{"ItemWoodFloorQuarter",2}}; - - }; - }; - }; - - class ItemWoodStairs: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Wood Stairs"; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - descriptionShort = "Wood stairs"; - weight = 25; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemToolbox"}; - create = "WoodStairsSans_DZ"; - }; - class Crafting - { - text = $STR_EPOCH_PLAYER_233; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"ItemWoodStairsSupport",1}}; - input[] = {{"ItemWoodStairs",1},{"PartWoodLumber",2}}; - - }; - }; - }; - - class ItemWoodStairsSupport: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Wood Stairs w/ supports"; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - descriptionShort = "Wood stairs with supports"; - weight = 30; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemToolbox"}; - create = "WoodStairs_DZ"; - }; - }; - }; - - class ItemWoodLadder: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Wood Ladder"; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - descriptionShort = "Wood Ladder"; - weight = 25; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemToolbox"}; - create = "WoodLadder_DZ"; - }; - }; - }; - - class ItemWoodWall: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Wood Wall"; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - descriptionShort = "Wall constucted out of plywood and lumber."; - weight = 25; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemToolbox"}; - create = "WoodSmallWall_DZ"; - }; - - class Crafting - { - text = $STR_EPOCH_PLAYER_234; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"ItemWoodWallDoor",1}}; - input[] = {{"ItemWoodWall",1}}; - - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_235; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"ItemWoodWallWindow",1}}; - input[] = {{"ItemWoodWall",1},{"PartGlass",1}}; - - }; - class Crafting2 - { - text = $STR_EPOCH_PLAYER_236; - script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"ItemWoodWallLg",1}}; - input[] = {{"ItemWoodWall",1},{"PartWoodPlywood",1},{"PartWoodLumber",1}}; - - }; - }; - }; - class ItemWoodWallThird: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Wood Wall 1/3"; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - descriptionShort = "Third wall constucted out of plywood and lumber."; - weight = 7; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemToolbox"}; - create = "WoodSmallWallThird_DZ"; - }; - class Crafting - { - text = $STR_EPOCH_PLAYER_237; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"ItemWoodWall",1}}; - input[] = {{"ItemWoodWallThird",3}}; - - }; - }; - }; - class ItemWoodWallDoor: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Wall w/ Doorway"; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - descriptionShort = "Wall with doorway constucted out of plywood and lumber."; - weight = 25; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemToolbox"}; - create = "WoodSmallWallDoor_DZ"; - }; - class Crafting - { - text = $STR_EPOCH_PLAYER_238; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"ItemWoodWallWithDoor",1}}; - input[] = {{"ItemWoodWallDoor",1},{"PartWoodPlywood",1},{"PartWoodLumber",1}}; - - }; - }; - }; - class ItemWoodWallWithDoor: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Wall w/ Door"; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - descriptionShort = "Wall with door constucted out of plywood and lumber."; - weight = 25; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemToolbox"}; - create = "Land_DZE_WoodDoor"; - }; - class Crafting - { - text = $STR_EPOCH_PLAYER_239; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"ItemWoodWallWithDoorLocked",1}}; - input[] = {{"ItemWoodWallWithDoor",1},{"ItemComboLock",1}}; - - }; - }; - }; - class ItemWoodWallWithDoorLocked: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Wall w/ Door Locked"; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - descriptionShort = "Wall with door constucted out of plywood and lumber."; - weight = 30; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemToolbox"}; - create = "Land_DZE_WoodDoorLocked"; - }; - }; - }; - - - - class ItemWoodWallWindow: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Wall w/ Window"; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - descriptionShort = "Wall with Window constucted out of plywood and lumber."; - weight = 25; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemToolbox"}; - create = "WoodSmallWallWin_DZ"; - }; - }; - }; - - class ItemWoodWallLg: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Large Wood Wall"; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - descriptionShort = "Large wall constucted out of plywood and lumber."; - weight = 25; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemToolbox"}; - create = "WoodLargeWall_DZ"; - }; - class Crafting - { - text = $STR_EPOCH_PLAYER_234; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"ItemWoodWallDoorLg",1}}; - input[] = {{"ItemWoodWallLg",1}}; - - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_235; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"ItemWoodWallWindowLg",1}}; - input[] = {{"ItemWoodWallLg",1},{"PartGlass",1}}; - - }; - class Crafting2 - { - text = $STR_EPOCH_PLAYER_240; - script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"ItemWoodWallGarageDoor",1}}; - input[] = {{"ItemWoodWallLg",1},{"PartWoodLumber",2}}; - - }; - }; - }; - - class ItemWoodWallGarageDoor: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Wood Garage Door"; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - descriptionShort = "Garage door constucted out of plywood and lumber."; - weight = 25; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemToolbox"}; - create = "Land_DZE_GarageWoodDoor"; - }; - class Crafting - { - text = $STR_EPOCH_PLAYER_240; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"ItemWoodWallGarageDoorLocked",1}}; - input[] = {{"ItemWoodWallGarageDoor",1},{"ItemComboLock",1}}; - - }; - }; - }; - class ItemWoodWallGarageDoorLocked: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Wood Garage Door Locked"; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - descriptionShort = "Garage door with combination lock."; - weight = 25; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemToolbox"}; - create = "Land_DZE_GarageWoodDoorLocked"; - }; - }; - }; - - class ItemWoodWallDoorLg: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Large Wall w/ Doorway"; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - descriptionShort = "Large wall with doorway constucted out of plywood and lumber."; - weight = 30; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemToolbox"}; - create = "WoodLargeWallDoor_DZ"; - }; - class Crafting - { - text = $STR_EPOCH_PLAYER_238; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"ItemWoodWallWithDoorLg",1}}; - input[] = {{"ItemWoodWallDoorLg",1},{"PartWoodPlywood",1},{"PartWoodLumber",1}}; - - }; - }; - }; - - class ItemWoodWallWithDoorLg: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Large Wall w/ Door"; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - descriptionShort = "Wall with door constucted out of plywood and lumber."; - weight = 30; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemToolbox"}; - create = "Land_DZE_LargeWoodDoor"; - }; - class Crafting - { - text = $STR_EPOCH_PLAYER_239; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"ItemWoodWallWithDoorLgLocked",1}}; - input[] = {{"ItemWoodWallWithDoorLg",1},{"ItemComboLock",1}}; - - }; - }; - }; - - class ItemWoodWallWithDoorLgLocked: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Large Wall w/ Door Locked"; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - descriptionShort = "Wall with combination lock door constucted out of plywood and lumber."; - weight = 35; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemToolbox"}; - create = "Land_DZE_LargeWoodDoorLocked"; - }; - }; - }; - - class ItemWoodWallWindowLg: CA_Magazine - { - scope = 2; - count = 1; - type = 256; - displayName = "Large Wall w/ Window"; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - descriptionShort = "Large wall with doorway constucted out of plywood and lumber.."; - weight = 30; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemToolbox"}; - create = "WoodLargeWallWin_DZ"; - }; - }; - }; - - class PartEngine: CA_Magazine { scope = 2; @@ -4209,7 +1006,7 @@ class CfgMagazines { requiretools[] = {"ItemKnife"}; output[] = {{"WoodenArrow",3}}; input[] = {{"PartWoodPile",1},{"ItemTrashRazor",1}}; - + }; class Crafting2 { @@ -4219,9 +1016,9 @@ class CfgMagazines { requiretools[] = {"ItemToolbox","ItemKnife"}; output[] = {{"stick_fence_kit",1}}; input[] = {{"PartWoodPile",6}}; - + }; - + }; }; class PartPlankPack: CA_Magazine @@ -4284,8 +1081,8 @@ class CfgMagazines { output[] = {{"cinder_door_kit",1}}; input[] = {{"CinderBlocks",4},{"MortarBucket",1},{"ItemTankTrap",1}}; }; - - + + }; }; class MortarBucket: CA_Magazine @@ -4319,7 +1116,7 @@ class CfgMagazines { output[] = {{"PartWoodPlywood",3}}; input[] = {{"PartPlywoodPack",1}}; }; - + }; }; class PartWoodLumber: CA_Magazine @@ -4340,7 +1137,7 @@ class CfgMagazines { requiretools[] = {"ItemToolbox"}; output[] = {{"PartWoodPlywood",1}}; input[] = {{"PartWoodLumber",2}}; - + }; class Crafting1 { @@ -4350,7 +1147,7 @@ class CfgMagazines { requiretools[] = {"ItemToolbox"}; output[] = {{"bulk_empty",1}}; input[] = {{"PartWoodLumber",2},{"PartGeneric",1}}; - + }; class Crafting2 { @@ -4360,9 +1157,9 @@ class CfgMagazines { requiretools[] = {"ItemToolbox","ItemCrowbar"}; output[] = {{"deer_stand_kit",1}}; input[] = {{"PartWoodLumber",8},{"PartWoodPile",2}}; - + }; - + class Crafting3 { text = $STR_EPOCH_PLAYER_257; @@ -4371,7 +1168,7 @@ class CfgMagazines { requiretools[] = {"ItemToolbox"}; output[] = {{"ItemWoodStairs",1}}; input[] = {{"PartWoodLumber",8}}; - + }; class Crafting4 { @@ -4381,7 +1178,7 @@ class CfgMagazines { requiretools[] = {"ItemToolbox"}; output[] = {{"ItemWoodLadder",1}}; input[] = {{"PartWoodLumber",8}}; - + }; class Crafting5 { @@ -4409,7 +1206,7 @@ class CfgMagazines { requiretools[] = {"ItemToolbox"}; output[] = {{"ItemWoodCrateKit",1}}; input[] = {{"PartWoodLumber",6}}; - }; + }; }; }; class PartWoodPlywood: CA_Magazine @@ -4430,7 +1227,7 @@ class CfgMagazines { requiretools[] = {"ItemToolbox"}; output[] = {{"workbench_kit",1}}; input[] = {{"PartWoodPlywood",1},{"PartWoodLumber",2}}; - + }; class Crafting1 { @@ -4468,7 +1265,7 @@ class CfgMagazines { output[] = {{"PartPlywoodPack",1}}; input[] = {{"PartWoodPlywood",3}}; }; - + }; }; class PartOre: CA_Magazine @@ -4490,7 +1287,7 @@ class CfgMagazines { requiretools[] = {"ItemSledge"}; output[] = {{"PartGeneric",1},{"ItemWaterbottleUnfilled",1}}; input[] = {{"PartOre",4},{"ItemWaterbottle",1}}; - }; + }; }; }; class PartOreSilver: CA_Magazine @@ -4512,7 +1309,7 @@ class CfgMagazines { requiretools[] = {"ItemSledge"}; output[] = {{"ItemSilverBar",1},{"ItemWaterbottleUnfilled",1}}; input[] = {{"PartOreSilver",1},{"ItemWaterbottle",1}}; - }; + }; }; }; class PartOreGold: CA_Magazine @@ -4534,7 +1331,7 @@ class CfgMagazines { requiretools[] = {"ItemSledge"}; output[] = {{"ItemGoldBar",1},{"ItemWaterbottleUnfilled",1}}; input[] = {{"PartOreGold",1},{"ItemWaterbottle",1}}; - }; + }; }; }; class PartVRotor: CA_Magazine @@ -4569,356 +1366,7 @@ class CfgMagazines { descriptionShort = $STR_EQUIP_DESC_30; }; - // Skins - 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"; - descriptionShort = "Officer Suit"; - }; - class Skin_RU_Policeman_DZ: SkinBase - { - scope = 2; - displayName = "Sergei"; - descriptionShort = "Police Officer Uniform"; - }; - class Skin_Pilot_EP1_DZ: SkinBase - { - scope = 2; - displayName = "Ethan"; - descriptionShort = "Pilot Uniform"; - }; - class Skin_Haris_Press_EP1_DZ: SkinBase - { - scope = 2; - displayName = "Harry"; - descriptionShort = "Press Uniform"; - }; - class Skin_Ins_Soldier_GL_DZ: SkinBase - { - scope = 2; - displayName = "Terrorist Uniform"; - descriptionShort = "Terrorist Uniform"; - }; - class Skin_GUE_Commander_DZ: SkinBase - { - scope = 2; - displayName = "Rebel Uniform"; - descriptionShort = "Rebel Uniform"; - }; - class Skin_Functionary1_EP1_DZ: SkinBase - { - scope = 2; - displayName = "Donald"; - descriptionShort = "Business Suit"; - }; - class Skin_Priest_DZ: SkinBase - { - scope = 2; - displayName = "James"; - descriptionShort = "Priest Outfit"; - }; - class Skin_Rocker1_DZ: SkinBase - { - scope = 2; - displayName = "Duane"; - descriptionShort = "Rocker (black)"; - }; - class Skin_Rocker2_DZ: SkinBase - { - scope = 2; - displayName = "Rod"; - descriptionShort = "Rocker (brown)"; - }; - class Skin_Rocker3_DZ: SkinBase - { - scope = 2; - displayName = "Van"; - descriptionShort = "Rocker (blue)"; - }; - class Skin_Rocker4_DZ: SkinBase - { - scope = 2; - displayName = "Bruce"; - descriptionShort = "Rocker (green)"; - }; - class Skin_Bandit1_DZ: SkinBase - { - scope = 2; - displayName = "Bandit Outfit"; - descriptionShort = "Bandit Outfit"; - }; - class Skin_Bandit2_DZ: SkinBase - { - scope = 2; - displayName = "Bandit Camo"; - descriptionShort = "Bandit Camo Outfit"; - }; - class Skin_GUE_Soldier_MG_DZ: SkinBase - { - scope = 2; - displayName = "Bandit Gunner"; - descriptionShort = "Bandit Gunner Outfit"; - }; - class Skin_GUE_Soldier_Sniper_DZ: SkinBase - { - scope = 2; - displayName = "Bandit Sniper"; - descriptionShort = "Bandit Sniper Outfit"; - }; - class Skin_GUE_Soldier_Crew_DZ: SkinBase - { - scope = 2; - displayName = "Bandit Baklava"; - descriptionShort = "Bandit Baklava Outfit"; - }; - class Skin_GUE_Soldier_CO_DZ: SkinBase - { - scope = 2; - displayName = "Bandit Mask"; - descriptionShort = "Bandit Mask Outfit"; - }; - class Skin_GUE_Soldier_2_DZ: SkinBase - { - scope = 2; - displayName = "Bandit Hat"; - descriptionShort = "Bandit Hat with Baklava"; - }; - class Skin_BanditW1_DZ: SkinBase - { - scope = 2; - displayName = "Bandit Annie"; - descriptionShort = "Bandit wrap blue top with brown pants."; - }; - class Skin_BanditW2_DZ: SkinBase - { - scope = 2; - displayName = "Bandit Jane"; - descriptionShort = "Bandit wrap grey top with brown camo pants."; - }; - class Skin_SurvivorW3_DZ: SkinBase - { - scope = 2; - displayName = "Jane"; - descriptionShort = "Grey top with brown camo pants."; - }; - class Skin_SurvivorW2_DZ: SkinBase - { - scope = 2; - displayName = "Annie"; - descriptionShort = "Civilian (female)"; - }; - class Skin_SurvivorWpink_DZ: SkinBase - { - scope = 2; - displayName = "Melly (female)"; - descriptionShort = "Purple top with blue pants."; - }; - class Skin_SurvivorWsequisha_DZ: SkinBase - { - scope = 2; - displayName = "Maria (female)"; - descriptionShort = "Maria Clothes (female)"; - }; - class Skin_SurvivorWsequishaD_DZ: SkinBase - { - scope = 2; - displayName = "Sequisha (female)"; - descriptionShort = "Sequisha Clothes (female)"; - }; - class Skin_SurvivorWcombat_DZ: SkinBase - { - scope = 2; - displayName = "Alejandria"; - descriptionShort = "Blue camo top with brown camo pants."; - }; - class Skin_SurvivorWdesert_DZ: SkinBase - { - scope = 2; - displayName = "Savannah"; - descriptionShort = "White top with brown pants."; - }; - class Skin_SurvivorWurban_DZ: SkinBase - { - scope = 2; - displayName = "Sophia"; - descriptionShort = "Maroon top with grey pants."; - }; - - - class Skin_TK_INS_Warlord_EP1_DZ: SkinBase - { - scope = 2; - displayName = "Takistani Warlord"; - descriptionShort = "Takistani Warlord"; - }; - class Skin_TK_INS_Soldier_EP1_DZ: SkinBase - { - scope = 2; - displayName = "Takistani Soldier"; - descriptionShort = "Takistani Soldier"; - }; - class Skin_CZ_Special_Forces_GL_DES_EP1_DZ: SkinBase - { - scope = 2; - displayName = "Special Forces"; - descriptionShort = "Special Forces"; - }; - class Skin_Drake_Light_DZ: SkinBase - { - scope = 2; - displayName = "Desert Camo"; - descriptionShort = "Desert Camo"; - }; - class Skin_Soldier_Bodyguard_AA12_PMC_DZ: SkinBase - { - scope = 2; - displayName = "Bodyguard"; - descriptionShort = "Bodyguard"; - }; - class Skin_FR_OHara_DZ: SkinBase - { - scope = 2; - displayName = "Jungle Camo"; - descriptionShort = "Jungle Camo"; - }; - class Skin_FR_Rodriguez_DZ: SkinBase - { - scope = 2; - displayName = "Gunner Outfit"; - descriptionShort = "Gunner Outfit"; - }; - class Skin_CZ_Soldier_Sniper_EP1_DZ: SkinBase - { - scope = 2; - displayName = "Desert Ghillie"; - descriptionShort = "Desert Ghillie"; - }; - class Skin_Graves_Light_DZ: SkinBase - { - scope = 2; - displayName = "Urban Camo"; - descriptionShort = "Urban Camo"; - }; - class Skin_Soldier_Sniper_PMC_DZ: SkinBase - { - scope = 2; - displayName = "Marksman"; - descriptionShort = "Marksman"; - }; - class Skin_Soldier_TL_PMC_DZ: SkinBase - { - scope = 2; - displayName = "Team Leader"; - descriptionShort = "Team Leader"; - }; - // new - - - - - - class Skin_TK_Special_Forces_MG_EP1_DZ: SkinBase - { - scope = 2; - displayName = "Smuggler"; - descriptionShort = "Smuggler"; - }; - class Skin_TK_Soldier_Sniper_EP1_DZ: SkinBase - { - scope = 2; - displayName = "Desert Sniper"; - descriptionShort = "Desert Sniper"; - }; - class Skin_TK_Commander_EP1_DZ: SkinBase - { - scope = 2; - displayName = "General"; - descriptionShort = "General"; - }; - class Skin_RU_Soldier_Crew_DZ: SkinBase - { - scope = 2; - displayName = "Crewman"; - descriptionShort = "Crewman"; - }; - class Skin_INS_Lopotev_DZ: SkinBase - { - scope = 2; - displayName = "Boss"; - descriptionShort = "Team Leader"; - }; - class Skin_INS_Soldier_AR_DZ: SkinBase - { - scope = 2; - displayName = "Cooper"; - descriptionShort = "Cooper"; - }; - class Skin_INS_Soldier_CO_DZ: SkinBase - { - scope = 2; - displayName = "Travis"; - descriptionShort = "Travis"; - }; - class Skin_INS_Bardak_DZ: SkinBase - { - scope = 2; - displayName = "Paulo"; - descriptionShort = "Paulo"; - }; - class Skin_INS_Worker2_DZ: SkinBase - { - scope = 2; - displayName = "Steve"; - descriptionShort = "Steve"; - }; - - // - - class ItemTent; + class ItemTent; class ItemTentOld: ItemTent { scope = 2; @@ -4965,7 +1413,7 @@ class CfgMagazines { 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; @@ -5028,7 +1476,7 @@ class CfgMagazines { }; }; }; - + class ItemSandbag : CA_Magazine { scope = public; count = 1; @@ -5037,7 +1485,7 @@ class CfgMagazines { 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_272; @@ -5084,7 +1532,7 @@ class CfgMagazines { inputweapons[] = {"M240_DZ"}; }; */ - + }; }; @@ -5096,7 +1544,7 @@ class CfgMagazines { 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; @@ -5112,7 +1560,7 @@ class CfgMagazines { requiretools[] = {"ItemEtool","ItemToolbox"}; output[] = {{"ItemSandbag",1}}; input[] = {{"BagFenceRound_DZ_kit",1}}; - }; + }; }; }; @@ -5189,7 +1637,7 @@ class CfgMagazines { }; }; - + class ItemSandbagExLarge : CA_Magazine { scope = public; count = 1; @@ -5217,7 +1665,7 @@ class CfgMagazines { }; }; }; - + class ItemSandbagExLarge5x : CA_Magazine { scope = public; count = 1; @@ -5236,7 +1684,7 @@ class CfgMagazines { }; }; }; - + class ItemTankTrap : CA_Magazine { scope = public; count = 1; @@ -5245,7 +1693,7 @@ class CfgMagazines { model = "\dayz_equip\models\tank_trap_kit.p3d"; picture = "\dayz_equip\textures\equip_tanktrap_kit_CA.paa"; descriptionShort = $STR_EQUIP_DESC_22; - + class ItemActions { class Build { text = $STR_ACTIONS_BUILD; @@ -5255,7 +1703,7 @@ class CfgMagazines { }; }; }; - + class TrapBear : CA_Magazine { scope = public; count = 1; @@ -5264,7 +1712,7 @@ class CfgMagazines { model = "\dayz_equip\models\bear_trap_gear.p3d"; picture = "\dayz_equip\textures\equip_bear_trap_ca.paa"; descriptionShort = "Place to add a bear trap"; - + class ItemActions { class Build { text = "Place Trap"; @@ -5274,7 +1722,7 @@ class CfgMagazines { }; }; }; - + class ItemWire : CA_Magazine { scope = public; count = 1; @@ -5283,7 +1731,7 @@ class CfgMagazines { 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_ACTIONS_BUILD; @@ -5293,863 +1741,14 @@ class CfgMagazines { }; }; }; - - class Quiver : CA_Magazine - { - scope = public; - 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 = public; - 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"}; - }; - }; - }; - - 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 ItemSodaRbull : ItemSodaCoke { - displayName = $STR_FOOD_NAME_RBULL; - descriptionShort = $STR_FOOD_DESC_RBULL; - model = "z\addons\dayz_epoch\models\soda_redbull.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_soda_rbull_CA.paa"; - }; - class ItemSodaOrangeSherbet : ItemSodaCoke { - displayName = $STR_FOOD_NAME_OSHERBET; - descriptionShort = $STR_FOOD_DESC_OSHERBET; - model = "z\addons\dayz_epoch\models\soda_sherbet.p3d"; - picture = "\z\addons\dayz_epoch\pictures\soda_orangesherbet_ca.paa"; - }; - - 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"; - }; -*/ - class FoodEdible; - - - class FoodCanFrankBeans: FoodEdible - { - scope = 2; - // displayName = $STR_EQUIP_NAME_28; - displayName = "Can (Frank n Beans)"; // addactions cannot have & - model = "\dayz_equip\models\food_fbtin.p3d"; - picture = "\dayz_equip\textures\equip_fbtin_ca.paa"; - descriptionShort = $STR_EQUIP_DESC_28; - }; - - class ItemTrout : FoodEdible { - scope = 2; - displayName = "Rainbow Trout"; - descriptionShort = "Rainbow Trout: A small fish that can be fairly easy to catch."; - model = "\z\addons\dayz_epoch\models\trout.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_rainbowtrout_CA.paa"; - bloodRegen = 400; - }; - class ItemSeaBass : FoodEdible { - scope = 2; - displayName = "Sea Bass"; - descriptionShort = "Sea Bass: A medium sized fish that is fairly rare."; - model = "\z\addons\dayz_epoch\models\seabass.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_seabass_CA.paa"; - bloodRegen = 800; - }; - class ItemTuna : FoodEdible { - scope = 2; - displayName = "Blue Fin Tuna"; - descriptionShort = "Blue Fin Tuna: A very large and hard to catch fish. Sushi anyone?"; - model = "\z\addons\dayz_epoch\models\tuna.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_tuna_CA.paa"; - bloodRegen = 2500; - }; - class ItemTroutCooked : FoodEdible { - scope = 2; - displayName = "Rainbow Trout (Cooked)"; - descriptionShort = "Rainbow Trout: A small fish that can be fairly easy to catch."; - model = "\z\addons\dayz_epoch\models\trout_cooked.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_trout_cooked_CA.paa"; - bloodRegen = 800; - }; - class ItemSeaBassCooked : FoodEdible { - scope = 2; - displayName = "Sea Bass (Cooked)"; - descriptionShort = "Sea Bass: A medium sized fish that is fairly rare."; - model = "\z\addons\dayz_epoch\models\seabass_cooked.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_seabass_cooked_CA.paa"; - bloodRegen = 1600; - }; - class ItemTunaCooked : FoodEdible { - scope = 2; - displayName = "Blue Fin Tuna (Cooked)"; - descriptionShort = "Blue Fin Tuna: A very large and hard to catch fish. Sushi anyone?"; - model = "\z\addons\dayz_epoch\models\tuna_cooked.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_tuna_cooked_CA.paa"; - bloodRegen = 5000; - }; - class FoodBioMeat: FoodEdible - { - scope = 2; - displayName = "Bio Meat"; - model = "\z\addons\dayz_epoch\models\biomeat_can.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_biomeat_CA.paa"; - descriptionShort = "Bio Meat: A very good source of nutrition, and a very high chance of infection. Eat at own risk."; - bloodRegen = 1600; - }; - - class FoodmeatRaw : FoodEdible { - scope = public; - count = 1; - type = 256; - displayName = $STR_FOOD_EQIP_CODE_NAME_0; - model = "\dayz_equip\models\food_steak_gear.p3d"; - picture = "\dayz_equip\textures\equip_steak_ca.paa"; - descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_0; - bloodRegen = 100; - }; - class FoodmuttonRaw : FoodmeatRaw { - displayName = $STR_FOOD_EQIP_CODE_NAME_1; - descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_1; - bloodRegen = 100; - }; - - class FoodchickenRaw : FoodmeatRaw { - displayName = $STR_FOOD_EQIP_CODE_NAME_2; - descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_2; - bloodRegen = 100; - }; - - class FoodrabbitRaw : FoodmeatRaw { - displayName = $STR_FOOD_EQIP_CODE_NAME_3; - descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_3; - bloodRegen = 400; - }; - - class FoodbaconRaw : FoodmeatRaw { - displayName = $STR_FOOD_EQIP_CODE_NAME_4; - model = "z\addons\dayz_communityassets\models\bacon_raw.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_bacon_raw_CA.paa"; - descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_4; - bloodRegen = 150; - }; - class FoodbeefRaw : FoodmeatRaw { - displayName = $STR_FOOD_EQIP_CODE_NAME_6; - descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_6; - bloodRegen = 100; - }; - - class FoodmeatCooked : FoodEdible { - scope = public; - count = 1; - displayName = $STR_FOODCOOKED_EQIP_CODE_NAME_0; - model = "\dayz_equip\models\food_steak_cooked_gear.p3d"; - picture = "\dayz_equip\textures\equip_steak_cooked_ca.paa"; - descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_0; - bloodRegen = 800; - }; - class FoodmuttonCooked : FoodmeatCooked { - displayName = $STR_FOODCOOKED_EQIP_CODE_NAME_1; - descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_1; - bloodRegen = 400; - }; - - class FoodchickenCooked : FoodmeatCooked { - displayName = $STR_FOODCOOKED_EQIP_CODE_NAME_2; - descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_2; - bloodRegen = 400; - }; - - class FoodbaconCooked : FoodmeatCooked { - displayName = $STR_FOODCOOKED_EQIP_CODE_NAME_4; - model = "z\addons\dayz_communityassets\models\bacon_fried.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_bacon_fried_CA.paa"; - descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_4; - bloodRegen = 400; - }; - class FoodrabbitCooked : FoodmeatCooked { - displayName = $STR_FOODCOOKED_EQIP_CODE_NAME_3; - descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_3; - bloodRegen = 1600; - }; - class FoodbeefCooked : FoodmeatCooked { - displayName = $STR_FOODCOOKED_EQIP_CODE_NAME_6; - descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_6; - bloodRegen = 600; - }; - - class AngelCookies : FoodEdible { - scope = public; - count = 1; - displayName = $STR_FOODCOOKED_EQIP_CODE_NAME_5; - model = "z\addons\dayz_communityassets\models\buiscits_box.p3d"; - picture = "z\addons\dayz_communityassets\pictures\i_buiscit_ca.paa"; - descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_5; - bloodRegen = 100; - }; - class FoodMRE : FoodEdible { - scope = public; - count = 1; - bloodRegen = 800; - displayName = $STR_FOOD_NAME_MRE; - descriptionShort = $STR_FOOD_DESC_MRE; - model = "z\addons\dayz_communityassets\models\mre.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_mre_CA.paa"; - }; - - class FoodPistachio : FoodEdible { - scope = public; - count = 1; - bloodRegen = 100; - displayName = $STR_FOOD_NAME_PISTACHIO; - descriptionShort = $STR_FOOD_DESC_PISTACHIO; - model = "z\addons\dayz_communityassets\models\pistachio.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_pistachios_CA.paa"; - }; - class FoodNutmix : FoodEdible { - scope = public; - count = 1; - bloodRegen = 100; - displayName = $STR_FOOD_NAME_NUTMIX; - descriptionShort = $STR_FOOD_DESC_NUTMIX; - model = "z\addons\dayz_communityassets\models\nutmix.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_nutmix_CA.paa"; - }; - - class FoodCanGriff : FoodEdible { - scope = public; - count = 1; - bloodRegen = 200; - displayName = $STR_FOOD_NAME_CAN_GRIFF; - descriptionShort = $STR_FOOD_DESC_CAN_GRIFF; - model = "z\addons\dayz_communityassets\models\can_griff_clean_full.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_can_griff_clean_full_ca.paa"; - }; - class FoodCanBadguy : FoodEdible { - scope = public; - count = 1; - bloodRegen = 200; - displayName = $STR_FOOD_NAME_CAN_BADGUY; - descriptionShort = $STR_FOOD_DESC_CAN_BADGUY; - model = "z\addons\dayz_communityassets\models\can_badguy_clean_full.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_can_badguy_clean_full_ca.paa"; - }; - class FoodCanBoneboy : FoodEdible { - scope = public; - count = 1; - bloodRegen = 200; - displayName = $STR_FOOD_NAME_CAN_BONEBOY; - descriptionShort = $STR_FOOD_DESC_CAN_BONEBOY; - model = "z\addons\dayz_communityassets\models\can_boneboy_clean_full.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_can_boneboy_clean_full_ca.paa"; - }; - class FoodCanCorn : FoodEdible { - scope = public; - count = 1; - bloodRegen = 200; - displayName = $STR_FOOD_NAME_CAN_CORN; - descriptionShort = $STR_FOOD_DESC_CAN_CORN; - model = "z\addons\dayz_communityassets\models\can_corn_clean_full.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_can_corn_clean_full_ca.paa"; - }; - class FoodCanCurgon : FoodEdible { - scope = public; - count = 1; - bloodRegen = 200; - displayName = $STR_FOOD_NAME_CAN_CURGON; - descriptionShort = $STR_FOOD_DESC_CAN_CURGON; - model = "z\addons\dayz_communityassets\models\can_curgon_clean_full.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_can_curgon_clean_full_ca.paa"; - }; - class FoodCanDemon : FoodEdible { - scope = public; - count = 1; - bloodRegen = 200; - displayName = $STR_FOOD_NAME_CAN_DEMON; - descriptionShort = $STR_FOOD_DESC_CAN_DEMON; - model = "z\addons\dayz_communityassets\models\can_demon_clean_full.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_can_demon_clean_full_ca.paa"; - }; - class FoodCanFraggleos : FoodEdible { - scope = public; - count = 1; - bloodRegen = 200; - displayName = $STR_FOOD_NAME_CAN_FRAGGLEOS; - descriptionShort = $STR_FOOD_DESC_CAN_FRAGGLEOS; - model = "z\addons\dayz_communityassets\models\can_fraggleos_clean_full.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_can_fraggleos_clean_full_ca.paa"; - }; - class FoodCanHerpy : FoodEdible { - scope = public; - count = 1; - bloodRegen = 200; - displayName = $STR_FOOD_NAME_CAN_HERPY; - descriptionShort = $STR_FOOD_DESC_CAN_HERPY; - model = "z\addons\dayz_communityassets\models\can_herpy_clean_full.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_can_herpy_clean_full_ca.paa"; - }; - class FoodCanOrlok : FoodEdible { - scope = public; - count = 1; - bloodRegen = 200; - displayName = $STR_FOOD_NAME_CAN_ORLOK; - descriptionShort = $STR_FOOD_DESC_CAN_ORLOK; - model = "z\addons\dayz_communityassets\models\can_orlok_clean_full.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_can_orlok_clean_full_ca.paa"; - }; - class FoodCanPowell : FoodEdible { - scope = public; - count = 1; - bloodRegen = 200; - displayName = $STR_FOOD_NAME_CAN_POWELL; - descriptionShort = $STR_FOOD_DESC_CAN_POWELL; - model = "z\addons\dayz_communityassets\models\can_powell_clean_full.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_can_powell_clean_full_ca.paa"; - }; - class FoodCanTylers : FoodEdible { - scope = public; - count = 1; - bloodRegen = 200; - displayName = $STR_FOOD_NAME_CAN_TYLERS; - descriptionShort = $STR_FOOD_DESC_CAN_TYLERS; - model = "z\addons\dayz_communityassets\models\can_tylers_clean_full.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_can_tylers_clean_full_ca.paa"; - }; - class FoodCanUnlabeled : FoodEdible { - scope = public; - count = 1; - bloodRegen = 200; - displayName = $STR_FOOD_NAME_CAN_UNLABELED; - descriptionShort = $STR_FOOD_DESC_CAN_UNLABELED; - model = "z\addons\dayz_communityassets\models\can_unlabeled_clean_full.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_can_unlabeled_clean_full_ca.paa"; - }; - - // new DZE harvested food - class FoodPumpkin : FoodEdible { - scope = public; - count = 1; - bloodRegen = 100; - displayName = "Pumpkin"; - descriptionShort = "Pumpkin"; - weight = 1; - model = "z\addons\dayz_communityassets\models\pistachio.p3d"; // TODO: model + icon - picture = "\z\addons\dayz_communityassets\pictures\equip_pistachios_CA.paa"; - }; - class FoodSunFlowerSeed : FoodEdible { - scope = public; - count = 1; - bloodRegen = 100; - displayName = "Bag of Sunflower Seeds"; - descriptionShort = "Bag of Sunflower Seeds"; - weight = 0.1; - model = "z\addons\dayz_communityassets\models\pistachio.p3d"; // TODO: model + icon - picture = "\z\addons\dayz_communityassets\pictures\equip_pistachios_CA.paa"; - }; - - class TrashTinCan: HandGrenade - { - scope = 2; - displayName = $STR_EQUIP_NAME_33; - model = "\dayz_equip\models\trash_tincan.p3d"; - picture = "\dayz_equip\textures\equip_tincan_ca.paa"; - descriptionShort = $STR_EQUIP_DESC_33; - ammo = "TinCan"; - class ItemActions - { - class Crafting - { - text = "Melt into Bars"; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"fire"}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"ItemTinBar",1}}; - input[] = {{"TrashTinCan",6}}; - }; - }; - }; - - class FoodCanGriffEmpty : TrashTinCan { - scope = public; - count = 1; - model = "z\addons\dayz_communityassets\models\can_griff_clean_empty.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_can_griff_clean_empty_ca.paa"; - displayName = $STR_FOOD_NAME_CAN_GRIFF_EMPTY; - descriptionShort = $STR_FOOD_DESC_CAN_GRIFF_EMPTY; - ammo = "TinCan"; - }; - class FoodCanBadguyEmpty : TrashTinCan { - scope = public; - count = 1; - displayName = $STR_FOOD_NAME_CAN_BADGUY_EMPTY; - descriptionShort = $STR_FOOD_DESC_CAN_BADGUY_EMPTY; - model = "z\addons\dayz_communityassets\models\can_badguy_clean_empty.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_can_badguy_clean_empty_ca.paa"; - ammo = "TinCan"; - }; - class FoodCanBoneboyEmpty : TrashTinCan { - scope = public; - count = 1; - displayName = $STR_FOOD_NAME_CAN_BONEBOY_EMPTY; - descriptionShort = $STR_FOOD_DESC_CAN_BONEBOY_EMPTY; - model = "z\addons\dayz_communityassets\models\can_boneboy_clean_empty.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_can_boneboy_clean_empty_ca.paa"; - ammo = "TinCan"; - }; - class FoodCanCornEmpty : TrashTinCan { - scope = public; - count = 1; - displayName = $STR_FOOD_NAME_CAN_CORN_EMPTY; - descriptionShort = $STR_FOOD_DESC_CAN_CORN_EMPTY; - model = "z\addons\dayz_communityassets\models\can_corn_clean_empty.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_can_corn_clean_empty_ca.paa"; - ammo = "TinCan"; - }; - class FoodCanCurgonEmpty : TrashTinCan { - scope = public; - count = 1; - displayName = $STR_FOOD_NAME_CAN_CURGON_EMPTY; - descriptionShort = $STR_FOOD_DESC_CAN_CURGON_EMPTY; - model = "z\addons\dayz_communityassets\models\can_curgon_clean_empty.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_can_curgon_clean_empty_ca.paa"; - ammo = "TinCan"; - }; - class FoodCanDemonEmpty : TrashTinCan { - scope = public; - count = 1; - displayName = $STR_FOOD_NAME_CAN_DEMON_EMPTY; - descriptionShort = $STR_FOOD_DESC_CAN_DEMON_EMPTY; - model = "z\addons\dayz_communityassets\models\can_demon_clean_empty.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_can_demon_clean_empty_ca.paa"; - ammo = "TinCan"; - }; - class FoodCanFraggleosEmpty : TrashTinCan { - scope = public; - count = 1; - displayName = $STR_FOOD_NAME_CAN_FRAGGLEOS_EMPTY; - descriptionShort = $STR_FOOD_DESC_CAN_FRAGGLEOS_EMPTY; - model = "z\addons\dayz_communityassets\models\can_fraggleos_clean_empty.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_can_fraggleos_clean_empty_ca.paa"; - ammo = "TinCan"; - }; - class FoodCanHerpyEmpty : TrashTinCan { - scope = public; - count = 1; - displayName = $STR_FOOD_NAME_CAN_HERPY_EMPTY; - descriptionShort = $STR_FOOD_DESC_CAN_HERPY_EMPTY; - model = "z\addons\dayz_communityassets\models\can_herpy_clean_empty.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_can_herpy_clean_empty_ca.paa"; - ammo = "TinCan"; - }; - class FoodCanOrlokEmpty : TrashTinCan { - scope = public; - count = 1; - displayName = $STR_FOOD_NAME_CAN_ORLOK_EMPTY; - descriptionShort = $STR_FOOD_DESC_CAN_ORLOK_EMPTY; - model = "z\addons\dayz_communityassets\models\can_orlok_clean_empty.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_can_orlok_clean_empty_ca.paa"; - ammo = "TinCan"; - }; - class FoodCanPowellEmpty : TrashTinCan { - scope = public; - count = 1; - displayName = $STR_FOOD_NAME_CAN_POWELL_EMPTY; - descriptionShort = $STR_FOOD_DESC_CAN_POWELL_EMPTY; - model = "z\addons\dayz_communityassets\models\can_powell_clean_empty.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_can_powell_clean_empty_ca.paa"; - ammo = "TinCan"; - }; - class FoodCanTylersEmpty : TrashTinCan { - scope = public; - count = 1; - displayName = $STR_FOOD_NAME_CAN_TYLERS_EMPTY; - descriptionShort = $STR_FOOD_DESC_CAN_TYLERS_EMPTY; - model = "z\addons\dayz_communityassets\models\can_tylers_clean_empty.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_can_tylers_clean_empty_ca.paa"; - ammo = "TinCan"; - }; - class FoodCanUnlabeledEmpty : TrashTinCan { - scope = public; - count = 1; - displayName = $STR_FOOD_NAME_CAN_UNLABELED_EMPTY; - descriptionShort = $STR_FOOD_DESC_CAN_UNLABELED_EMPTY; - model = "z\addons\dayz_communityassets\models\can_unlabeled_clean_empty.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_can_unlabeled_clean_empty_ca.paa"; - ammo = "TinCan"; - }; - - 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; - }; - - class ItemWaterbottle1oz : ItemWaterbottle { - displayName = "Water Bottle (1oz)"; - descriptionShort = "Watter Bottle with 1oz of water"; - picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle1oz_ca.paa"; - wateroz = 1; - class ItemActions - { - class Fill - { - text = "$STR_ACTIONS_FILL_W"; - script = "spawn player_fillWater;"; - }; - }; - }; - class ItemWaterbottle2oz : ItemWaterbottle { - displayName = "Water Bottle (2oz)"; - descriptionShort = "Watter Bottle with 2oz of water"; - picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle2oz_ca.paa"; - wateroz = 2; - class ItemActions - { - class Fill - { - text = "$STR_ACTIONS_FILL_W"; - script = "spawn player_fillWater;"; - }; - }; - }; - class ItemWaterbottle3oz : ItemWaterbottle { - displayName = "Water Bottle (3oz)"; - descriptionShort = "Watter Bottle with 3oz of water"; - picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle3oz_ca.paa"; - wateroz = 3; - class ItemActions - { - class Fill - { - text = "$STR_ACTIONS_FILL_W"; - script = "spawn player_fillWater;"; - }; - }; - }; - class ItemWaterbottle4oz : ItemWaterbottle { - displayName = "Water Bottle (4oz)"; - descriptionShort = "Watter Bottle with 4oz of water"; - picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle4oz_ca.paa"; - wateroz = 4; - class ItemActions - { - class Fill - { - text = "$STR_ACTIONS_FILL_W"; - script = "spawn player_fillWater;"; - }; - }; - }; - class ItemWaterbottle5oz : ItemWaterbottle { - displayName = "Water Bottle (5oz)"; - descriptionShort = "Watter Bottle with 5oz of water"; - picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle5oz_ca.paa"; - wateroz = 5; - class ItemActions - { - class Fill - { - text = "$STR_ACTIONS_FILL_W"; - script = "spawn player_fillWater;"; - }; - }; - }; - class ItemWaterbottle6oz : ItemWaterbottle { - displayName = "Water Bottle (6oz)"; - descriptionShort = "Watter Bottle with 6oz of water"; - picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle6oz_ca.paa"; - wateroz = 6; - class ItemActions - { - class Fill - { - text = "$STR_ACTIONS_FILL_W"; - script = "spawn player_fillWater;"; - }; - }; - }; - class ItemWaterbottle7oz : ItemWaterbottle { - displayName = "Water Bottle (7oz)"; - descriptionShort = "Watter Bottle with 7oz of water"; - picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle7oz_ca.paa"; - wateroz = 7; - class ItemActions - { - class Fill - { - text = "$STR_ACTIONS_FILL_W"; - script = "spawn player_fillWater;"; - }; - }; - }; - class ItemWaterbottle8oz : ItemWaterbottle { - displayName = "Water Bottle (8oz)"; - descriptionShort = "Watter Bottle with 8oz of water"; - picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle8oz_ca.paa"; - wateroz = 8; - class ItemActions - { - class Fill - { - text = "$STR_ACTIONS_FILL_W"; - script = "spawn player_fillWater;"; - }; - }; - }; - class ItemWaterbottle9oz : ItemWaterbottle { - displayName = "Water Bottle (9oz)"; - descriptionShort = "Watter Bottle with 9oz of water"; - picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle9oz_ca.paa"; - wateroz = 9; - class ItemActions - { - class Fill - { - text = "$STR_ACTIONS_FILL_W"; - script = "spawn player_fillWater;"; - }; - }; - }; + // Food + #include "CfgMagazines\Food.hpp" + #include "CfgMagazines\DZE\Food.hpp" + // Waterbottle + #include "CfgMagazines\ItemWaterbottle.hpp" + #include "CfgMagazines\DZE\ItemWaterbottle.hpp" #include "CfgMagazines\MeleeSwing.hpp" @@ -6196,65 +1795,4 @@ class CfgMagazines { }; }; }; - - - - class 8Rnd_B_Beneli_74Slug; - class 8Rnd_B_Beneli_Pellets; - - 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 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" - }; - }; - }; - }; }; diff --git a/SQF/dayz_code/Configs/CfgMagazines/Ammo.hpp b/SQF/dayz_code/Configs/CfgMagazines/Ammo.hpp new file mode 100644 index 000000000..f003facb2 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/Ammo.hpp @@ -0,0 +1,156 @@ +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 { + count = 200; +}; +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 = public; + 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 = public; + 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"}; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Bulk.hpp b/SQF/dayz_code/Configs/CfgMagazines/DZE/Bulk.hpp new file mode 100644 index 000000000..84483a95e --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/DZE/Bulk.hpp @@ -0,0 +1,298 @@ +class bulk: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Supply Crate"; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + descriptionShort = "12 x Random Item"; + weight = 5; +}; +class bulk_empty: bulk { + descriptionShort = "Empty Supply Crate"; + weight = 5; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_221; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"bulk_ItemSodaCoke",1}}; + input[] = {{"bulk_empty",1},{"ItemSodaCoke",6}}; + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_222; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"bulk_ItemSodaPepsi",1}}; + input[] = {{"bulk_empty",1},{"ItemSodaPepsi",6}}; + }; + + class Crafting2 { + text = $STR_EPOCH_PLAYER_223; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"bulk_PartGenericHalf",1}}; + input[] = {{"bulk_empty",1},{"PartGeneric",6}}; + }; + class Crafting3 { + text = $STR_EPOCH_PLAYER_224; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"bulk_ItemTankTrapHalf",1}}; + input[] = {{"bulk_empty",1},{"ItemTankTrap",6}}; + }; + class Crafting4 { + text = $STR_EPOCH_PLAYER_225; + script = ";['Crafting4','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"bulk_ItemWireHalf",1}}; + input[] = {{"bulk_empty",1},{"ItemWire",6}}; + }; + class Crafting5 { + text = $STR_EPOCH_PLAYER_226; + script = ";['Crafting5','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"bulk_FoodbaconCooked",1}}; + input[] = {{"bulk_empty",1},{"FoodbaconCooked",6}}; + }; + }; +}; + +class bulk_ItemSodaCoke: bulk { + descriptionShort = "6 x ItemSodaCoke"; + class ItemActions { + class CreateMags { + text = $STR_EPOCH_PLAYER_209; + script = "spawn player_loadCrate;"; + output[] = {"ItemSodaCoke",6,"magazine"}; + }; + class Crafting { + text = $STR_EPOCH_PLAYER_221; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"bulk_ItemSodaCokeFull",1}}; + input[] = {{"bulk_ItemSodaCoke",1},{"ItemSodaCoke",6}}; + }; + }; +}; +class bulk_ItemSodaCokeFull: bulk { + descriptionShort = "12 x ItemSodaCoke"; + class ItemActions { + class CreateMags { + text = $STR_EPOCH_PLAYER_209; + script = "spawn player_loadCrate;"; + output[] = {"ItemSodaCoke",12,"magazine"}; + }; + }; +}; + +class bulk_ItemSodaPepsi: bulk { + descriptionShort = "6 x ItemSodaPepsi"; + class ItemActions { + class CreateMags { + text = $STR_EPOCH_PLAYER_209; + script = "spawn player_loadCrate;"; + output[] = {"ItemSodaPepsi",6,"magazine"}; + }; + class Crafting { + text = $STR_EPOCH_PLAYER_222; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"bulk_ItemSodaPepsiFull",1}}; + input[] = {{"bulk_ItemSodaPepsi",1},{"ItemSodaPepsi",6}}; + }; + }; +}; +class bulk_ItemSodaPepsiFull: bulk { + descriptionShort = "12 x ItemSodaPepsi"; + class ItemActions { + class CreateMags { + text = $STR_EPOCH_PLAYER_209; + script = "spawn player_loadCrate;"; + output[] = {"ItemSodaPepsi",12,"magazine"}; + }; + }; +}; + +class bulk_FoodbaconCooked: bulk { + descriptionShort = "6 x FoodbaconCooked"; + class ItemActions { + class CreateMags { + text = $STR_EPOCH_PLAYER_209; + script = "spawn player_loadCrate;"; + output[] = {"FoodbaconCooked",6,"magazine"}; + }; + class Crafting { + text = $STR_EPOCH_PLAYER_227; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"bulk_FoodbaconCookedFull",1}}; + input[] = {{"bulk_FoodbaconCooked",1},{"FoodbaconCooked",6}}; + }; + }; +}; +class bulk_FoodbaconCookedFull: bulk { + descriptionshort = "12 x FoodbaconCooked"; + class ItemActions { + class CreateMags { + text = $STR_EPOCH_PLAYER_209; + script = "spawn player_loadCrate;"; + output[] = {"FoodbaconCooked",12,"magazine"}; + }; + }; +}; + +class bulk_30Rnd_9x19_MP5SD: bulk { + descriptionShort = "12 x 30Rnd_9x19_MP5SD"; + + class ItemActions { + class CreateMags { + text = $STR_EPOCH_PLAYER_209; + script = "spawn player_loadCrate;"; + output[] = {"30Rnd_9x19_MP5SD",12,"magazine"}; + }; + }; +}; +class bulk_15Rnd_9x19_M9SD: bulk { + descriptionShort = "12 x 15Rnd_9x19_M9SD"; + class ItemActions { + class CreateMags { + text = $STR_EPOCH_PLAYER_209; + script = "spawn player_loadCrate;"; + output[] = {"15Rnd_9x19_M9SD",12,"magazine"}; + }; + }; +}; +class bulk_30Rnd_556x45_StanagSD: bulk { + descriptionShort = "12 x 30Rnd_556x45_StanagSD"; + class ItemActions { + class CreateMags { + text = $STR_EPOCH_PLAYER_209; + script = "spawn player_loadCrate;"; + output[] = {"30Rnd_556x45_StanagSD",12,"magazine"}; + }; + }; +}; +class bulk_ItemSandbag: bulk { + descriptionShort = "12 x SandBag"; + class ItemActions { + class CreateMags { + text = $STR_EPOCH_PLAYER_209; + script = "spawn player_loadCrate;"; + output[] = {"ItemSandbag",12,"magazine"}; + }; + }; +}; + +class bulk_ItemTankTrap: bulk { + descriptionShort = "12 x Tank Trap"; + weight = 25; + class ItemActions { + class CreateMags { + text = $STR_EPOCH_PLAYER_209; + script = "spawn player_loadCrate;"; + output[] = {"ItemTankTrap",12,"magazine"}; + }; + }; +}; +class bulk_ItemTankTrapHalf: bulk { + descriptionShort = "6 x Tank Trap"; + weight = 12.5; + class ItemActions { + class CreateMags { + text = $STR_EPOCH_PLAYER_209; + script = "spawn player_loadCrate;"; + output[] = {"ItemTankTrap",6,"magazine"}; + }; + class Crafting { + text = $STR_EPOCH_PLAYER_224; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"bulk_ItemTankTrap",1}}; + input[] = {{"bulk_ItemTankTrapHalf",1},{"ItemTankTrap",6}}; + }; + }; +}; + +class bulk_ItemWire: bulk { + descriptionShort = "12 x Wire Kit"; + weight = 25; + class ItemActions { + class CreateMags { + text = $STR_EPOCH_PLAYER_209; + script = "spawn player_loadCrate;"; + output[] = {"ItemWire",12,"magazine"}; + }; + }; +}; +class bulk_ItemWireHalf: bulk { + descriptionShort = "6 x Wire Kit"; + weight = 12.5; + class ItemActions { + class CreateMags { + text = $STR_EPOCH_PLAYER_209; + script = "spawn player_loadCrate;"; + output[] = {"ItemWire",6,"magazine"}; + }; + class Crafting { + text = $STR_EPOCH_PLAYER_225; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"bulk_ItemWire",1}}; + input[] = {{"bulk_ItemWireHalf",1},{"ItemWire",6}}; + }; + }; +}; + +class bulk_PartGeneric: bulk { + descriptionShort = "12 x Scrap Metal"; + weight = 60; + class ItemActions { + class CreateMags { + text = $STR_EPOCH_PLAYER_209; + script = "spawn player_loadCrate;"; + output[] = {"PartGeneric",12,"magazine"}; + }; + }; +}; +class bulk_PartGenericHalf: bulk { + descriptionShort = "6 x Scrap Metal"; + weight = 30; + class ItemActions { + class CreateMags { + text = $STR_EPOCH_PLAYER_209; + script = "spawn player_loadCrate;"; + output[] = {"PartGeneric",6,"magazine"}; + }; + class Crafting { + text = $STR_EPOCH_PLAYER_223; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"bulk_PartGeneric",1}}; + input[] = {{"bulk_PartGenericHalf",1},{"PartGeneric",6}}; + }; + }; +}; + +class bulk_17Rnd_9x19_glock17: bulk { + descriptionShort = "12 x 17Rnd_9x19_glock17"; + class ItemActions { + class CreateMags { + text = $STR_EPOCH_PLAYER_209; + script = "spawn player_loadCrate;"; + output[] = {"17Rnd_9x19_glock17",12,"magazine"}; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/AluminumBar.hpp b/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/AluminumBar.hpp new file mode 100644 index 000000000..8371f45a5 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/AluminumBar.hpp @@ -0,0 +1,29 @@ +class ItemAluminumBar: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Aluminum"; + model = "\z\addons\dayz_epoch\models\aluminum_bar.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_alum_bar_CA.paa"; + descriptionShort = "Aluminum Bar"; + +}; +class ItemAluminumBar10oz: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "10oz Aluminum"; + model = "\z\addons\dayz_epoch\models\aluminum_bar.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_alum_bar_10oz_CA.paa"; + descriptionShort = "10oz Aluminum Bar"; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemAluminumBar",10}}; + input[] = {{"ItemAluminumBar10oz",1}}; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/Briefcase.hpp b/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/Briefcase.hpp new file mode 100644 index 000000000..5162fd115 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/Briefcase.hpp @@ -0,0 +1,399 @@ +class ItemBriefcase_Base: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Briefcase"; + model = "\z\addons\dayz_epoch\models\briefcase.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_briefcase_CA.paa"; +}; +class ItemBriefcaseEmpty: ItemBriefcase_Base { + picture = "\z\addons\dayz_epoch\pictures\equip_briefcase_E_CA.paa"; + descriptionShort = "Empty Briefcase"; + weight = 1; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_197; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemBriefcase10oz",1}}; + input[] = {{"ItemBriefcaseEmpty",1},{"ItemGoldBar10oz",1}}; + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_198; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemBriefcase100oz",1}}; + input[] = {{"ItemBriefcaseEmpty",1},{"ItemGoldBar10oz",10}}; + }; + }; +}; +class ItemBriefcase10oz: ItemBriefcase_Base { + picture = "\z\addons\dayz_epoch\pictures\equip_briefcase_10oz_CA.paa"; + descriptionShort = "Briefcase (Contains: 1 x 10oz Gold Bar)"; + weight = 1.2; + worth = 1000; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_197; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemBriefcase20oz",1}}; + input[] = {{"ItemBriefcase10oz",1},{"ItemGoldBar10oz",1}}; + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_199; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemBriefcase100oz",1}}; + input[] = {{"ItemBriefcase10oz",1},{"ItemGoldBar10oz",9}}; + }; + class Crafting2 { + text = $STR_EPOCH_PLAYER_200; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",1},{"ItemBriefcaseEmpty",1}}; + input[] = {{"ItemBriefcase10oz",1}}; + }; + }; +}; +class ItemBriefcase20oz: ItemBriefcase_Base { + picture = "\z\addons\dayz_epoch\pictures\equip_briefcase_20oz_CA.paa"; + descriptionShort = "Briefcase (Contains: 2 x 10oz Gold Bar)"; + weight = 1.5; + worth = 2000; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_197; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemBriefcase30oz",1}}; + input[] = {{"ItemBriefcase20oz",1},{"ItemGoldBar10oz",1}}; + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_202; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemBriefcase100oz",1}}; + input[] = {{"ItemBriefcase20oz",1},{"ItemGoldBar10oz",8}}; + }; + class Crafting2 { + text = $STR_EPOCH_PLAYER_200; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",1},{"ItemBriefcase10oz",1}}; + input[] = {{"ItemBriefcase20oz",1}}; + }; + class Crafting3 { + text = $STR_EPOCH_PLAYER_201; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",2},{"ItemBriefcaseEmpty",1}}; + input[] = {{"ItemBriefcase20oz",1}}; + }; + }; +}; +class ItemBriefcase30oz: ItemBriefcase_Base { + picture = "\z\addons\dayz_epoch\pictures\equip_briefcase_30oz_CA.paa"; + descriptionShort = "Briefcase (Contains: 3 x 10oz Gold Bar)"; + weight = 1.8; + worth = 3000; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_197; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemBriefcase40oz",1}}; + input[] = {{"ItemBriefcase30oz",1},{"ItemGoldBar10oz",1}}; + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_203; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemBriefcase100oz",1}}; + input[] = {{"ItemBriefcase30oz",1},{"ItemGoldBar10oz",7}}; + }; + class Crafting2 { + text = $STR_EPOCH_PLAYER_200; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",1},{"ItemBriefcase20oz",1}}; + input[] = {{"ItemBriefcase30oz",1}}; + }; + class Crafting3 { + text = $STR_EPOCH_PLAYER_201; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",3},{"ItemBriefcaseEmpty",1}}; + input[] = {{"ItemBriefcase30oz",1}}; + }; + }; +}; +class ItemBriefcase40oz: ItemBriefcase_Base { + picture = "\z\addons\dayz_epoch\pictures\equip_briefcase_40oz_CA.paa"; + descriptionShort = "Briefcase (Contains: 4 x 10oz Gold Bar)"; + weight = 2.1; + worth = 4000; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_197; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemBriefcase50oz",1}}; + input[] = {{"ItemBriefcase40oz",1},{"ItemGoldBar10oz",1}}; + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_204; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemBriefcase100oz",1}}; + input[] = {{"ItemBriefcase40oz",1},{"ItemGoldBar10oz",6}}; + }; + class Crafting2 { + text = $STR_EPOCH_PLAYER_200; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",1},{"ItemBriefcase30oz",1}}; + input[] = {{"ItemBriefcase40oz",1}}; + }; + class Crafting3 { + text = $STR_EPOCH_PLAYER_201; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",4},{"ItemBriefcaseEmpty",1}}; + input[] = {{"ItemBriefcase40oz",1}}; + }; + }; +}; +class ItemBriefcase50oz: ItemBriefcase_Base { + picture = "\z\addons\dayz_epoch\pictures\equip_briefcase_50oz_CA.paa"; + descriptionShort = "Briefcase (Contains: 5 x 10oz Gold Bar)"; + weight = 2.4; + worth = 5000; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_197; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemBriefcase60oz",1}}; + input[] = {{"ItemBriefcase50oz",1},{"ItemGoldBar10oz",1}}; + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_205; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemBriefcase100oz",1}}; + input[] = {{"ItemBriefcase50oz",1},{"ItemGoldBar10oz",5}}; + }; + class Crafting2 { + text = $STR_EPOCH_PLAYER_200; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",1},{"ItemBriefcase40oz",1}}; + input[] = {{"ItemBriefcase50oz",1}}; + }; + class Crafting3 { + text = $STR_EPOCH_PLAYER_201; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",5},{"ItemBriefcaseEmpty",1}}; + input[] = {{"ItemBriefcase50oz",1}}; + }; + }; +}; +class ItemBriefcase60oz: ItemBriefcase_Base { + picture = "\z\addons\dayz_epoch\pictures\equip_briefcase_60oz_CA.paa"; + descriptionShort = "Briefcase (Contains: 6 x 10oz Gold Bar)"; + weight = 2.7; + worth = 6000; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_197; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemBriefcase70oz",1}}; + input[] = {{"ItemBriefcase60oz",1},{"ItemGoldBar10oz",1}}; + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_206; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemBriefcase100oz",1}}; + input[] = {{"ItemBriefcase60oz",1},{"ItemGoldBar10oz",4}}; + }; + class Crafting2 { + text = $STR_EPOCH_PLAYER_200; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",1},{"ItemBriefcase50oz",1}}; + input[] = {{"ItemBriefcase60oz",1}}; + }; + class Crafting3 { + text = $STR_EPOCH_PLAYER_201; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",6},{"ItemBriefcaseEmpty",1}}; + input[] = {{"ItemBriefcase60oz",1}}; + }; + }; +}; +class ItemBriefcase70oz: ItemBriefcase_Base { + picture = "\z\addons\dayz_epoch\pictures\equip_briefcase_70oz_CA.paa"; + descriptionShort = "Briefcase (Contains: 7 x 10oz Gold Bar)"; + weight = 2.9; + worth = 7000; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_197; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemBriefcase80oz",1}}; + input[] = {{"ItemBriefcase70oz",1},{"ItemGoldBar10oz",1}}; + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_207; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemBriefcase100oz",1}}; + input[] = {{"ItemBriefcase70oz",1},{"ItemGoldBar10oz",3}}; + }; + class Crafting2 { + text = $STR_EPOCH_PLAYER_200; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",1},{"ItemBriefcase60oz",1}}; + input[] = {{"ItemBriefcase70oz",1}}; + }; + class Crafting3 { + text = $STR_EPOCH_PLAYER_201; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",7},{"ItemBriefcaseEmpty",1}}; + input[] = {{"ItemBriefcase70oz",1}}; + }; + }; +}; +class ItemBriefcase80oz: ItemBriefcase_Base { + picture = "\z\addons\dayz_epoch\pictures\equip_briefcase_80oz_CA.paa"; + descriptionShort = "Briefcase (Contains: 8 x 10oz Gold Bar)"; + weight = 3.2; + worth = 8000; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_197; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemBriefcase90oz",1}}; + input[] = {{"ItemBriefcase80oz",1},{"ItemGoldBar10oz",1}}; + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_208; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemBriefcase100oz",1}}; + input[] = {{"ItemBriefcase80oz",1},{"ItemGoldBar10oz",2}}; + }; + class Crafting2 { + text = $STR_EPOCH_PLAYER_200; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",1},{"ItemBriefcase70oz",1}}; + input[] = {{"ItemBriefcase80oz",1}}; + }; + class Crafting3 { + text = $STR_EPOCH_PLAYER_201; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",8},{"ItemBriefcaseEmpty",1}}; + input[] = {{"ItemBriefcase80oz",1}}; + }; + }; +}; +class ItemBriefcase90oz: ItemBriefcase_Base { + picture = "\z\addons\dayz_epoch\pictures\equip_briefcase_90oz_CA.paa"; + descriptionShort = "Briefcase (Contains: 9 x 10oz Gold Bar)"; + weight = 3.5; + worth = 9000; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_197; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemBriefcase100oz",1}}; + input[] = {{"ItemBriefcase90oz",1},{"ItemGoldBar10oz",1}}; + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_200; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",1},{"ItemBriefcase80oz",1}}; + input[] = {{"ItemBriefcase90oz",1}}; + }; + class Crafting2 { + text = $STR_EPOCH_PLAYER_201; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",9},{"ItemBriefcaseEmpty",1}}; + input[] = {{"ItemBriefcase90oz",1}}; + }; + }; +}; +class ItemBriefcase100oz: ItemBriefcase_Base { + picture = "\z\addons\dayz_epoch\pictures\equip_briefcase_100oz_CA.paa"; + descriptionShort = "Briefcase (Contains: 10 x 10oz Gold Bar)"; + weight = 3.8; + worth = 10000; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_200; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",1},{"ItemBriefcase90oz",1}}; + input[] = {{"ItemBriefcase100oz",1}}; + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_201; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",10},{"ItemBriefcaseEmpty",1}}; + input[] = {{"ItemBriefcase100oz",1}}; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/BronzeBar.hpp b/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/BronzeBar.hpp new file mode 100644 index 000000000..b5c995c98 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/BronzeBar.hpp @@ -0,0 +1,9 @@ +class ItemBronzeBar: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Bronze"; + model = "\z\addons\dayz_epoch\models\bronze_bar.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_bar_bronze_CA.paa"; + descriptionShort = "Bronze Bar"; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/CopperBar.hpp b/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/CopperBar.hpp new file mode 100644 index 000000000..72a622fb6 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/CopperBar.hpp @@ -0,0 +1,38 @@ +class ItemCopperBar: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Copper"; + model = "\z\addons\dayz_epoch\models\copper_bar.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_copper_bar_CA.paa"; + descriptionShort = "Copper Bar"; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_210; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemCopperBar10oz",1}}; + input[] = {{"ItemCopperBar",10}}; + }; + }; +}; +class ItemCopperBar10oz: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "10oz Copper"; + model = "\z\addons\dayz_epoch\models\copper_bar_10oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_copper_bar_10oz_CA.paa"; + descriptionShort = "10oz Copper Bar"; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemCopperBar",10}}; + input[] = {{"ItemCopperBar10oz",1}}; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/GoldBar.hpp b/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/GoldBar.hpp new file mode 100644 index 000000000..2c183f3d6 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/GoldBar.hpp @@ -0,0 +1,410 @@ +class ItemGoldBar: CA_Magazine { + scope = 2; + count = 1; + worth = 100; + type = 256; + displayName = "Gold"; + model = "\z\addons\dayz_epoch\models\ItemGoldBar1oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_gold_bar_CA.paa"; + descriptionShort = "Gold Bar"; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar2oz",1}}; + input[] = {{"ItemGoldBar",2}}; + + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_210_9; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",1}}; + input[] = {{"ItemGoldBar",10}}; + }; + }; +}; +class ItemGoldBar2oz: CA_Magazine { + scope = 2; + count = 1; + worth = 200; + type = 256; + displayName = "2oz Gold"; + model = "\z\addons\dayz_epoch\models\ItemGoldBar2oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_gold_bar_CA.paa"; + descriptionShort = "2 x 1oz Gold Bar"; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar3oz",1}}; + input[] = {{"ItemGoldBar2oz",1},{"ItemGoldBar",1}}; + + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_211_1; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar",2}}; + input[] = {{"ItemGoldBar2oz",1}}; + + }; + class Crafting2 { + text = $STR_EPOCH_PLAYER_210_8; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",1}}; + input[] = {{"ItemGoldBar2oz",1},{"ItemGoldBar",8}}; + }; + }; +}; +class ItemGoldBar3oz: CA_Magazine { + scope = 2; + count = 1; + worth = 300; + type = 256; + displayName = "3oz Gold"; + model = "\z\addons\dayz_epoch\models\ItemGoldBar3oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_gold_bar_CA.paa"; + descriptionShort = "3 x 1oz Gold Bar"; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar4oz",1}}; + input[] = {{"ItemGoldBar3oz",1},{"ItemGoldBar",1}}; + + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_211_1; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar2oz",1},{"ItemGoldBar",1}}; + input[] = {{"ItemGoldBar3oz",1}}; + + }; + class Crafting2 { + text = $STR_EPOCH_PLAYER_210_7; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",1}}; + input[] = {{"ItemGoldBar3oz",1},{"ItemGoldBar",7}}; + }; + class Crafting3 { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar",3}}; + input[] = {{"ItemGoldBar3oz",1}}; + }; + }; +}; +class ItemGoldBar4oz: CA_Magazine { + scope = 2; + count = 1; + worth = 400; + type = 256; + displayName = "4oz Gold"; + model = "\z\addons\dayz_epoch\models\ItemGoldBar4oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_gold_bar_CA.paa"; + descriptionShort = "4 x 1oz Gold Bar"; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar5oz",1}}; + input[] = {{"ItemGoldBar4oz",1},{"ItemGoldBar",1}}; + + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_211_1; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar3oz",1},{"ItemGoldBar",1}}; + input[] = {{"ItemGoldBar4oz",1}}; + + }; + class Crafting2 { + text = $STR_EPOCH_PLAYER_210_6; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",1}}; + input[] = {{"ItemGoldBar4oz",1},{"ItemGoldBar",6}}; + }; + class Crafting3 { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar",4}}; + input[] = {{"ItemGoldBar4oz",1}}; + }; + }; +}; +class ItemGoldBar5oz: CA_Magazine { + scope = 2; + count = 1; + worth = 500; + type = 256; + displayName = "5oz Gold"; + model = "\z\addons\dayz_epoch\models\ItemGoldBar5oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_gold_bar_CA.paa"; + descriptionShort = "5 x 1oz Gold Bar"; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar6oz",1}}; + input[] = {{"ItemGoldBar5oz",1},{"ItemGoldBar",1}}; + + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_211_1; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar4oz",1},{"ItemGoldBar",1}}; + input[] = {{"ItemGoldBar5oz",1}}; + + }; + class Crafting2 { + text = $STR_EPOCH_PLAYER_210_5; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",1}}; + input[] = {{"ItemGoldBar5oz",1},{"ItemGoldBar",5}}; + }; + class Crafting3 { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar",5}}; + input[] = {{"ItemGoldBar5oz",1}}; + }; + }; +}; +class ItemGoldBar6oz: CA_Magazine { + scope = 2; + count = 1; + worth = 600; + type = 256; + displayName = "6oz Gold"; + model = "\z\addons\dayz_epoch\models\ItemGoldBar6oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_gold_bar_CA.paa"; + descriptionShort = "6 x 1oz Gold Bar"; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar7oz",1}}; + input[] = {{"ItemGoldBar6oz",1},{"ItemGoldBar",1}}; + + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_211_1; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar5oz",1},{"ItemGoldBar",1}}; + input[] = {{"ItemGoldBar6oz",1}}; + + }; + class Crafting2 { + text = $STR_EPOCH_PLAYER_210_4; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",1}}; + input[] = {{"ItemGoldBar6oz",1},{"ItemGoldBar",4}}; + }; + class Crafting3 { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar",6}}; + input[] = {{"ItemGoldBar6oz",1}}; + }; + }; +}; +class ItemGoldBar7oz: CA_Magazine { + scope = 2; + count = 1; + worth = 700; + type = 256; + displayName = "7oz Gold"; + model = "\z\addons\dayz_epoch\models\ItemGoldBar7oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_gold_bar_CA.paa"; + descriptionShort = "7 x 1oz Gold Bar"; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar8oz",1}}; + input[] = {{"ItemGoldBar7oz",1},{"ItemGoldBar",1}}; + + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_211_1; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar6oz",1},{"ItemGoldBar",1}}; + input[] = {{"ItemGoldBar7oz",1}}; + + }; + class Crafting2 { + text = $STR_EPOCH_PLAYER_210_3; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",1}}; + input[] = {{"ItemGoldBar7oz",1},{"ItemGoldBar",3}}; + }; + class Crafting3 { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar",7}}; + input[] = {{"ItemGoldBar7oz",1}}; + }; + }; +}; +class ItemGoldBar8oz: CA_Magazine { + scope = 2; + count = 1; + worth = 800; + type = 256; + displayName = "8oz Gold"; + model = "\z\addons\dayz_epoch\models\ItemGoldBar8oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_gold_bar_CA.paa"; + descriptionShort = "8 x 1oz Gold Bar"; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar9oz",1}}; + input[] = {{"ItemGoldBar8oz",1},{"ItemGoldBar",1}}; + + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_211_1; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar7oz",1},{"ItemGoldBar",1}}; + input[] = {{"ItemGoldBar8oz",1}}; + + }; + class Crafting2 { + text = $STR_EPOCH_PLAYER_210_2; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",1}}; + input[] = {{"ItemGoldBar8oz",1},{"ItemGoldBar",2}}; + }; + class Crafting3 { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar",8}}; + input[] = {{"ItemGoldBar8oz",1}}; + }; + }; +}; +class ItemGoldBar9oz: CA_Magazine { + scope = 2; + count = 1; + worth = 900; + type = 256; + displayName = "9oz Gold"; + model = "\z\addons\dayz_epoch\models\ItemGoldBar9oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_gold_bar_CA.paa"; + descriptionShort = "9 x 1oz Gold Bar"; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",1}}; + input[] = {{"ItemGoldBar9oz",1},{"ItemGoldBar",1}}; + + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_211_1; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar8oz",1},{"ItemGoldBar",1}}; + input[] = {{"ItemGoldBar9oz",1}}; + + }; + class Crafting3 { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar",9}}; + input[] = {{"ItemGoldBar9oz",1}}; + }; + }; +}; +class ItemGoldBar10oz: CA_Magazine { + scope = 2; + count = 1; + worth = 1000; + type = 256; + displayName = "10oz Gold"; + model = "\z\addons\dayz_epoch\models\ItemGoldBar10oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_gold_bar_10oz_CA.paa"; + descriptionShort = "10 x 1oz Gold Bar"; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_211_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar9oz",1},{"ItemGoldBar",1}}; + input[] = {{"ItemGoldBar10oz",1}}; + + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar",10}}; + input[] = {{"ItemGoldBar10oz",1}}; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/SilverBar.hpp b/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/SilverBar.hpp new file mode 100644 index 000000000..a1a030b18 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/SilverBar.hpp @@ -0,0 +1,410 @@ +class ItemSilverBar: CA_Magazine { + scope = 2; + count = 1; + worth = 1; + type = 256; + displayName = "Silver"; + model = "\z\addons\dayz_epoch\models\ItemSilverBar1oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa"; + descriptionShort = "Silver Bar"; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar2oz",1}}; + input[] = {{"ItemSilverBar",2}}; + + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_210_9; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar10oz",1}}; + input[] = {{"ItemSilverBar",10}}; + }; + }; +}; +class ItemSilverBar2oz: CA_Magazine { + scope = 2; + count = 1; + worth = 2; + type = 256; + displayName = "2oz Silver"; + model = "\z\addons\dayz_epoch\models\ItemSilverBar2oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa"; + descriptionShort = "2 x 1oz Silver Bar"; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar3oz",1}}; + input[] = {{"ItemSilverBar2oz",1},{"ItemSilverBar",1}}; + + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_211_1; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar",2}}; + input[] = {{"ItemSilverBar2oz",1}}; + + }; + class Crafting2 { + text = $STR_EPOCH_PLAYER_210_8; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar10oz",1}}; + input[] = {{"ItemSilverBar2oz",1},{"ItemSilverBar",8}}; + }; + }; +}; +class ItemSilverBar3oz: CA_Magazine { + scope = 2; + count = 1; + worth = 3; + type = 256; + displayName = "3oz Silver"; + model = "\z\addons\dayz_epoch\models\ItemSilverBar3oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa"; + descriptionShort = "3 x 1oz Silver Bar"; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar4oz",1}}; + input[] = {{"ItemSilverBar3oz",1},{"ItemSilverBar",1}}; + + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_211_1; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar2oz",1},{"ItemSilverBar",1}}; + input[] = {{"ItemSilverBar3oz",1}}; + + }; + class Crafting2 { + text = $STR_EPOCH_PLAYER_210_7; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar10oz",1}}; + input[] = {{"ItemSilverBar3oz",1},{"ItemSilverBar",7}}; + }; + class Crafting3 { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar",3}}; + input[] = {{"ItemSilverBar3oz",1}}; + }; + }; +}; +class ItemSilverBar4oz: CA_Magazine { + scope = 2; + count = 1; + worth = 4; + type = 256; + displayName = "4oz Silver"; + model = "\z\addons\dayz_epoch\models\ItemSilverBar4oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa"; + descriptionShort = "4 x 1oz Silver Bar"; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar5oz",1}}; + input[] = {{"ItemSilverBar4oz",1},{"ItemSilverBar",1}}; + + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_211_1; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar3oz",1},{"ItemSilverBar",1}}; + input[] = {{"ItemSilverBar4oz",1}}; + + }; + class Crafting2 { + text = $STR_EPOCH_PLAYER_210_6; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar10oz",1}}; + input[] = {{"ItemSilverBar4oz",1},{"ItemSilverBar",6}}; + }; + class Crafting3 { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar",4}}; + input[] = {{"ItemSilverBar4oz",1}}; + }; + }; +}; +class ItemSilverBar5oz: CA_Magazine { + scope = 2; + count = 1; + worth = 5; + type = 256; + displayName = "5oz Silver"; + model = "\z\addons\dayz_epoch\models\ItemSilverBar5oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa"; + descriptionShort = "5 x 1oz Silver Bar"; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar6oz",1}}; + input[] = {{"ItemSilverBar5oz",1},{"ItemSilverBar",1}}; + + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_211_1; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar4oz",1},{"ItemSilverBar",1}}; + input[] = {{"ItemSilverBar5oz",1}}; + + }; + class Crafting2 { + text = $STR_EPOCH_PLAYER_210_5; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar10oz",1}}; + input[] = {{"ItemSilverBar5oz",1},{"ItemSilverBar",5}}; + }; + class Crafting3 { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar",5}}; + input[] = {{"ItemSilverBar5oz",1}}; + }; + }; +}; +class ItemSilverBar6oz: CA_Magazine { + scope = 2; + count = 1; + worth = 6; + type = 256; + displayName = "6oz Silver"; + model = "\z\addons\dayz_epoch\models\ItemSilverBar6oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa"; + descriptionShort = "6 x 1oz Silver Bar"; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar7oz",1}}; + input[] = {{"ItemSilverBar6oz",1},{"ItemSilverBar",1}}; + + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_211_1; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar5oz",1},{"ItemSilverBar",1}}; + input[] = {{"ItemSilverBar6oz",1}}; + + }; + class Crafting2 { + text = $STR_EPOCH_PLAYER_210_4; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar10oz",1}}; + input[] = {{"ItemSilverBar6oz",1},{"ItemSilverBar",4}}; + }; + class Crafting3 { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar",6}}; + input[] = {{"ItemSilverBar6oz",1}}; + }; + }; +}; +class ItemSilverBar7oz: CA_Magazine { + scope = 2; + count = 1; + worth = 7; + type = 256; + displayName = "7oz Silver"; + model = "\z\addons\dayz_epoch\models\ItemSilverBar7oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa"; + descriptionShort = "7 x 1oz Silver Bar"; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar8oz",1}}; + input[] = {{"ItemSilverBar7oz",1},{"ItemSilverBar",1}}; + + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_211_1; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar6oz",1},{"ItemSilverBar",1}}; + input[] = {{"ItemSilverBar7oz",1}}; + + }; + class Crafting2 { + text = $STR_EPOCH_PLAYER_210_3; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar10oz",1}}; + input[] = {{"ItemSilverBar7oz",1},{"ItemSilverBar",3}}; + }; + class Crafting3 { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar",7}}; + input[] = {{"ItemSilverBar7oz",1}}; + }; + }; +}; +class ItemSilverBar8oz: CA_Magazine { + scope = 2; + count = 1; + worth = 8; + type = 256; + displayName = "8oz Silver"; + model = "\z\addons\dayz_epoch\models\ItemSilverBar8oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa"; + descriptionShort = "8 x 1oz Silver Bar"; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar9oz",1}}; + input[] = {{"ItemSilverBar8oz",1},{"ItemSilverBar",1}}; + + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_211_1; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar7oz",1},{"ItemSilverBar",1}}; + input[] = {{"ItemSilverBar8oz",1}}; + + }; + class Crafting2 { + text = $STR_EPOCH_PLAYER_210_2; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar10oz",1}}; + input[] = {{"ItemSilverBar8oz",1},{"ItemSilverBar",2}}; + }; + class Crafting3 { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar",8}}; + input[] = {{"ItemSilverBar8oz",1}}; + }; + }; +}; +class ItemSilverBar9oz: CA_Magazine { + scope = 2; + count = 1; + worth = 9; + type = 256; + displayName = "9oz Silver"; + model = "\z\addons\dayz_epoch\models\ItemSilverBar9oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa"; + descriptionShort = "9 x 1oz Silver Bar"; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar10oz",1}}; + input[] = {{"ItemSilverBar9oz",1},{"ItemSilverBar",1}}; + + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_211_1; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar8oz",1},{"ItemSilverBar",1}}; + input[] = {{"ItemSilverBar9oz",1}}; + + }; + class Crafting3 { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar",9}}; + input[] = {{"ItemSilverBar9oz",1}}; + }; + }; +}; +class ItemSilverBar10oz: CA_Magazine { + scope = 2; + count = 1; + worth = 10; + type = 256; + displayName = "10oz Silver"; + model = "\z\addons\dayz_epoch\models\ItemSilverBar10oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_Silver_bar_10oz_CA.paa"; + descriptionShort = "10 x 1oz Silver Bar"; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_211_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar9oz",1},{"ItemSilverBar",1}}; + input[] = {{"ItemSilverBar10oz",1}}; + + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar",10}}; + input[] = {{"ItemSilverBar10oz",1}}; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/TinBar.hpp b/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/TinBar.hpp new file mode 100644 index 000000000..29a9c2014 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/TinBar.hpp @@ -0,0 +1,29 @@ +class ItemTinBar: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Tin"; + model = "\z\addons\dayz_epoch\models\tin_bar.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_tin_bar_CA.paa"; + descriptionShort = "Tin Bar"; + +}; +class ItemTinBar10oz: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "10oz Tin"; + model = "\z\addons\dayz_epoch\models\tin_bar.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_tin_bar_10oz_CA.paa"; + descriptionShort = "10oz Tin Bar"; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"fire"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"ItemTinBar",10}}; + input[] = {{"ItemTinBar10oz",1}}; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Food.hpp b/SQF/dayz_code/Configs/CfgMagazines/DZE/Food.hpp new file mode 100644 index 000000000..923b0dc65 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/DZE/Food.hpp @@ -0,0 +1,77 @@ +class ItemTrout : FoodEdible { + scope = 2; + displayName = "Rainbow Trout"; + descriptionShort = "Rainbow Trout: A small fish that can be fairly easy to catch."; + model = "\z\addons\dayz_epoch\models\trout.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_rainbowtrout_CA.paa"; + bloodRegen = 400; +}; +class ItemSeaBass : FoodEdible { + scope = 2; + displayName = "Sea Bass"; + descriptionShort = "Sea Bass: A medium sized fish that is fairly rare."; + model = "\z\addons\dayz_epoch\models\seabass.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_seabass_CA.paa"; + bloodRegen = 800; +}; +class ItemTuna : FoodEdible { + scope = 2; + displayName = "Blue Fin Tuna"; + descriptionShort = "Blue Fin Tuna: A very large and hard to catch fish. Sushi anyone?"; + model = "\z\addons\dayz_epoch\models\tuna.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_tuna_CA.paa"; + bloodRegen = 2500; +}; +class ItemTroutCooked : FoodEdible { + scope = 2; + displayName = "Rainbow Trout (Cooked)"; + descriptionShort = "Rainbow Trout: A small fish that can be fairly easy to catch."; + model = "\z\addons\dayz_epoch\models\trout_cooked.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_trout_cooked_CA.paa"; + bloodRegen = 800; +}; +class ItemSeaBassCooked : FoodEdible { + scope = 2; + displayName = "Sea Bass (Cooked)"; + descriptionShort = "Sea Bass: A medium sized fish that is fairly rare."; + model = "\z\addons\dayz_epoch\models\seabass_cooked.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_seabass_cooked_CA.paa"; + bloodRegen = 1600; +}; +class ItemTunaCooked : FoodEdible { + scope = 2; + displayName = "Blue Fin Tuna (Cooked)"; + descriptionShort = "Blue Fin Tuna: A very large and hard to catch fish. Sushi anyone?"; + model = "\z\addons\dayz_epoch\models\tuna_cooked.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_tuna_cooked_CA.paa"; + bloodRegen = 5000; +}; +class FoodBioMeat: FoodEdible { + scope = 2; + displayName = "Bio Meat"; + model = "\z\addons\dayz_epoch\models\biomeat_can.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_biomeat_CA.paa"; + descriptionShort = "Bio Meat: A very good source of nutrition, and a very high chance of infection. Eat at own risk."; + bloodRegen = 1600; +}; +// new DZE harvested food +class FoodPumpkin : FoodEdible { + scope = public; + count = 1; + bloodRegen = 100; + displayName = "Pumpkin"; + descriptionShort = "Pumpkin"; + weight = 1; + model = "z\addons\dayz_communityassets\models\pistachio.p3d"; // TODO: model + icon + picture = "\z\addons\dayz_communityassets\pictures\equip_pistachios_CA.paa"; +}; +class FoodSunFlowerSeed : FoodEdible { + scope = public; + count = 1; + bloodRegen = 100; + displayName = "Bag of Sunflower Seeds"; + descriptionShort = "Bag of Sunflower Seeds"; + weight = 0.1; + model = "z\addons\dayz_communityassets\models\pistachio.p3d"; // TODO: model + icon + picture = "\z\addons\dayz_communityassets\pictures\equip_pistachios_CA.paa"; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Gems.hpp b/SQF/dayz_code/Configs/CfgMagazines/DZE/Gems.hpp new file mode 100644 index 000000000..e4a95099f --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/DZE/Gems.hpp @@ -0,0 +1,63 @@ +class ItemTopaz : CA_Magazine { + scope = 2; + displayName = "Topaz"; + model = "\z\addons\dayz_epoch\models\topaz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_topaz_CA.paa"; + count = 1; + type = "256"; + descriptionShort = "Topaz"; +}; +class ItemObsidian : CA_Magazine { + scope = 2; + displayName = "Obsidian"; + model = "\z\addons\dayz_epoch\models\obsidian.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_obsidian_CA.paa"; + count = 1; + type = "256"; + descriptionShort = "Obsidian"; +}; +class ItemSapphire : CA_Magazine { + scope = 2; + displayName = "Sapphire"; + model = "\z\addons\dayz_epoch\models\sapphire.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_sapphire_CA.paa"; + count = 1; + type = "256"; + descriptionShort = "Sapphire"; +}; +class ItemAmethyst : CA_Magazine { + scope = 2; + displayName = "Amethyst"; + model = "\z\addons\dayz_epoch\models\amethyst.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_amethyst_CA.paa"; + count = 1; + type = "256"; + descriptionShort = "Amethyst"; +}; +class ItemEmerald : CA_Magazine { + scope = 2; + displayName = "Emerald"; + model = "\z\addons\dayz_epoch\models\emerald.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_emerald_CA.paa"; + count = 1; + type = "256"; + descriptionShort = "Emerald"; +}; +class ItemCitrine : CA_Magazine { + scope = 2; + displayName = "Citrine"; + model = "\z\addons\dayz_epoch\models\citrine.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_citrine_CA.paa"; + count = 1; + type = "256"; + descriptionShort = "Citrine"; +}; +class ItemRuby : CA_Magazine { + scope = 2; + displayName = "Ruby"; + model = "\z\addons\dayz_epoch\models\ruby.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_ruby_CA.paa"; + count = 1; + type = "256"; + descriptionShort = "Ruby"; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/ItemSoda.hpp b/SQF/dayz_code/Configs/CfgMagazines/DZE/ItemSoda.hpp new file mode 100644 index 000000000..9a36a900c --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/DZE/ItemSoda.hpp @@ -0,0 +1,12 @@ +class ItemSodaRbull : ItemSodaCoke { + displayName = $STR_FOOD_NAME_RBULL; + descriptionShort = $STR_FOOD_DESC_RBULL; + model = "z\addons\dayz_epoch\models\soda_redbull.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_soda_rbull_CA.paa"; +}; +class ItemSodaOrangeSherbet : ItemSodaCoke { + displayName = $STR_FOOD_NAME_OSHERBET; + descriptionShort = $STR_FOOD_DESC_OSHERBET; + model = "z\addons\dayz_epoch\models\soda_sherbet.p3d"; + picture = "\z\addons\dayz_epoch\pictures\soda_orangesherbet_ca.paa"; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/ItemWaterbottle.hpp b/SQF/dayz_code/Configs/CfgMagazines/DZE/ItemWaterbottle.hpp new file mode 100644 index 000000000..54e90d91f --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/DZE/ItemWaterbottle.hpp @@ -0,0 +1,108 @@ +class ItemWaterbottle1oz : ItemWaterbottle { + displayName = "Water Bottle (1oz)"; + descriptionShort = "Watter Bottle with 1oz of water"; + picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle1oz_ca.paa"; + wateroz = 1; + class ItemActions { + class Fill { + text = "$STR_ACTIONS_FILL_W"; + script = "spawn player_fillWater;"; + }; + }; +}; +class ItemWaterbottle2oz : ItemWaterbottle { + displayName = "Water Bottle (2oz)"; + descriptionShort = "Watter Bottle with 2oz of water"; + picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle2oz_ca.paa"; + wateroz = 2; + class ItemActions { + class Fill { + text = "$STR_ACTIONS_FILL_W"; + script = "spawn player_fillWater;"; + }; + }; +}; +class ItemWaterbottle3oz : ItemWaterbottle { + displayName = "Water Bottle (3oz)"; + descriptionShort = "Watter Bottle with 3oz of water"; + picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle3oz_ca.paa"; + wateroz = 3; + class ItemActions { + class Fill { + text = "$STR_ACTIONS_FILL_W"; + script = "spawn player_fillWater;"; + }; + }; +}; +class ItemWaterbottle4oz : ItemWaterbottle { + displayName = "Water Bottle (4oz)"; + descriptionShort = "Watter Bottle with 4oz of water"; + picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle4oz_ca.paa"; + wateroz = 4; + class ItemActions { + class Fill { + text = "$STR_ACTIONS_FILL_W"; + script = "spawn player_fillWater;"; + }; + }; +}; +class ItemWaterbottle5oz : ItemWaterbottle { + displayName = "Water Bottle (5oz)"; + descriptionShort = "Watter Bottle with 5oz of water"; + picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle5oz_ca.paa"; + wateroz = 5; + class ItemActions { + class Fill { + text = "$STR_ACTIONS_FILL_W"; + script = "spawn player_fillWater;"; + }; + }; +}; +class ItemWaterbottle6oz : ItemWaterbottle { + displayName = "Water Bottle (6oz)"; + descriptionShort = "Watter Bottle with 6oz of water"; + picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle6oz_ca.paa"; + wateroz = 6; + class ItemActions { + class Fill { + text = "$STR_ACTIONS_FILL_W"; + script = "spawn player_fillWater;"; + }; + }; +}; +class ItemWaterbottle7oz : ItemWaterbottle { + displayName = "Water Bottle (7oz)"; + descriptionShort = "Watter Bottle with 7oz of water"; + picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle7oz_ca.paa"; + wateroz = 7; + class ItemActions { + class Fill { + text = "$STR_ACTIONS_FILL_W"; + script = "spawn player_fillWater;"; + }; + }; +}; +class ItemWaterbottle8oz : ItemWaterbottle { + displayName = "Water Bottle (8oz)"; + descriptionShort = "Watter Bottle with 8oz of water"; + picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle8oz_ca.paa"; + wateroz = 8; + class ItemActions { + class Fill { + text = "$STR_ACTIONS_FILL_W"; + script = "spawn player_fillWater;"; + }; + }; +}; +class ItemWaterbottle9oz : ItemWaterbottle { + displayName = "Water Bottle (9oz)"; + descriptionShort = "Watter Bottle with 9oz of water"; + picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle9oz_ca.paa"; + wateroz = 9; + class ItemActions { + class Fill { + text = "$STR_ACTIONS_FILL_W"; + script = "spawn player_fillWater;"; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Items.hpp b/SQF/dayz_code/Configs/CfgMagazines/DZE/Items.hpp new file mode 100644 index 000000000..1c8fde7ae --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/DZE/Items.hpp @@ -0,0 +1,379 @@ +// For Chainsaw +class ItemMixOil : CA_Magazine { + scope = 2; + displayName = "2-Stroke Engine Oil"; + model = "\z\addons\dayz_epoch\models\oilmix.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_oilmix_CA.paa"; + count = 1; + type = "256"; + descriptionShort = "2-Stroke Engine Oil"; + sfx = "refuel"; + class ItemActions { + class Crafting { + text = "Mix Chainsaw Gas"; // TODO: localize + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemJerryMixed",1}}; + input[] = {{"ItemMixOil",1},{"ItemJerrycan",1}}; + }; + }; +}; +class CSGAS : CA_Magazine { + scope = 2; + type = VSoft; + displayName = "Gas"; + descriptionShort = "Gas for Chainsaw"; + count = 1000; + picture = "\CA\weapons\data\equip\m_m240_ca.paa"; + ammo = "Chainsaw_Swing_Ammo"; + + initSpeed = 100; + maxLeadSpeed = 15; + tracersEvery = 0; + lastRoundsTracer = 0; + + optics = false; + distanceZoomMin = 0; + distanceZoomMax = 0; + + showEmpty = 0; + autoReload = true; + canLock = LockNo; + + burst = 1; + multiplier = 1; + ffMagnitude = 0.1; + ffFrequency = 1; + ffCount = 1; + + class HitEffects { + hit_blood = "ImpactBlood"; + hit_concrete = "ImpactConcrete"; + hit_foliage = "ImpactWood"; + hit_foliage_green = "ImpactWood"; + hit_glass = "ImpactGlass"; + hit_glass_thin = "ImpactGlassThin"; + hit_metal = "ImpactMetal"; + hit_plaster = "ImpactPlaster"; + hit_rubber = "ImpactRubber"; + hit_wood = "ImpactWood"; + }; +}; +class ItemJerryMixed: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Mixed Gas Full"; + model = "\dayz_equip\models\jerrycan.p3d"; + picture = "\dayz_equip\textures\equip_jerrycan_ca.paa"; + descriptionShort = "20 liters of Mixed Gas."; + sfx = "refuel"; + class ItemActions { + class Crafting { + text = "Fill Chainsaw"; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"CSGAS",1},{"ItemJerryMixed4",1}}; + input[] = {{"ItemJerryMixed",1}}; + }; + }; +}; +class ItemJerryMixed4: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Mixed Gas 16L"; + model = "\dayz_equip\models\jerrycan.p3d"; + picture = "\dayz_equip\textures\equip_jerrycan_ca.paa"; + descriptionShort = "16 liters of Mixed Gas."; + sfx = "refuel"; + class ItemActions { + class Crafting { + text = "Fill Chainsaw"; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"CSGAS",1},{"ItemJerryMixed3",1}}; + input[] = {{"ItemJerryMixed4",1}}; + }; + }; +}; +class ItemJerryMixed3: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Mixed Gas 12L"; + model = "\dayz_equip\models\jerrycan.p3d"; + picture = "\dayz_equip\textures\equip_jerrycan_ca.paa"; + descriptionShort = "12 liters of Mixed Gas."; + sfx = "refuel"; + class ItemActions { + class Crafting { + text = "Fill Chainsaw"; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"CSGAS",1},{"ItemJerryMixed2",1}}; + input[] = {{"ItemJerryMixed3",1}}; + }; + }; +}; +class ItemJerryMixed2: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Mixed Gas 8L"; + model = "\dayz_equip\models\jerrycan.p3d"; + picture = "\dayz_equip\textures\equip_jerrycan_ca.paa"; + descriptionShort = "8 liters of Mixed Gas."; + sfx = "refuel"; + class ItemActions { + class Crafting { + text = "Fill Chainsaw"; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"CSGAS",1},{"ItemJerryMixed1",1}}; + input[] = {{"ItemJerryMixed2",1}}; + }; + }; +}; +class ItemJerryMixed1: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Mixed Gas 4L"; + model = "\dayz_equip\models\jerrycan.p3d"; + picture = "\dayz_equip\textures\equip_jerrycan_ca.paa"; + descriptionShort = "4 liters of Mixed Gas."; + sfx = "refuel"; + class ItemActions { + class Crafting { + text = "Fill Chainsaw"; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"CSGAS",1},{"ItemJerrycanEmpty",1}}; + input[] = {{"ItemJerryMixed1",1}}; + }; + }; +}; + +// Vehicle upgrade parts +class ItemORP: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = $STR_EPOCH_VEHUP_ORP; + model = "\z\addons\dayz_epoch\models\doc_Up1.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_docup1_ca.paa"; + descriptionShort = $STR_EPOCH_VEHUP_ORP_DESC; + weight = 0.1; + sfx = "document"; + class ItemActions { + class Upgrades { + text = $STR_EPOCH_PLAYER_UPGRADEV; + script = "spawn player_upgradeVehicle;"; + }; + }; + +}; +class ItemAVE: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = $STR_EPOCH_VEHUP_AVE; + model = "\z\addons\dayz_epoch\models\doc_Up2.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_docup2_ca.paa"; + descriptionShort = $STR_EPOCH_VEHUP_AVE_DESC; + weight = 0.1; + sfx = "document"; + class ItemActions { + class Upgrades { + text = $STR_EPOCH_PLAYER_UPGRADEV; + script = "spawn player_upgradeVehicle;"; + }; + }; + +}; +class ItemLRK: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = $STR_EPOCH_VEHUP_LRK; + model = "\z\addons\dayz_epoch\models\doc_Up3.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_docup3_ca.paa"; + descriptionShort = $STR_EPOCH_VEHUP_LRK_DESC; + weight = 0.1; + sfx = "document"; + class ItemActions { + class Upgrades { + text = $STR_EPOCH_PLAYER_UPGRADEV; + script = "spawn player_upgradeVehicle;"; + }; + }; + +}; +class ItemTNK: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = $STR_EPOCH_VEHUP_TNK; + model = "\z\addons\dayz_epoch\models\doc_Up4.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_docup4_ca.paa"; + descriptionShort = $STR_EPOCH_VEHUP_TNK_DESC; + weight = 0.1; + sfx = "document"; + class ItemActions { + class Upgrades { + text = $STR_EPOCH_PLAYER_UPGRADEV; + script = "spawn player_upgradeVehicle;"; + }; + }; + +}; + +// Documents +class ItemDocument: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Document"; + model = "\z\addons\dayz_epoch\models\doc_generic.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_doc_generic_ca.paa"; + descriptionShort = "Unknown document"; + weight = 0.1; + sfx = "document"; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_188; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + randomOutput = 1; + output[] = {{"ItemLetter",1},{"ItemDocumentRamp",1},{"ItemBook1",1},{"ItemBook2",1},{"ItemBook3",1},{"ItemBook4",1},{"ItemNewspaper",1},{"ItemORP",1},{"ItemAVE",1},{"ItemLRK",1},{"ItemTNK",1},{"ItemPlotDeed",1}}; + input[] = {{"ItemDocument",1}}; + }; + }; +}; +class ItemPlotDeed: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Plot Deed"; // TODO: localize + model = "\z\addons\dayz_epoch\models\doc_generic.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_doc_generic_ca.paa"; + descriptionShort = "Deed to a plot of land, similar to a plot pole."; // TODO: localize + weight = 0.1; + sfx = "document"; + class ItemActions { + class Crafting { + text = "Craft Plot Pole"; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"30m_plot_kit",1}}; + input[] = {{"ItemPlotDeed",1},{"ItemGoldBar10oz",2}}; + }; + }; +}; +class ItemLetter: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Letter"; + model = "\z\addons\dayz_epoch\models\doc_letter.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_doc_letter_ca.paa"; + descriptionShort = "Random letter"; + weight = 0.1; +}; +class ItemBook1: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Romance Novel"; + model = "\z\addons\dayz_epoch\models\doc_trashy1.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_trashy1_ca.paa"; + descriptionShort = "Trashy Romance Novel - ""The seas are laden with lust and jealousy."""; + weight = 0.1; +}; +class ItemBook2: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Romance Novel"; + model = "\z\addons\dayz_epoch\models\doc_trashy2.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_trashy2_ca.paa"; + descriptionShort = "Trashy Romance Novel - ""He had a chest of iron, and a heart of gold."""; + weight = 0.1; +}; +class ItemBook3: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Book"; + model = "\z\addons\dayz_epoch\models\doc_child1.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_child1_ca.paa"; + descriptionShort = "Random Children's Book"; + weight = 0.1; +}; +class ItemBook4: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Book"; + model = "\z\addons\dayz_epoch\models\doc_child2.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_child2_ca.paa"; + descriptionShort = "Random Children's Book"; + weight = 0.1; +}; +class ItemNewspaper: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Torn Newspaper"; + model = "\z\addons\dayz_epoch\models\doc_deaths.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_deaths_ca.paa"; + descriptionShort = "Torn Newspaper - ""The recent obituaries are stil legible..."""; + weight = 0.1; + class ItemActions { + class Obituaries { + text = "Read Obituaries"; // TODO: localize + script = "spawn player_deathBoard;"; + + }; + }; +}; +class ItemDocumentRamp: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Wood Ramp"; + model = "\z\addons\dayz_epoch\models\doc_ramp.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_doc_ramp_ca.paa"; + descriptionShort = "Document used in building a wooden ramp."; + weight = 0.1; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_189; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"wood_ramp_kit",1}}; + input[] = {{"ItemDocumentRamp",1},{"PartWoodLumber",8}}; + }; + }; +}; + +class ItemHotwireKit: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Hotwire kit"; + model = "\z\addons\dayz_epoch\models\hotwire.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_hotwire_ca.paa"; + descriptionShort = "Used to temporarily unlock and start a vehicle has a chance of failure and is consumed on use."; + weight = 2; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/ModularBuilding.hpp b/SQF/dayz_code/Configs/CfgMagazines/DZE/ModularBuilding.hpp new file mode 100644 index 000000000..997d58512 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/DZE/ModularBuilding.hpp @@ -0,0 +1,546 @@ +class metal_floor_kit: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Metal Floor"; + descriptionShort = "Metal Floor"; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 325; + class ItemActions { + class Build { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "MetalFloor_DZ"; + }; + }; +}; + +class cinder_wall_kit: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Cinder Block Wall"; + descriptionShort = "Half height cinder block wall"; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 325; + class ItemActions { + class Build { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "CinderWallHalf_DZ"; + }; + }; +}; +class cinder_door_kit: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Block Doorway"; + descriptionShort = "Cinder block doorway"; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 325; + class ItemActions { + class Build { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "CinderWallSmallDoorway_DZ"; + }; + }; +}; +class cinder_garage_kit: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Block Garage Doorway"; + descriptionShort = "Cinder block garage doorway"; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 325; + class ItemActions { + class Build { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "CinderWallDoorway_DZ"; + }; + }; +}; + +class ItemWoodFloor: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Floor/Ceiling"; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + descriptionShort = "Wood Floor can also be used as a ceiling."; + weight = 25; + class ItemActions { + class Build { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "WoodFloor_DZ"; + }; + }; +}; +class ItemWoodFloorHalf: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Floor/Ceiling 1/2"; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + descriptionShort = "Wood Floor can also be used as a ceiling."; + weight = 15; + class ItemActions { + class Build { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "WoodFloorHalf_DZ"; + }; + class Crafting { + text = $STR_EPOCH_PLAYER_232; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"ItemWoodFloor",1}}; + input[] = {{"ItemWoodFloorHalf",2}}; + + }; + }; +}; +class ItemWoodFloorQuarter: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Floor/Ceiling 1/4"; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + descriptionShort = "Wood Floor can also be used as a ceiling."; + weight = 10; + class ItemActions { + class Build { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "WoodFloorQuarter_DZ"; + }; + class Crafting { + text = $STR_EPOCH_PLAYER_232a; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"ItemWoodFloorHalf",1}}; + input[] = {{"ItemWoodFloorQuarter",2}}; + + }; + }; +}; + +class ItemWoodStairs: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Wood Stairs"; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + descriptionShort = "Wood stairs"; + weight = 25; + class ItemActions { + class Build { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "WoodStairsSans_DZ"; + }; + class Crafting { + text = $STR_EPOCH_PLAYER_233; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"ItemWoodStairsSupport",1}}; + input[] = {{"ItemWoodStairs",1},{"PartWoodLumber",2}}; + + }; + }; +}; +class ItemWoodStairsSupport: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Wood Stairs w/ supports"; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + descriptionShort = "Wood stairs with supports"; + weight = 30; + class ItemActions { + class Build { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "WoodStairs_DZ"; + }; + }; +}; + +class ItemWoodLadder: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Wood Ladder"; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + descriptionShort = "Wood Ladder"; + weight = 25; + class ItemActions { + class Build { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "WoodLadder_DZ"; + }; + }; +}; + +class ItemWoodWall: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Wood Wall"; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + descriptionShort = "Wall constucted out of plywood and lumber."; + weight = 25; + class ItemActions { + class Build { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "WoodSmallWall_DZ"; + }; + class Crafting { + text = $STR_EPOCH_PLAYER_234; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"ItemWoodWallDoor",1}}; + input[] = {{"ItemWoodWall",1}}; + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_235; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"ItemWoodWallWindow",1}}; + input[] = {{"ItemWoodWall",1},{"PartGlass",1}}; + }; + class Crafting2 { + text = $STR_EPOCH_PLAYER_236; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"ItemWoodWallLg",1}}; + input[] = {{"ItemWoodWall",1},{"PartWoodPlywood",1},{"PartWoodLumber",1}}; + }; + }; +}; +class ItemWoodWallThird: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Wood Wall 1/3"; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + descriptionShort = "Third wall constucted out of plywood and lumber."; + weight = 7; + class ItemActions { + class Build { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "WoodSmallWallThird_DZ"; + }; + class Crafting { + text = $STR_EPOCH_PLAYER_237; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"ItemWoodWall",1}}; + input[] = {{"ItemWoodWallThird",3}}; + }; + }; +}; +class ItemWoodWallWindow: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Wall w/ Window"; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + descriptionShort = "Wall with Window constucted out of plywood and lumber."; + weight = 25; + class ItemActions { + class Build { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "WoodSmallWallWin_DZ"; + }; + }; +}; + +class ItemWoodWallDoor: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Wall w/ Doorway"; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + descriptionShort = "Wall with doorway constucted out of plywood and lumber."; + weight = 25; + class ItemActions { + class Build { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "WoodSmallWallDoor_DZ"; + }; + class Crafting { + text = $STR_EPOCH_PLAYER_238; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"ItemWoodWallWithDoor",1}}; + input[] = {{"ItemWoodWallDoor",1},{"PartWoodPlywood",1},{"PartWoodLumber",1}}; + }; + }; +}; +class ItemWoodWallWithDoor: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Wall w/ Door"; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + descriptionShort = "Wall with door constucted out of plywood and lumber."; + weight = 25; + class ItemActions { + class Build { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "Land_DZE_WoodDoor"; + }; + class Crafting { + text = $STR_EPOCH_PLAYER_239; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"ItemWoodWallWithDoorLocked",1}}; + input[] = {{"ItemWoodWallWithDoor",1},{"ItemComboLock",1}}; + }; + }; +}; +class ItemWoodWallWithDoorLocked: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Wall w/ Door Locked"; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + descriptionShort = "Wall with door constucted out of plywood and lumber."; + weight = 30; + class ItemActions { + class Build { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "Land_DZE_WoodDoorLocked"; + }; + }; +}; + +class ItemWoodWallGarageDoor: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Wood Garage Door"; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + descriptionShort = "Garage door constucted out of plywood and lumber."; + weight = 25; + class ItemActions { + class Build { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "Land_DZE_GarageWoodDoor"; + }; + class Crafting { + text = $STR_EPOCH_PLAYER_240; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"ItemWoodWallGarageDoorLocked",1}}; + input[] = {{"ItemWoodWallGarageDoor",1},{"ItemComboLock",1}}; + }; + }; +}; +class ItemWoodWallGarageDoorLocked: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Wood Garage Door Locked"; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + descriptionShort = "Garage door with combination lock."; + weight = 25; + class ItemActions { + class Build { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "Land_DZE_GarageWoodDoorLocked"; + }; + }; +}; + +class ItemWoodWallLg: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Large Wood Wall"; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + descriptionShort = "Large wall constucted out of plywood and lumber."; + weight = 25; + class ItemActions { + class Build { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "WoodLargeWall_DZ"; + }; + class Crafting { + text = $STR_EPOCH_PLAYER_234; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"ItemWoodWallDoorLg",1}}; + input[] = {{"ItemWoodWallLg",1}}; + }; + class Crafting1 { + text = $STR_EPOCH_PLAYER_235; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"ItemWoodWallWindowLg",1}}; + input[] = {{"ItemWoodWallLg",1},{"PartGlass",1}}; + }; + class Crafting2 { + text = $STR_EPOCH_PLAYER_240; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"ItemWoodWallGarageDoor",1}}; + input[] = {{"ItemWoodWallLg",1},{"PartWoodLumber",2}}; + }; + }; +}; +class ItemWoodWallWindowLg: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Large Wall w/ Window"; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + descriptionShort = "Large wall with doorway constucted out of plywood and lumber.."; + weight = 30; + class ItemActions { + class Build { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "WoodLargeWallWin_DZ"; + }; + }; +}; + +class ItemWoodWallDoorLg: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Large Wall w/ Doorway"; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + descriptionShort = "Large wall with doorway constucted out of plywood and lumber."; + weight = 30; + class ItemActions { + class Build { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "WoodLargeWallDoor_DZ"; + }; + class Crafting { + text = $STR_EPOCH_PLAYER_238; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"ItemWoodWallWithDoorLg",1}}; + input[] = {{"ItemWoodWallDoorLg",1},{"PartWoodPlywood",1},{"PartWoodLumber",1}}; + }; + }; +}; +class ItemWoodWallWithDoorLg: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Large Wall w/ Door"; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + descriptionShort = "Wall with door constucted out of plywood and lumber."; + weight = 30; + class ItemActions { + class Build { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "Land_DZE_LargeWoodDoor"; + }; + class Crafting { + text = $STR_EPOCH_PLAYER_239; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"ItemWoodWallWithDoorLgLocked",1}}; + input[] = {{"ItemWoodWallWithDoorLg",1},{"ItemComboLock",1}}; + }; + }; +}; +class ItemWoodWallWithDoorLgLocked: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Large Wall w/ Door Locked"; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + descriptionShort = "Wall with combination lock door constucted out of plywood and lumber."; + weight = 35; + class ItemActions { + class Build { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "Land_DZE_LargeWoodDoorLocked"; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Food.hpp b/SQF/dayz_code/Configs/CfgMagazines/Food.hpp new file mode 100644 index 000000000..12fb8cb16 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/Food.hpp @@ -0,0 +1,359 @@ +class FoodEdible; + +class FoodCanFrankBeans: FoodEdible { + scope = 2; + // displayName = $STR_EQUIP_NAME_28; + displayName = "Can (Frank n Beans)"; // addactions cannot have & + model = "\dayz_equip\models\food_fbtin.p3d"; + picture = "\dayz_equip\textures\equip_fbtin_ca.paa"; + descriptionShort = $STR_EQUIP_DESC_28; +}; + +class FoodmeatRaw : FoodEdible { + scope = public; + count = 1; + type = 256; + displayName = $STR_FOOD_EQIP_CODE_NAME_0; + model = "\dayz_equip\models\food_steak_gear.p3d"; + picture = "\dayz_equip\textures\equip_steak_ca.paa"; + descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_0; + bloodRegen = 100; +}; +class FoodmuttonRaw : FoodmeatRaw { + displayName = $STR_FOOD_EQIP_CODE_NAME_1; + descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_1; + bloodRegen = 100; +}; +class FoodchickenRaw : FoodmeatRaw { + displayName = $STR_FOOD_EQIP_CODE_NAME_2; + descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_2; + bloodRegen = 100; +}; +class FoodrabbitRaw : FoodmeatRaw { + displayName = $STR_FOOD_EQIP_CODE_NAME_3; + descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_3; + bloodRegen = 400; +}; +class FoodbaconRaw : FoodmeatRaw { + displayName = $STR_FOOD_EQIP_CODE_NAME_4; + model = "z\addons\dayz_communityassets\models\bacon_raw.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_bacon_raw_CA.paa"; + descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_4; + bloodRegen = 150; +}; +class FoodbeefRaw : FoodmeatRaw { + displayName = $STR_FOOD_EQIP_CODE_NAME_6; + descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_6; + bloodRegen = 100; +}; + +class FoodmeatCooked : FoodEdible { + scope = public; + count = 1; + displayName = $STR_FOODCOOKED_EQIP_CODE_NAME_0; + model = "\dayz_equip\models\food_steak_cooked_gear.p3d"; + picture = "\dayz_equip\textures\equip_steak_cooked_ca.paa"; + descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_0; + bloodRegen = 800; +}; +class FoodmuttonCooked : FoodmeatCooked { + displayName = $STR_FOODCOOKED_EQIP_CODE_NAME_1; + descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_1; + bloodRegen = 400; +}; +class FoodchickenCooked : FoodmeatCooked { + displayName = $STR_FOODCOOKED_EQIP_CODE_NAME_2; + descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_2; + bloodRegen = 400; +}; +class FoodbaconCooked : FoodmeatCooked { + displayName = $STR_FOODCOOKED_EQIP_CODE_NAME_4; + model = "z\addons\dayz_communityassets\models\bacon_fried.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_bacon_fried_CA.paa"; + descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_4; + bloodRegen = 400; +}; +class FoodrabbitCooked : FoodmeatCooked { + displayName = $STR_FOODCOOKED_EQIP_CODE_NAME_3; + descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_3; + bloodRegen = 1600; +}; +class FoodbeefCooked : FoodmeatCooked { + displayName = $STR_FOODCOOKED_EQIP_CODE_NAME_6; + descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_6; + bloodRegen = 600; +}; + +class AngelCookies : FoodEdible { + scope = public; + count = 1; + displayName = $STR_FOODCOOKED_EQIP_CODE_NAME_5; + model = "z\addons\dayz_communityassets\models\buiscits_box.p3d"; + picture = "z\addons\dayz_communityassets\pictures\i_buiscit_ca.paa"; + descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_5; + bloodRegen = 100; +}; +class FoodMRE : FoodEdible { + scope = public; + count = 1; + bloodRegen = 800; + displayName = $STR_FOOD_NAME_MRE; + descriptionShort = $STR_FOOD_DESC_MRE; + model = "z\addons\dayz_communityassets\models\mre.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_mre_CA.paa"; +}; +class FoodPistachio : FoodEdible { + scope = public; + count = 1; + bloodRegen = 100; + displayName = $STR_FOOD_NAME_PISTACHIO; + descriptionShort = $STR_FOOD_DESC_PISTACHIO; + model = "z\addons\dayz_communityassets\models\pistachio.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_pistachios_CA.paa"; +}; +class FoodNutmix : FoodEdible { + scope = public; + count = 1; + bloodRegen = 100; + displayName = $STR_FOOD_NAME_NUTMIX; + descriptionShort = $STR_FOOD_DESC_NUTMIX; + model = "z\addons\dayz_communityassets\models\nutmix.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_nutmix_CA.paa"; +}; + +class FoodCanGriff : FoodEdible { + scope = public; + count = 1; + bloodRegen = 200; + displayName = $STR_FOOD_NAME_CAN_GRIFF; + descriptionShort = $STR_FOOD_DESC_CAN_GRIFF; + model = "z\addons\dayz_communityassets\models\can_griff_clean_full.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_can_griff_clean_full_ca.paa"; +}; +class FoodCanBadguy : FoodEdible { + scope = public; + count = 1; + bloodRegen = 200; + displayName = $STR_FOOD_NAME_CAN_BADGUY; + descriptionShort = $STR_FOOD_DESC_CAN_BADGUY; + model = "z\addons\dayz_communityassets\models\can_badguy_clean_full.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_can_badguy_clean_full_ca.paa"; +}; +class FoodCanBoneboy : FoodEdible { + scope = public; + count = 1; + bloodRegen = 200; + displayName = $STR_FOOD_NAME_CAN_BONEBOY; + descriptionShort = $STR_FOOD_DESC_CAN_BONEBOY; + model = "z\addons\dayz_communityassets\models\can_boneboy_clean_full.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_can_boneboy_clean_full_ca.paa"; +}; +class FoodCanCorn : FoodEdible { + scope = public; + count = 1; + bloodRegen = 200; + displayName = $STR_FOOD_NAME_CAN_CORN; + descriptionShort = $STR_FOOD_DESC_CAN_CORN; + model = "z\addons\dayz_communityassets\models\can_corn_clean_full.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_can_corn_clean_full_ca.paa"; +}; +class FoodCanCurgon : FoodEdible { + scope = public; + count = 1; + bloodRegen = 200; + displayName = $STR_FOOD_NAME_CAN_CURGON; + descriptionShort = $STR_FOOD_DESC_CAN_CURGON; + model = "z\addons\dayz_communityassets\models\can_curgon_clean_full.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_can_curgon_clean_full_ca.paa"; +}; +class FoodCanDemon : FoodEdible { + scope = public; + count = 1; + bloodRegen = 200; + displayName = $STR_FOOD_NAME_CAN_DEMON; + descriptionShort = $STR_FOOD_DESC_CAN_DEMON; + model = "z\addons\dayz_communityassets\models\can_demon_clean_full.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_can_demon_clean_full_ca.paa"; +}; +class FoodCanFraggleos : FoodEdible { + scope = public; + count = 1; + bloodRegen = 200; + displayName = $STR_FOOD_NAME_CAN_FRAGGLEOS; + descriptionShort = $STR_FOOD_DESC_CAN_FRAGGLEOS; + model = "z\addons\dayz_communityassets\models\can_fraggleos_clean_full.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_can_fraggleos_clean_full_ca.paa"; +}; +class FoodCanHerpy : FoodEdible { + scope = public; + count = 1; + bloodRegen = 200; + displayName = $STR_FOOD_NAME_CAN_HERPY; + descriptionShort = $STR_FOOD_DESC_CAN_HERPY; + model = "z\addons\dayz_communityassets\models\can_herpy_clean_full.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_can_herpy_clean_full_ca.paa"; +}; +class FoodCanOrlok : FoodEdible { + scope = public; + count = 1; + bloodRegen = 200; + displayName = $STR_FOOD_NAME_CAN_ORLOK; + descriptionShort = $STR_FOOD_DESC_CAN_ORLOK; + model = "z\addons\dayz_communityassets\models\can_orlok_clean_full.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_can_orlok_clean_full_ca.paa"; +}; +class FoodCanPowell : FoodEdible { + scope = public; + count = 1; + bloodRegen = 200; + displayName = $STR_FOOD_NAME_CAN_POWELL; + descriptionShort = $STR_FOOD_DESC_CAN_POWELL; + model = "z\addons\dayz_communityassets\models\can_powell_clean_full.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_can_powell_clean_full_ca.paa"; +}; +class FoodCanTylers : FoodEdible { + scope = public; + count = 1; + bloodRegen = 200; + displayName = $STR_FOOD_NAME_CAN_TYLERS; + descriptionShort = $STR_FOOD_DESC_CAN_TYLERS; + model = "z\addons\dayz_communityassets\models\can_tylers_clean_full.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_can_tylers_clean_full_ca.paa"; +}; +class FoodCanUnlabeled : FoodEdible { + scope = public; + count = 1; + bloodRegen = 200; + displayName = $STR_FOOD_NAME_CAN_UNLABELED; + descriptionShort = $STR_FOOD_DESC_CAN_UNLABELED; + model = "z\addons\dayz_communityassets\models\can_unlabeled_clean_full.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_can_unlabeled_clean_full_ca.paa"; +}; + +class TrashTinCan: HandGrenade { + scope = 2; + displayName = $STR_EQUIP_NAME_33; + model = "\dayz_equip\models\trash_tincan.p3d"; + picture = "\dayz_equip\textures\equip_tincan_ca.paa"; + descriptionShort = $STR_EQUIP_DESC_33; + ammo = "TinCan"; + class ItemActions { + class Crafting { + text = "Melt into Bars"; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"fire"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"ItemTinBar",1}}; + input[] = {{"TrashTinCan",6}}; + }; + }; +}; + +class FoodCanGriffEmpty : TrashTinCan { + scope = public; + count = 1; + model = "z\addons\dayz_communityassets\models\can_griff_clean_empty.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_can_griff_clean_empty_ca.paa"; + displayName = $STR_FOOD_NAME_CAN_GRIFF_EMPTY; + descriptionShort = $STR_FOOD_DESC_CAN_GRIFF_EMPTY; + ammo = "TinCan"; +}; +class FoodCanBadguyEmpty : TrashTinCan { + scope = public; + count = 1; + displayName = $STR_FOOD_NAME_CAN_BADGUY_EMPTY; + descriptionShort = $STR_FOOD_DESC_CAN_BADGUY_EMPTY; + model = "z\addons\dayz_communityassets\models\can_badguy_clean_empty.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_can_badguy_clean_empty_ca.paa"; + ammo = "TinCan"; +}; +class FoodCanBoneboyEmpty : TrashTinCan { + scope = public; + count = 1; + displayName = $STR_FOOD_NAME_CAN_BONEBOY_EMPTY; + descriptionShort = $STR_FOOD_DESC_CAN_BONEBOY_EMPTY; + model = "z\addons\dayz_communityassets\models\can_boneboy_clean_empty.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_can_boneboy_clean_empty_ca.paa"; + ammo = "TinCan"; +}; +class FoodCanCornEmpty : TrashTinCan { + scope = public; + count = 1; + displayName = $STR_FOOD_NAME_CAN_CORN_EMPTY; + descriptionShort = $STR_FOOD_DESC_CAN_CORN_EMPTY; + model = "z\addons\dayz_communityassets\models\can_corn_clean_empty.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_can_corn_clean_empty_ca.paa"; + ammo = "TinCan"; +}; +class FoodCanCurgonEmpty : TrashTinCan { + scope = public; + count = 1; + displayName = $STR_FOOD_NAME_CAN_CURGON_EMPTY; + descriptionShort = $STR_FOOD_DESC_CAN_CURGON_EMPTY; + model = "z\addons\dayz_communityassets\models\can_curgon_clean_empty.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_can_curgon_clean_empty_ca.paa"; + ammo = "TinCan"; +}; +class FoodCanDemonEmpty : TrashTinCan { + scope = public; + count = 1; + displayName = $STR_FOOD_NAME_CAN_DEMON_EMPTY; + descriptionShort = $STR_FOOD_DESC_CAN_DEMON_EMPTY; + model = "z\addons\dayz_communityassets\models\can_demon_clean_empty.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_can_demon_clean_empty_ca.paa"; + ammo = "TinCan"; +}; +class FoodCanFraggleosEmpty : TrashTinCan { + scope = public; + count = 1; + displayName = $STR_FOOD_NAME_CAN_FRAGGLEOS_EMPTY; + descriptionShort = $STR_FOOD_DESC_CAN_FRAGGLEOS_EMPTY; + model = "z\addons\dayz_communityassets\models\can_fraggleos_clean_empty.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_can_fraggleos_clean_empty_ca.paa"; + ammo = "TinCan"; +}; +class FoodCanHerpyEmpty : TrashTinCan { + scope = public; + count = 1; + displayName = $STR_FOOD_NAME_CAN_HERPY_EMPTY; + descriptionShort = $STR_FOOD_DESC_CAN_HERPY_EMPTY; + model = "z\addons\dayz_communityassets\models\can_herpy_clean_empty.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_can_herpy_clean_empty_ca.paa"; + ammo = "TinCan"; +}; +class FoodCanOrlokEmpty : TrashTinCan { + scope = public; + count = 1; + displayName = $STR_FOOD_NAME_CAN_ORLOK_EMPTY; + descriptionShort = $STR_FOOD_DESC_CAN_ORLOK_EMPTY; + model = "z\addons\dayz_communityassets\models\can_orlok_clean_empty.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_can_orlok_clean_empty_ca.paa"; + ammo = "TinCan"; +}; +class FoodCanPowellEmpty : TrashTinCan { + scope = public; + count = 1; + displayName = $STR_FOOD_NAME_CAN_POWELL_EMPTY; + descriptionShort = $STR_FOOD_DESC_CAN_POWELL_EMPTY; + model = "z\addons\dayz_communityassets\models\can_powell_clean_empty.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_can_powell_clean_empty_ca.paa"; + ammo = "TinCan"; +}; +class FoodCanTylersEmpty : TrashTinCan { + scope = public; + count = 1; + displayName = $STR_FOOD_NAME_CAN_TYLERS_EMPTY; + descriptionShort = $STR_FOOD_DESC_CAN_TYLERS_EMPTY; + model = "z\addons\dayz_communityassets\models\can_tylers_clean_empty.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_can_tylers_clean_empty_ca.paa"; + ammo = "TinCan"; +}; +class FoodCanUnlabeledEmpty : TrashTinCan { + scope = public; + count = 1; + displayName = $STR_FOOD_NAME_CAN_UNLABELED_EMPTY; + descriptionShort = $STR_FOOD_DESC_CAN_UNLABELED_EMPTY; + model = "z\addons\dayz_communityassets\models\can_unlabeled_clean_empty.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_can_unlabeled_clean_empty_ca.paa"; + ammo = "TinCan"; +}; diff --git a/SQF/dayz_code/Configs/CfgMagazines/ItemSoda.hpp b/SQF/dayz_code/Configs/CfgMagazines/ItemSoda.hpp new file mode 100644 index 000000000..00c336ebf --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/ItemSoda.hpp @@ -0,0 +1,191 @@ +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 new file mode 100644 index 000000000..968b71a9d --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/ItemWaterbottle.hpp @@ -0,0 +1,30 @@ +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/Parts.hpp b/SQF/dayz_code/Configs/CfgMagazines/Parts.hpp new file mode 100644 index 000000000..4a4f606ad --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/Parts.hpp @@ -0,0 +1,47 @@ +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/Skins.hpp b/SQF/dayz_code/Configs/CfgMagazines/Skins.hpp new file mode 100644 index 000000000..c10e8b1fa --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/Skins.hpp @@ -0,0 +1,283 @@ +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"; + descriptionShort = "Officer Suit"; +}; +class Skin_RU_Policeman_DZ: SkinBase { + scope = 2; + displayName = "Sergei"; + descriptionShort = "Police Officer Uniform"; +}; +class Skin_Pilot_EP1_DZ: SkinBase { + scope = 2; + displayName = "Ethan"; + descriptionShort = "Pilot Uniform"; +}; +class Skin_Haris_Press_EP1_DZ: SkinBase { + scope = 2; + displayName = "Harry"; + descriptionShort = "Press Uniform"; +}; +class Skin_Ins_Soldier_GL_DZ: SkinBase { + scope = 2; + displayName = "Terrorist Uniform"; + descriptionShort = "Terrorist Uniform"; +}; +class Skin_GUE_Commander_DZ: SkinBase { + scope = 2; + displayName = "Rebel Uniform"; + descriptionShort = "Rebel Uniform"; +}; +class Skin_Functionary1_EP1_DZ: SkinBase { + scope = 2; + displayName = "Donald"; + descriptionShort = "Business Suit"; +}; +class Skin_Priest_DZ: SkinBase { + scope = 2; + displayName = "James"; + descriptionShort = "Priest Outfit"; +}; +class Skin_Rocker1_DZ: SkinBase { + scope = 2; + displayName = "Duane"; + descriptionShort = "Rocker (black)"; +}; +class Skin_Rocker2_DZ: SkinBase { + scope = 2; + displayName = "Rod"; + descriptionShort = "Rocker (brown)"; +}; +class Skin_Rocker3_DZ: SkinBase { + scope = 2; + displayName = "Van"; + descriptionShort = "Rocker (blue)"; +}; +class Skin_Rocker4_DZ: SkinBase { + scope = 2; + displayName = "Bruce"; + descriptionShort = "Rocker (green)"; +}; +class Skin_Bandit1_DZ: SkinBase { + scope = 2; + displayName = "Bandit Outfit"; + descriptionShort = "Bandit Outfit"; +}; +class Skin_Bandit2_DZ: SkinBase { + scope = 2; + displayName = "Bandit Camo"; + descriptionShort = "Bandit Camo Outfit"; +}; +class Skin_GUE_Soldier_MG_DZ: SkinBase { + scope = 2; + displayName = "Bandit Gunner"; + descriptionShort = "Bandit Gunner Outfit"; +}; +class Skin_GUE_Soldier_Sniper_DZ: SkinBase { + scope = 2; + displayName = "Bandit Sniper"; + descriptionShort = "Bandit Sniper Outfit"; +}; +class Skin_GUE_Soldier_Crew_DZ: SkinBase { + scope = 2; + displayName = "Bandit Baklava"; + descriptionShort = "Bandit Baklava Outfit"; +}; +class Skin_GUE_Soldier_CO_DZ: SkinBase { + scope = 2; + displayName = "Bandit Mask"; + descriptionShort = "Bandit Mask Outfit"; +}; +class Skin_GUE_Soldier_2_DZ: SkinBase { + scope = 2; + displayName = "Bandit Hat"; + descriptionShort = "Bandit Hat with Baklava"; +}; +class Skin_BanditW1_DZ: SkinBase { + scope = 2; + displayName = "Bandit Annie"; + descriptionShort = "Bandit wrap blue top with brown pants."; +}; +class Skin_BanditW2_DZ: SkinBase { + scope = 2; + displayName = "Bandit Jane"; + descriptionShort = "Bandit wrap grey top with brown camo pants."; +}; +class Skin_SurvivorW3_DZ: SkinBase { + scope = 2; + displayName = "Jane"; + descriptionShort = "Grey top with brown camo pants."; +}; +class Skin_SurvivorW2_DZ: SkinBase { + scope = 2; + displayName = "Annie"; + descriptionShort = "Civilian (female)"; +}; +class Skin_SurvivorWpink_DZ: SkinBase { + scope = 2; + displayName = "Melly (female)"; + descriptionShort = "Purple top with blue pants."; +}; +class Skin_SurvivorWsequisha_DZ: SkinBase { + scope = 2; + displayName = "Maria (female)"; + descriptionShort = "Maria Clothes (female)"; +}; +class Skin_SurvivorWsequishaD_DZ: SkinBase { + scope = 2; + displayName = "Sequisha (female)"; + descriptionShort = "Sequisha Clothes (female)"; +}; +class Skin_SurvivorWcombat_DZ: SkinBase { + scope = 2; + displayName = "Alejandria"; + descriptionShort = "Blue camo top with brown camo pants."; +}; +class Skin_SurvivorWdesert_DZ: SkinBase { + scope = 2; + displayName = "Savannah"; + descriptionShort = "White top with brown pants."; +}; +class Skin_SurvivorWurban_DZ: SkinBase { + scope = 2; + displayName = "Sophia"; + descriptionShort = "Maroon top with grey pants."; +}; +class Skin_TK_INS_Warlord_EP1_DZ: SkinBase { + scope = 2; + displayName = "Takistani Warlord"; + descriptionShort = "Takistani Warlord"; +}; +class Skin_TK_INS_Soldier_EP1_DZ: SkinBase { + scope = 2; + displayName = "Takistani Soldier"; + descriptionShort = "Takistani Soldier"; +}; +class Skin_CZ_Special_Forces_GL_DES_EP1_DZ: SkinBase { + scope = 2; + displayName = "Special Forces"; + descriptionShort = "Special Forces"; +}; +class Skin_Drake_Light_DZ: SkinBase { + scope = 2; + displayName = "Desert Camo"; + descriptionShort = "Desert Camo"; +}; +class Skin_Soldier_Bodyguard_AA12_PMC_DZ: SkinBase { + scope = 2; + displayName = "Bodyguard"; + descriptionShort = "Bodyguard"; +}; +class Skin_FR_OHara_DZ: SkinBase { + scope = 2; + displayName = "Jungle Camo"; + descriptionShort = "Jungle Camo"; +}; +class Skin_FR_Rodriguez_DZ: SkinBase { + scope = 2; + displayName = "Gunner Outfit"; + descriptionShort = "Gunner Outfit"; +}; +class Skin_CZ_Soldier_Sniper_EP1_DZ: SkinBase { + scope = 2; + displayName = "Desert Ghillie"; + descriptionShort = "Desert Ghillie"; +}; +class Skin_Graves_Light_DZ: SkinBase { + scope = 2; + displayName = "Urban Camo"; + descriptionShort = "Urban Camo"; +}; +class Skin_Soldier_Sniper_PMC_DZ: SkinBase { + scope = 2; + displayName = "Marksman"; + descriptionShort = "Marksman"; +}; +class Skin_Soldier_TL_PMC_DZ: SkinBase { + scope = 2; + displayName = "Team Leader"; + descriptionShort = "Team Leader"; +}; +// new +class Skin_TK_Special_Forces_MG_EP1_DZ: SkinBase { + scope = 2; + displayName = "Smuggler"; + descriptionShort = "Smuggler"; +}; +class Skin_TK_Soldier_Sniper_EP1_DZ: SkinBase { + scope = 2; + displayName = "Desert Sniper"; + descriptionShort = "Desert Sniper"; +}; +class Skin_TK_Commander_EP1_DZ: SkinBase { + scope = 2; + displayName = "General"; + descriptionShort = "General"; +}; +class Skin_RU_Soldier_Crew_DZ: SkinBase { + scope = 2; + displayName = "Crewman"; + descriptionShort = "Crewman"; +}; +class Skin_INS_Lopotev_DZ: SkinBase { + scope = 2; + displayName = "Boss"; + descriptionShort = "Team Leader"; +}; +class Skin_INS_Soldier_AR_DZ: SkinBase { + scope = 2; + displayName = "Cooper"; + descriptionShort = "Cooper"; +}; +class Skin_INS_Soldier_CO_DZ: SkinBase { + scope = 2; + displayName = "Travis"; + descriptionShort = "Travis"; +}; +class Skin_INS_Bardak_DZ: SkinBase { + scope = 2; + displayName = "Paulo"; + descriptionShort = "Paulo"; +}; +class Skin_INS_Worker2_DZ: SkinBase { + scope = 2; + displayName = "Steve"; + descriptionShort = "Steve"; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/VehicleAmmo.hpp b/SQF/dayz_code/Configs/CfgMagazines/VehicleAmmo.hpp new file mode 100644 index 000000000..046c3ed57 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/VehicleAmmo.hpp @@ -0,0 +1,69 @@ +class 29Rnd_30mm_AGS30 : CA_Magazine { + scope = 2; + displayName = "HE Rounds"; + model = "\z\addons\dayz_epoch\models\30mm_mag.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_30mm_mag_ca.paa"; + ammo = "G_30mm_HE"; + count = 29; + type = "256"; + initSpeed = 185; + maxLeadSpeed = 100; + nameSound = "grenadelauncher"; + weight = 16; +}; +class 48Rnd_40mm_MK19 : CA_Magazine { + scope = 2; + displayName = "Mk. 19 40mm"; + model = "\z\addons\dayz_epoch\models\40mm_mag.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_40mm_mag_ca.paa"; + ammo = "G_40mm_HE"; + count = 48; + type = "256"; + initSpeed = 240; + maxLeadSpeed = 100; + nameSound = "grenadelauncher"; + weight = 25; +}; +class 2000Rnd_762x51_M134 : CA_Magazine { + count = 2000; + scope = 2; + displayName = "M134 7.62 Nato"; + picture = "\z\addons\dayz_epoch\pictures\equip_m134_mag_ca.paa"; + model = "\z\addons\dayz_epoch\models\m134_mag.p3d"; + ammo = "B_762x51_3RndBurst"; + type = "256"; + maxLeadSpeed = 200; + tracersEvery = 5; + nameSound = "mgun"; + weight = 50; +}; +class 100Rnd_127x99_M2 : CA_Magazine { + scope = 2; + displayName = "M2 Machine Gun"; + model = "\z\addons\dayz_epoch\models\50cal_mag.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_50cal_mag_ca.paa"; + ammo = "B_127x99_Ball"; + count = 100; + type = "256"; + initSpeed = 930; + maxLeadSpeed = 200; + tracersEvery = 3; + lastRoundsTracer = 5; + nameSound = "mgun"; + weight = 8; +}; +class 50Rnd_127x107_DSHKM : CA_Magazine { + scope = 2; + displayName = "DShKM"; + picture = "\z\addons\dayz_epoch\pictures\equip_Dshkm_mag_ca.paa"; + model = "\z\addons\dayz_epoch\models\dshkm_mag.p3d"; + ammo = "B_127x107_Ball"; + count = 50; + type = "256"; + initSpeed = 850; + maxLeadSpeed = 200; + tracersEvery = 3; + lastRoundsTracer = 5; + nameSound = "mgun"; + weight = 4; +}; \ No newline at end of file