diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/BearTrap.hpp b/SQF/dayz_code/Configs/CfgMagazines/Buildings/BearTrap.hpp similarity index 100% rename from SQF/dayz_code/Configs/CfgMagazines/Items/BearTrap.hpp rename to SQF/dayz_code/Configs/CfgMagazines/Buildings/BearTrap.hpp diff --git a/SQF/dayz_code/Configs/CfgMagazines/Buildings/Camonets.hpp b/SQF/dayz_code/Configs/CfgMagazines/Buildings/Camonets.hpp new file mode 100644 index 000000000..0c63216da --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/Buildings/Camonets.hpp @@ -0,0 +1,102 @@ +class desert_large_net_kit: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_LARGEDESERTCAMONET; + descriptionShort = $STR_EPOCH_LARGECAMONET_DESC; + model = "\z\addons\dayz_communityassets\models\packed_net_green.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_packed_net_green_ca.paa"; + weight = 25; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "DesertLargeCamoNet_DZ"; + }; + }; +}; +class forest_large_net_kit: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_LARGEFORESTCAMONET; + descriptionShort = $STR_EPOCH_LARGECAMONET_DESC; + model = "\z\addons\dayz_communityassets\models\packed_net_green.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_packed_net_green_ca.paa"; + weight = 25; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "ForestLargeCamoNet_DZ"; + }; + }; +}; +class desert_net_kit: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_DESERTCAMONET; + descriptionShort = $STR_EPOCH_CAMONET_DESC; + model = "\z\addons\dayz_communityassets\models\packed_net_green.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_packed_net_green_ca.paa"; + weight = 25; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "DesertCamoNet_DZ"; + }; + class Crafting + { + text = $STR_EPOCH_PLAYER_229; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemKnife"}; + output[] = {{"desert_large_net_kit",1}}; + input[] = {{"desert_net_kit",3}}; + }; + }; +}; +class forest_net_kit: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_FORESTCAMONET; + descriptionShort = $STR_EPOCH_CAMONET_DESC; + model = "\z\addons\dayz_communityassets\models\packed_net_green.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_packed_net_green_ca.paa"; + weight = 25; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "ForestCamoNet_DZ"; + }; + class Crafting + { + text = $STR_EPOCH_PLAYER_229; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemKnife"}; + output[] = {{"forest_large_net_kit",1}}; + input[] = {{"forest_net_kit",3}}; + }; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgMagazines/Buildings/Misc.hpp b/SQF/dayz_code/Configs/CfgMagazines/Buildings/Misc.hpp new file mode 100644 index 000000000..4f3855bac --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/Buildings/Misc.hpp @@ -0,0 +1,460 @@ +class ItemFireBarrel_kit: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_FIREBARRELKIT; + descriptionShort = $STR_EPOCH_FIREBARRELKIT_DESC; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 45; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "FireBarrel_DZ"; + }; + }; +}; + +class workbench_kit: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_WORKBENCH; + descriptionShort = $STR_EPOCH_WORKBENCH_DESC; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 10; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "WorkBench_DZ"; + }; + }; +}; + +// DayZ Mod workbench +class ItemWorkBench : CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_BLD_name_ItemWorkBench;//"Work Bench (Packed)" + model = "z\addons\dayz_buildings\models\workbench_flat.p3d"; + picture = "\z\addons\dayz_buildings\equip\item_workbench.paa"; // add to PBO + descriptionShort = $STR_BLD_desc_ItemWorkBench;//"A Folded Workbench, required for House Building and Some Crafting" + vehicle = "WorkBench"; + sfx = "tentunpack"; + + class ItemActions { + class Build { + text = $STR_BLD_build_ItemWorkBench;//"place WorkBench" + script = "; ['ItemWorkBench','Build'] spawn player_buildPlaceables;"; + require[] = {}; + consume[] = {"ItemWorkBench"}; + create = "WorkBench"; + }; + }; +}; + +class wood_ramp_kit: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_WOODRAMP; + descriptionShort = $STR_EPOCH_WOODENRAMP_DESC; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "WoodRamp_DZ"; + }; + }; +}; + +class plot_pole_kit: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_PLAYER_246; + descriptionShort = $STR_EPOCH_PLOT_DESC; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "Plastic_Pole_EP1_DZ"; + }; + }; +}; + +class metal_panel_kit: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_METALPANEL; + descriptionShort = $STR_EPOCH_METALPANEL_DESC; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 50; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "MetalPanel_DZ"; + }; + class Crafting + { + text = $STR_EPOCH_PLAYER_228; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop","fire"}; + requiretools[] = {"ItemToolbox","ItemCrowbar","ItemSledge"}; + output[] = {{"metal_floor_kit",1}}; + input[] = {{"metal_panel_kit",4}}; + }; + }; +}; + +class ItemCorrugated : CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_CORRUGATEDFENCE; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + descriptionShort = $STR_EPOCH_CORRUGATEDFENCE_DESC; + class ItemActions + { + class Build { + text = $STR_EPOCH_PLAYER_214; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "Fence_corrugated_DZ"; + }; + class Crafting + { + text = $STR_EPOCH_PLAYER_215; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemCrowbar"}; + output[] = {{"wooden_shed_kit",1}}; + input[] = {{"ItemCorrugated",2},{"PartWoodPlywood",4},{"PartWoodLumber",4}}; + }; + class Crafting1 + { + text = $STR_EPOCH_PLAYER_217; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemCrowbar"}; + output[] = {{"outhouse_kit",1}}; + input[] = {{"ItemCorrugated",1},{"PartWoodPlywood",3},{"PartWoodLumber",3},{"ItemTrashToiletpaper",1}}; + }; + class Crafting2 + { + text = $STR_EPOCH_PLAYER_216; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemCrowbar"}; + output[] = {{"storage_shed_kit",1}}; + input[] = {{"ItemCorrugated",4},{"PartWoodPlywood",2},{"PartWoodLumber",2}}; + }; + }; +}; + +class ItemWire : CA_Magazine +{ + scope = public; + count = 1; + type = WeaponSlotItem; + + model = "\dayz_equip\models\Fence_wire_kit.p3d"; + picture = "\dayz_equip\textures\equip_fencewire_kit_CA.paa"; + displayName = $STR_EQUIP_NAME_23; + descriptionShort = $STR_EQUIP_DESC_23; + + class ItemActions + { + class Build + { + text = $STR_ACTION_BUILD; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + consume[] = {"ItemWire"}; + create = "Fort_RazorWire"; // vanilla uses Wire_cat1 + byPass = "byPassRoadCheck"; + }; + }; +}; + +class ItemTankTrap : CA_Magazine +{ + scope = public; + count = 1; + type = WeaponSlotItem; + + model = "\dayz_equip\models\tank_trap_kit.p3d"; + picture = "\dayz_equip\textures\equip_tanktrap_kit_CA.paa"; + displayName = $STR_EQUIP_NAME_22; + descriptionShort = $STR_EQUIP_DESC_22; + + class ItemActions + { + class Build + { + text = $STR_ACTION_BUILD; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + consume[] = {"ItemTankTrap"}; + create = "Hedgehog_DZ"; + byPass = "byPassRoadCheck"; + }; + }; +}; + +class ItemGenerator : CA_Magazine +{ + scope = public; + count = 1; + type = WeaponSlotItem; + + model = "\dayz_equip\models\generator_gear.p3d"; + picture = "\dayz_equip\textures\equip_generator_ca.paa"; + displayName = $STR_EQUIP_NAME_31; + descriptionShort = $STR_EQUIP_DESC_31; + weight = 30; // used in R3F weight + + class ItemActions + { + class Build + { + text = $STR_ACTION_BUILD; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + consume[] = {"ItemGenerator"}; + create = "Generator_DZ"; + }; + }; +}; + +class fuel_pump_kit: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_FUELPUMP; + descriptionShort = $STR_EPOCH_FUELPUMP; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 50; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "FuelPump_DZ"; + }; + }; +}; + +class light_pole_kit: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_LIGHTPOLE; + descriptionShort = $STR_EPOCH_LIGHTPOLE_DESC; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 25; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "LightPole_DZ"; + }; + }; +}; + +class deer_stand_kit: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_DEERSTAND; + descriptionShort = $STR_EPOCH_DEERSTAND_DESC; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 25; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "DeerStand_DZ"; + }; + }; +}; + +class m240_nest_kit: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_M240NEST; + descriptionShort = $STR_EPOCH_M240NEST; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 125; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "M240Nest_DZ"; + }; + }; +}; + +class rusty_gate_kit: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_RUSTYGATE; + descriptionShort = $STR_EPOCH_RUSTYGATE_DESC; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 25; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "MetalGate_DZ"; + }; + }; +}; + +class stick_fence_kit: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_STICKFENCE; + descriptionShort = $STR_EPOCH_STICKFENCE_DESC; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 15; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "StickFence_DZ"; + }; + }; +}; + +class sun_shade_kit: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_CANVASSUNSHADE; + descriptionShort = $STR_EPOCH_CANVASSUNSHADE_DESC; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 25; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "CanvasHut_DZ"; + }; + }; +}; + +class park_bench_kit: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_WOODBENCH; + descriptionShort = $STR_EPOCH_WOODBENCH; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 25; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "ParkBench_DZ"; + }; + }; +}; + +class ItemScaffoldingKit: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_SCAFFOLDING; + descriptionShort = $STR_EPOCH_SCAFFOLDING; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 80; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "Scaffolding_DZ"; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/ModularBuilding.hpp b/SQF/dayz_code/Configs/CfgMagazines/Buildings/ModularBuilding.hpp similarity index 100% rename from SQF/dayz_code/Configs/CfgMagazines/DZE/ModularBuilding.hpp rename to SQF/dayz_code/Configs/CfgMagazines/Buildings/ModularBuilding.hpp diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/Sandbag.hpp b/SQF/dayz_code/Configs/CfgMagazines/Buildings/Sandbag.hpp similarity index 100% rename from SQF/dayz_code/Configs/CfgMagazines/Items/Sandbag.hpp rename to SQF/dayz_code/Configs/CfgMagazines/Buildings/Sandbag.hpp index c8379d3ab..5cab24519 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/Sandbag.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Buildings/Sandbag.hpp @@ -104,28 +104,6 @@ class BagFenceRound_DZ_kit : CA_Magazine { }; }; -class sandbag_nest_kit: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EQUIP_NAME_21_NEST; - descriptionShort = $STR_EQUIP_DESC_21_NEST; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - weight = 50; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemEtool","ItemToolbox"}; - create = "SandNest_DZ"; - }; - }; -}; - class ItemSandbagLarge : CA_Magazine { scope = public; count = 1; @@ -199,4 +177,26 @@ class ItemSandbagExLarge5x : CA_Magazine { create = "Land_HBarrier5_DZ"; }; }; +}; + +class sandbag_nest_kit: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EQUIP_NAME_21_NEST; + descriptionShort = $STR_EQUIP_DESC_21_NEST; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 50; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "SandNest_DZ"; + }; + }; }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Buildings/Storage.hpp b/SQF/dayz_code/Configs/CfgMagazines/Buildings/Storage.hpp new file mode 100644 index 000000000..fd64481eb --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/Buildings/Storage.hpp @@ -0,0 +1,173 @@ +class outhouse_kit: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_OUTHOUSE; + descriptionShort = $STR_EPOCH_OUTHOUSE_DESC; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 25; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "OutHouse_DZ"; + }; + }; +}; + +class wooden_shed_kit: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_NICEWOODSHED; + descriptionShort = $STR_EPOCH_NICEWOODSHED_DESC; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 25; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "Wooden_shed_DZ"; + }; + }; +}; + +class wood_shack_kit: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_WOODSHACK; + descriptionShort = $STR_EPOCH_WOODSHACK; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 25; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "WoodShack_DZ"; + }; + }; +}; + +class storage_shed_kit: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_STORAGESHED; + descriptionShort = $STR_EPOCH_STORAGESHED_DESC; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 75; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemEtool","ItemToolbox"}; + create = "StorageShed_DZ"; + }; + }; +}; + +class ItemGunRackKit: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_GUNRACKKIT; + descriptionShort = $STR_EPOCH_GUNRACKKIT_DESC; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 20; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "GunRack_DZ"; + }; + }; +}; +class ItemWoodCrateKit: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_WOODCRATE; + descriptionShort = $STR_EPOCH_WOODCRATE_DESC; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 20; + class ItemActions + { + class Build + { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "WoodCrate_DZ"; + }; + }; +}; + +class ItemVault: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_SAFE; + model = "\z\addons\dayz_epoch\models\safe_onside.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_safe_ca.paa"; + descriptionShort = $STR_EPOCH_SAFE_DESC; + class ItemActions + { + class Build + { + text = $STR_EPOCH_PLAYER_230; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "VaultStorageLocked"; + }; + }; +}; + +class ItemLockbox: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_LOCKBOX; + model = "\z\addons\dayz_epoch\models\lockbox_mag.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_lockbox_CA.paa"; + descriptionShort = $STR_EPOCH_LOCKBOX_DESC; + weight = 15; + class ItemActions + { + class Build + { + text = $STR_EPOCH_PLAYER_231; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "LockboxStorageLocked"; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/Tent.hpp b/SQF/dayz_code/Configs/CfgMagazines/Buildings/Tent.hpp similarity index 100% rename from SQF/dayz_code/Configs/CfgMagazines/Items/Tent.hpp rename to SQF/dayz_code/Configs/CfgMagazines/Buildings/Tent.hpp diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/TripWire.hpp b/SQF/dayz_code/Configs/CfgMagazines/Buildings/TripWire.hpp similarity index 100% rename from SQF/dayz_code/Configs/CfgMagazines/Items/TripWire.hpp rename to SQF/dayz_code/Configs/CfgMagazines/Buildings/TripWire.hpp diff --git a/SQF/dayz_code/Configs/CfgMagazines/CfgMagazines.hpp b/SQF/dayz_code/Configs/CfgMagazines/CfgMagazines.hpp index 70e665b4c..e1f07ccbb 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/CfgMagazines.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/CfgMagazines.hpp @@ -3,67 +3,63 @@ class CfgMagazines //External references class CA_Magazine; class HandGrenade; - class TimeBomb; - class CA_LauncherMagazine; - + class CA_LauncherMagazine; //Weapon magazines #include "Magazines\Magazines.hpp" + //Attachments + #include "Attachments\Attachments.hpp" + + //Consumables: food, drinks, fish, meat, harvestable food, garlic + #include "Consumables\Consumables.hpp" + //Trash #include "Trash\Trash.hpp" - //Vehicle parts - #include "VehicleParts.hpp" - - //Chemlight and Roadflare - #include "Throwable.hpp" - //Clothing #include "Clothing\Clothing.hpp" //Medical #include "Medical\Medical.hpp" - //Miscellaneous - #include "Items\Items.hpp" + //Currency + #include "Items\Currency\Briefcase.hpp" + #include "Items\Currency\GoldBar.hpp" + #include "Items\Currency\SilverBar.hpp" + #include "Items\Currency\CopperBar.hpp" + //#include "Items\Currency\BronzeBar.hpp" //The Bronze Bar has no model + #include "Items\Currency\AluminumBar.hpp" + #include "Items\Currency\TinBar.hpp" + + //All other items + #include "Items\Flares.hpp" // Chemlight and Roadflare + #include "Items\Bulk.hpp" // Bulk crates for wholesaler + #include "Items\Gems.hpp" + #include "Items\Ores.hpp" + #include "Items\ChainsawGas.hpp" + #include "Items\DocumentsPapers.hpp" + #include "Items\Explosives.hpp" + #include "Items\BarrelsCans.hpp" + #include "Items\ToolCrafting.hpp" //Sledgehammer, Crossbow + #include "Items\Paints.hpp" + #include "Items\Planting.hpp" //Kilo of Hemp, Fertilizer + #include "Items\Wood.hpp" + #include "Items\Metal.hpp" + #include "Items\Concrete.hpp" //Cinder, Mortar, Stone, Brick + #include "Items\Textiles.hpp" + #include "Items\Electronics.hpp" //Nails, screws, cards, hotwire kit etc. + #include "Items\Locks.hpp" + #include "Items\VehicleParts.hpp" //Vehicle parts + #include "Items\Misc.hpp" //Nails, screws, cards, hotwire kit etc. - //Attachments - #include "Attachments\Attachments.hpp" - - //Crafting materials - #include "Crafting\Crafting.hpp" - - //Consumables: food, drinks etc. - #include "Consumables\Consumables.hpp" - - //EPOCH ADDITIONS - - #include "VehicleAmmo.hpp" - // Gems - #include "DZE\Gems.hpp" - #include "DZE\Ores.hpp" - // Items - #include "DZE\Items.hpp" - #include "DZE\Bulk.hpp" - // Currency - #include "DZE\Currency\Briefcase.hpp" - #include "DZE\Currency\GoldBar.hpp" - #include "DZE\Currency\SilverBar.hpp" - #include "DZE\Currency\CopperBar.hpp" - //#include "DZE\Currency\BronzeBar.hpp" //The Bronze Bar has no model - #include "DZE\Currency\AluminumBar.hpp" - #include "DZE\Currency\TinBar.hpp" - - #include "DZE\ItemWaterbottle.hpp" - #include "DZE\PlasticWaterbottle.hpp" - #include "Planting.hpp" - - // Building Stuff - #include "DZE\ModularBuilding.hpp" - #include "DZE\Misc.hpp" - - // Consumables - #include "DZE\Food.hpp" - #include "DZE\ItemSoda.hpp" + //Building items - all items that can be build and placed in-game + #include "Buildings\BearTrap.hpp" + #include "Buildings\TripWire.hpp" + #include "Buildings\Camonets.hpp" + #include "Buildings\Sandbag.hpp" + #include "Buildings\ModularBuilding.hpp" + #include "Buildings\Storage.hpp" + #include "Buildings\Tent.hpp" + #include "Buildings\Misc.hpp" }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Consumables/Consumables.hpp b/SQF/dayz_code/Configs/CfgMagazines/Consumables/Consumables.hpp index 3852eba36..218babe9a 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Consumables/Consumables.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Consumables/Consumables.hpp @@ -83,12 +83,6 @@ class ItemSoda : FoodDrink consumeDrop = true; }; -//Player made drinks base class -/*class ItemBrew : FoodDrink -{ - Nutrition[] = {0,0,0,0}; -};*/ - //Raw food base class class FoodRaw : FoodEdible { @@ -111,3 +105,4 @@ class FoodCooked : FoodEdible #include "Soda.hpp" #include "WaterBottle.hpp" +#include "PlasticWaterbottle.hpp" \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Consumables/PackagedFood.hpp b/SQF/dayz_code/Configs/CfgMagazines/Consumables/PackagedFood.hpp index 453d80e87..a5fbf2ca2 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Consumables/PackagedFood.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Consumables/PackagedFood.hpp @@ -558,3 +558,62 @@ class FoodCanPasta : FoodPackaged consumeOutput = "FoodCanUnlabeledEmpty"; }; + +class FoodBioMeat: FoodEdible { + scope = public; + displayName = $STR_FOOD_NAME_BIOMEAT; + model = "\z\addons\dayz_epoch\models\biomeat_can.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_biomeat_CA.paa"; + descriptionShort = $STR_FOOD_NAME_BIOMEAT_DESC; + bloodRegen = 1600; + infectionChance = 0.4; +}; + +class equip_garlic_bulb : FoodEdible { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_garlic_bulb; + descriptionShort = $STR_ITEM_DESC_equip_garlic_bulb; + model = "\z\addons\dayz_communityassets\models\herb_garlic_bulb.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_garlic_bulb_ca.paa"; + bloodRegen = 80; +}; + +// new DZE harvested food +class FoodPumpkin : FoodEdible { + scope = public; + count = 1; + bloodRegen = 100; + displayName = $STR_FOOD_NAME_PUMPKIN; + descriptionShort = $STR_FOOD_NAME_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 ItemActions + { + class Consume + { + text = $STR_EAT_FOOD; + script = "spawn player_consume"; + }; + class Crafting + { + text = $STR_FOOD_NAME_PUMPKIN_CRAFT; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {""}; + requiretools[] = {"ItemKnife"}; + output[] = {{"ItemPumpkinSeed",5}}; + input[] = {{"FoodPumpkin",1}}; + }; + }; +}; +class FoodSunFlowerSeed : FoodEdible { + scope = public; + count = 1; + bloodRegen = 100; + displayName = $STR_FOOD_NAME_SUNFLOWER; + descriptionShort = $STR_FOOD_NAME_SUNFLOWER; + weight = 0.1; + model = "z\addons\dayz_communityassets\models\pistachio.p3d"; // TODO: model + icon + picture = "\z\addons\dayz_communityassets\pictures\equip_pistachios_CA.paa"; +}; diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/PlasticWaterbottle.hpp b/SQF/dayz_code/Configs/CfgMagazines/Consumables/PlasticWaterbottle.hpp similarity index 100% rename from SQF/dayz_code/Configs/CfgMagazines/DZE/PlasticWaterbottle.hpp rename to SQF/dayz_code/Configs/CfgMagazines/Consumables/PlasticWaterbottle.hpp diff --git a/SQF/dayz_code/Configs/CfgMagazines/Consumables/Soda.hpp b/SQF/dayz_code/Configs/CfgMagazines/Consumables/Soda.hpp index abbc5950a..94d426465 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Consumables/Soda.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Consumables/Soda.hpp @@ -257,3 +257,16 @@ class ItemSherbet : ItemSoda consumeOutput = "ItemSodaSherbetEmpty"; }; + +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/Consumables/WaterBottle.hpp b/SQF/dayz_code/Configs/CfgMagazines/Consumables/WaterBottle.hpp index 6a83194fc..16f303a59 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Consumables/WaterBottle.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Consumables/WaterBottle.hpp @@ -54,4 +54,584 @@ class ItemWaterBottleHerbal : ItemWaterBottle descriptionShort = $STR_ITEM_DESC_HerbalDrink; infectionChance = -0.5; -}; \ No newline at end of file +}; + +class ItemWaterBottleUnfilled : CA_Magazine +{ + scope = public; + count = 1; + type = WeaponSlotItem; + + model = "\dayz_equip\models\waterbottle_gear.p3d"; + picture = "\dayz_equip\textures\equip_waterbottle_empty_ca.paa"; + displayName = $STR_EQUIP_NAME_13; + descriptionShort = $STR_EQUIP_DESC_13; + + containerWater = "ItemWaterBottle"; + containerWaterSafe = "ItemWaterBottleSafe"; + containerWaterInfected = "ItemWaterBottleInfected"; + + class ItemActions + { + class Fill + { + text = $STR_ACTIONS_FILL_W; + script = "spawn player_fillWater;"; + }; + }; +}; + +class ItemWaterBottleDmg : CA_Magazine //We don't have a damaged canteen image/model , so the regular bottle image is used for now +{ + scope = public; + count = 1; + type = WeaponSlotItem; + + model = "\dayz_equip\models\waterbottle_gear.p3d"; + picture = "\dayz_equip\textures\equip_waterbottle_empty_ca.paa"; + displayName = $STR_ITEMWATERBOTTLEDMG_CODE_NAME; + descriptionShort = $STR_ITEMWATERBOTTLEDMG_CODE_DESC; + sfx = "bandage"; + + class ItemActions + { + class Crafting { + text = $STR_ACTIONS_FIX_W; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemWaterbottleUnfilled",1}}; + input[] = {{"ItemWaterBottleDmg",1},{"equip_duct_tape",1}}; + }; + }; +}; + +class ItemWaterbottle1oz : ItemWaterbottle { + displayName = $STR_EPOCH_WATERBOTTLE1OZ; + descriptionShort = $STR_EPOCH_WATERBOTTLE1OZ_DESC; + picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_1oz_ca.paa"; + wateroz = 1; + containerWater = "ItemWaterBottle"; + containerWaterSafe = "ItemWaterBottleSafe"; + containerWaterInfected = "ItemWaterBottleInfected"; + Nutrition[] = {0,0,100,0}; + infectionChance = 0.03; + consumeOutput = "ItemWaterBottleUnfilled"; + containerEmpty = "ItemWaterBottleUnfilled"; + class ItemActions { + class Consume + { + text = $STR_ACTIONS_DRINK2; + script = "spawn player_consume"; + }; + class Empty + { + text = $STR_EQUIP_NAME_13_EMPTY; + script = "spawn player_emptyContainer"; + }; + class Fill { + text = "$STR_ACTIONS_FILL_W"; + script = "spawn player_fillWater;"; + }; + }; +}; +class ItemWaterbottle2oz : ItemWaterbottle { + displayName = $STR_EPOCH_WATERBOTTLE2OZ; + descriptionShort = $STR_EPOCH_WATERBOTTLE2OZ_DESC; + picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_2oz_ca.paa"; + wateroz = 2; + containerWater = "ItemWaterBottle"; + containerWaterSafe = "ItemWaterBottleSafe"; + containerWaterInfected = "ItemWaterBottleInfected"; + Nutrition[] = {0,0,200,0}; + infectionChance = 0.06; + consumeOutput = "ItemWaterBottleUnfilled"; + containerEmpty = "ItemWaterBottleUnfilled"; + class ItemActions { + class Consume + { + text = $STR_ACTIONS_DRINK2; + script = "spawn player_consume"; + }; + class Empty + { + text = $STR_EQUIP_NAME_13_EMPTY; + script = "spawn player_emptyContainer"; + }; + class Fill { + text = "$STR_ACTIONS_FILL_W"; + script = "spawn player_fillWater;"; + }; + }; + +}; +class ItemWaterbottle3oz : ItemWaterbottle { + displayName = $STR_EPOCH_WATERBOTTLE3OZ; + descriptionShort = $STR_EPOCH_WATERBOTTLE3OZ_DESC; + picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_3oz_ca.paa"; + wateroz = 3; + containerWater = "ItemWaterBottle"; + containerWaterSafe = "ItemWaterBottleSafe"; + containerWaterInfected = "ItemWaterBottleInfected"; + Nutrition[] = {0,0,300,0}; + infectionChance = 0.09; + consumeOutput = "ItemWaterBottleUnfilled"; + containerEmpty = "ItemWaterBottleUnfilled"; + class ItemActions { + class Consume + { + text = $STR_ACTIONS_DRINK2; + script = "spawn player_consume"; + }; + class Empty + { + text = $STR_EQUIP_NAME_13_EMPTY; + script = "spawn player_emptyContainer"; + }; + class Fill { + text = "$STR_ACTIONS_FILL_W"; + script = "spawn player_fillWater;"; + }; + }; + +}; +class ItemWaterbottle4oz : ItemWaterbottle { + displayName = $STR_EPOCH_WATERBOTTLE4OZ; + descriptionShort = $STR_EPOCH_WATERBOTTLE4OZ_DESC; + picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_4oz_ca.paa"; + wateroz = 4; + containerWater = "ItemWaterBottle"; + containerWaterSafe = "ItemWaterBottleSafe"; + containerWaterInfected = "ItemWaterBottleInfected"; + Nutrition[] = {0,0,400,0}; + infectionChance = 0.12; + consumeOutput = "ItemWaterBottleUnfilled"; + containerEmpty = "ItemWaterBottleUnfilled"; + class ItemActions { + class Consume + { + text = $STR_ACTIONS_DRINK2; + script = "spawn player_consume"; + }; + class Empty + { + text = $STR_EQUIP_NAME_13_EMPTY; + script = "spawn player_emptyContainer"; + }; + class Fill { + text = "$STR_ACTIONS_FILL_W"; + script = "spawn player_fillWater;"; + }; + }; + +}; +class ItemWaterbottle5oz : ItemWaterbottle { + displayName = $STR_EPOCH_WATERBOTTLE5OZ; + descriptionShort = $STR_EPOCH_WATERBOTTLE5OZ_DESC; + picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_5oz_ca.paa"; + wateroz = 5; + containerWater = "ItemWaterBottle"; + containerWaterSafe = "ItemWaterBottleSafe"; + containerWaterInfected = "ItemWaterBottleInfected"; + Nutrition[] = {0,0,500,0}; + infectionChance = 0.15; + consumeOutput = "ItemWaterBottleUnfilled"; + containerEmpty = "ItemWaterBottleUnfilled"; + class ItemActions { + class Consume + { + text = $STR_ACTIONS_DRINK2; + script = "spawn player_consume"; + }; + class Empty + { + text = $STR_EQUIP_NAME_13_EMPTY; + script = "spawn player_emptyContainer"; + }; + class Fill { + text = "$STR_ACTIONS_FILL_W"; + script = "spawn player_fillWater;"; + }; + }; + +}; +class ItemWaterbottle6oz : ItemWaterbottle { + displayName = $STR_EPOCH_WATERBOTTLE6OZ; + descriptionShort = $STR_EPOCH_WATERBOTTLE6OZ_DESC; + picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_6oz_ca.paa"; + wateroz = 6; + containerWater = "ItemWaterBottle"; + containerWaterSafe = "ItemWaterBottleSafe"; + containerWaterInfected = "ItemWaterBottleInfected"; + Nutrition[] = {0,0,600,0}; + infectionChance = 0.18; + consumeOutput = "ItemWaterBottleUnfilled"; + containerEmpty = "ItemWaterBottleUnfilled"; + class ItemActions { + class Consume + { + text = $STR_ACTIONS_DRINK2; + script = "spawn player_consume"; + }; + class Empty + { + text = $STR_EQUIP_NAME_13_EMPTY; + script = "spawn player_emptyContainer"; + }; + class Fill { + text = "$STR_ACTIONS_FILL_W"; + script = "spawn player_fillWater;"; + }; + }; + +}; +class ItemWaterbottle7oz : ItemWaterbottle { + displayName = $STR_EPOCH_WATERBOTTLE7OZ; + descriptionShort = $STR_EPOCH_WATERBOTTLE7OZ_DESC; + picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_7oz_ca.paa"; + wateroz = 7; + containerWater = "ItemWaterBottle"; + containerWaterSafe = "ItemWaterBottleSafe"; + containerWaterInfected = "ItemWaterBottleInfected"; + Nutrition[] = {0,0,700,0}; + infectionChance = 0.21; + consumeOutput = "ItemWaterBottleUnfilled"; + containerEmpty = "ItemWaterBottleUnfilled"; + class ItemActions { + class Consume + { + text = $STR_ACTIONS_DRINK2; + script = "spawn player_consume"; + }; + class Empty + { + text = $STR_EQUIP_NAME_13_EMPTY; + script = "spawn player_emptyContainer"; + }; + class Fill { + text = "$STR_ACTIONS_FILL_W"; + script = "spawn player_fillWater;"; + }; + }; +}; +class ItemWaterbottle8oz : ItemWaterbottle { + displayName = $STR_EPOCH_WATERBOTTLE8OZ; + descriptionShort = $STR_EPOCH_WATERBOTTLE8OZ_DESC; + picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_8oz_ca.paa"; + wateroz = 8; + containerWater = "ItemWaterBottle"; + containerWaterSafe = "ItemWaterBottleSafe"; + containerWaterInfected = "ItemWaterBottleInfected"; + Nutrition[] = {0,0,800,0}; + infectionChance = 0.24; + consumeOutput = "ItemWaterBottleUnfilled"; + containerEmpty = "ItemWaterBottleUnfilled"; + class ItemActions { + class Consume + { + text = $STR_ACTIONS_DRINK2; + script = "spawn player_consume"; + }; + class Empty + { + text = $STR_EQUIP_NAME_13_EMPTY; + script = "spawn player_emptyContainer"; + }; + class Fill { + text = "$STR_ACTIONS_FILL_W"; + script = "spawn player_fillWater;"; + }; + }; + +}; +class ItemWaterbottle9oz : ItemWaterbottle { + displayName = $STR_EPOCH_WATERBOTTLE9OZ; + descriptionShort = $STR_EPOCH_WATERBOTTLE9OZ_DESC; + picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_9oz_ca.paa"; + wateroz = 9; + containerWater = "ItemWaterBottle"; + containerWaterSafe = "ItemWaterBottleSafe"; + containerWaterInfected = "ItemWaterBottleInfected"; + Nutrition[] = {0,0,900,0}; + infectionChance = 0.27; + consumeOutput = "ItemWaterBottleUnfilled"; + containerEmpty = "ItemWaterBottleUnfilled"; + class ItemActions { + class Consume + { + text = $STR_ACTIONS_DRINK2; + script = "spawn player_consume"; + }; + class Empty + { + text = $STR_EQUIP_NAME_13_EMPTY; + script = "spawn player_emptyContainer"; + }; + class Fill { + text = "$STR_ACTIONS_FILL_W"; + script = "spawn player_fillWater;"; + }; + }; +}; +//inherit from ItemWaterbottle because that's how the crafting script checks required input +class ItemWaterbottle1ozBoiled : ItemWaterbottle { + displayName = $STR_EPOCH_WATERBOTTLE1OZBOILED; + descriptionShort = $STR_EPOCH_WATERBOTTLE1OZBOILED_DESC; + infectionChance = 0; + picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_1oz_ca.paa"; + wateroz = 1; + containerWater = "ItemWaterBottle"; + containerWaterSafe = "ItemWaterBottleSafe"; + containerWaterInfected = "ItemWaterBottleInfected"; + Nutrition[] = {0,0,100,0}; + consumeOutput = "ItemWaterBottleUnfilled"; + containerEmpty = "ItemWaterBottleUnfilled"; + class ItemActions { + class Consume + { + text = $STR_ACTIONS_DRINK2; + script = "spawn player_consume"; + }; + class Empty + { + text = $STR_EQUIP_NAME_13_EMPTY; + script = "spawn player_emptyContainer"; + }; + class Fill { + text = "$STR_ACTIONS_FILL_W"; + script = "spawn player_fillWater;"; + }; + }; +}; +class ItemWaterbottle2ozBoiled : ItemWaterbottle { + displayName = $STR_EPOCH_WATERBOTTLE2OZBOILED; + descriptionShort = $STR_EPOCH_WATERBOTTLE2OZBOILED_DESC; + infectionChance = 0; + picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_2oz_ca.paa"; + wateroz = 2; + containerWater = "ItemWaterBottle"; + containerWaterSafe = "ItemWaterBottleSafe"; + containerWaterInfected = "ItemWaterBottleInfected"; + Nutrition[] = {0,0,200,0}; + consumeOutput = "ItemWaterBottleUnfilled"; + containerEmpty = "ItemWaterBottleUnfilled"; + class ItemActions { + class Consume + { + text = $STR_ACTIONS_DRINK2; + script = "spawn player_consume"; + }; + class Empty + { + text = $STR_EQUIP_NAME_13_EMPTY; + script = "spawn player_emptyContainer"; + }; + class Fill { + text = "$STR_ACTIONS_FILL_W"; + script = "spawn player_fillWater;"; + }; + }; +}; +class ItemWaterbottle3ozBoiled : ItemWaterbottle { + displayName = $STR_EPOCH_WATERBOTTLE3OZBOILED; + descriptionShort = $STR_EPOCH_WATERBOTTLE3OZBOILED_DESC; + infectionChance = 0; + picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_3oz_ca.paa"; + wateroz = 3; + containerWater = "ItemWaterBottle"; + containerWaterSafe = "ItemWaterBottleSafe"; + containerWaterInfected = "ItemWaterBottleInfected"; + Nutrition[] = {0,0,300,0}; + consumeOutput = "ItemWaterBottleUnfilled"; + containerEmpty = "ItemWaterBottleUnfilled"; + class ItemActions { + class Consume + { + text = $STR_ACTIONS_DRINK2; + script = "spawn player_consume"; + }; + class Empty + { + text = $STR_EQUIP_NAME_13_EMPTY; + script = "spawn player_emptyContainer"; + }; + class Fill { + text = "$STR_ACTIONS_FILL_W"; + script = "spawn player_fillWater;"; + }; + }; +}; +class ItemWaterbottle4ozBoiled : ItemWaterbottle { + displayName = $STR_EPOCH_WATERBOTTLE4OZBOILED; + descriptionShort = $STR_EPOCH_WATERBOTTLE4OZBOILED_DESC; + infectionChance = 0; + picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_4oz_ca.paa"; + wateroz = 4; + containerWater = "ItemWaterBottle"; + containerWaterSafe = "ItemWaterBottleSafe"; + containerWaterInfected = "ItemWaterBottleInfected"; + Nutrition[] = {0,0,400,0}; + consumeOutput = "ItemWaterBottleUnfilled"; + containerEmpty = "ItemWaterBottleUnfilled"; + class ItemActions { + class Consume + { + text = $STR_ACTIONS_DRINK2; + script = "spawn player_consume"; + }; + class Empty + { + text = $STR_EQUIP_NAME_13_EMPTY; + script = "spawn player_emptyContainer"; + }; + class Fill { + text = "$STR_ACTIONS_FILL_W"; + script = "spawn player_fillWater;"; + }; + }; +}; +class ItemWaterbottle5ozBoiled : ItemWaterbottle { + displayName = $STR_EPOCH_WATERBOTTLE5OZBOILED; + descriptionShort = $STR_EPOCH_WATERBOTTLE5OZBOILED_DESC; + infectionChance = 0; + picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_5oz_ca.paa"; + wateroz = 5; + containerWater = "ItemWaterBottle"; + containerWaterSafe = "ItemWaterBottleSafe"; + containerWaterInfected = "ItemWaterBottleInfected"; + Nutrition[] = {0,0,500,0}; + consumeOutput = "ItemWaterBottleUnfilled"; + containerEmpty = "ItemWaterBottleUnfilled"; + class ItemActions { + class Consume + { + text = $STR_ACTIONS_DRINK2; + script = "spawn player_consume"; + }; + class Empty + { + text = $STR_EQUIP_NAME_13_EMPTY; + script = "spawn player_emptyContainer"; + }; + class Fill { + text = "$STR_ACTIONS_FILL_W"; + script = "spawn player_fillWater;"; + }; + }; +}; +class ItemWaterbottle6ozBoiled : ItemWaterbottle { + displayName = $STR_EPOCH_WATERBOTTLE6OZBOILED; + descriptionShort = $STR_EPOCH_WATERBOTTLE6OZBOILED_DESC; + infectionChance = 0; + picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_6oz_ca.paa"; + wateroz = 6; + containerWater = "ItemWaterBottle"; + containerWaterSafe = "ItemWaterBottleSafe"; + containerWaterInfected = "ItemWaterBottleInfected"; + Nutrition[] = {0,0,600,0}; + consumeOutput = "ItemWaterBottleUnfilled"; + containerEmpty = "ItemWaterBottleUnfilled"; + class ItemActions { + class Consume + { + text = $STR_ACTIONS_DRINK2; + script = "spawn player_consume"; + }; + class Empty + { + text = $STR_EQUIP_NAME_13_EMPTY; + script = "spawn player_emptyContainer"; + }; + class Fill { + text = "$STR_ACTIONS_FILL_W"; + script = "spawn player_fillWater;"; + }; + }; +}; +class ItemWaterbottle7ozBoiled : ItemWaterbottle { + displayName = $STR_EPOCH_WATERBOTTLE7OZBOILED; + descriptionShort = $STR_EPOCH_WATERBOTTLE7OZBOILED_DESC; + infectionChance = 0; + picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_7oz_ca.paa"; + wateroz = 7; + containerWater = "ItemWaterBottle"; + containerWaterSafe = "ItemWaterBottleSafe"; + containerWaterInfected = "ItemWaterBottleInfected"; + Nutrition[] = {0,0,700,0}; + consumeOutput = "ItemWaterBottleUnfilled"; + containerEmpty = "ItemWaterBottleUnfilled"; + class ItemActions { + class Consume + { + text = $STR_ACTIONS_DRINK2; + script = "spawn player_consume"; + }; + class Empty + { + text = $STR_EQUIP_NAME_13_EMPTY; + script = "spawn player_emptyContainer"; + }; + class Fill { + text = "$STR_ACTIONS_FILL_W"; + script = "spawn player_fillWater;"; + }; + }; +}; +class ItemWaterbottle8ozBoiled : ItemWaterbottle { + displayName = $STR_EPOCH_WATERBOTTLE8OZBOILED; + descriptionShort = $STR_EPOCH_WATERBOTTLE8OZBOILED_DESC; + infectionChance = 0; + picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_8oz_ca.paa"; + wateroz = 8; + containerWater = "ItemWaterBottle"; + containerWaterSafe = "ItemWaterBottleSafe"; + containerWaterInfected = "ItemWaterBottleInfected"; + Nutrition[] = {0,0,800,0}; + consumeOutput = "ItemWaterBottleUnfilled"; + containerEmpty = "ItemWaterBottleUnfilled"; + class ItemActions { + class Consume + { + text = $STR_ACTIONS_DRINK2; + script = "spawn player_consume"; + }; + class Empty + { + text = $STR_EQUIP_NAME_13_EMPTY; + script = "spawn player_emptyContainer"; + }; + class Fill { + text = "$STR_ACTIONS_FILL_W"; + script = "spawn player_fillWater;"; + }; + }; +}; +class ItemWaterbottle9ozBoiled : ItemWaterbottle { + displayName = $STR_EPOCH_WATERBOTTLE9OZBOILED; + descriptionShort = $STR_EPOCH_WATERBOTTLE9OZBOILED_DESC; + infectionChance = 0; + picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_9oz_ca.paa"; + wateroz = 9; + containerWater = "ItemWaterBottle"; + containerWaterSafe = "ItemWaterBottleSafe"; + containerWaterInfected = "ItemWaterBottleInfected"; + Nutrition[] = {0,0,900,0}; + consumeOutput = "ItemWaterBottleUnfilled"; + containerEmpty = "ItemWaterBottleUnfilled"; + class ItemActions { + class Consume + { + text = $STR_ACTIONS_DRINK2; + script = "spawn player_consume"; + }; + class Empty + { + text = $STR_EQUIP_NAME_13_EMPTY; + script = "spawn player_emptyContainer"; + }; + class Fill { + text = "$STR_ACTIONS_FILL_W"; + script = "spawn player_fillWater;"; + }; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/Crafting.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/Crafting.hpp deleted file mode 100644 index df86c05fb..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/Crafting.hpp +++ /dev/null @@ -1,65 +0,0 @@ -//class CfgMagazines - -//No Models - -#include "equip_crossbow_kit.hpp" -#include "equip_aa_battery.hpp" -#include "equip_cable_tie.hpp" -#include "equip_connector_i.hpp" -#include "equip_connector_L.hpp" -#include "equip_connector_T.hpp" -#include "equip_d_battery.hpp" -#include "equip_duct_tape.hpp" -#include "equip_empty_barrel.hpp" -#include "equip_garlic_bulb.hpp" -#include "equip_herb_box.hpp" -#include "equip_hobo_fishing_kit.hpp" -#include "equip_hose.hpp" -#include "equip_hose_clamp.hpp" -#include "equip_laser.hpp" -//#include "equip_metal_rod.hpp" //not sure why called metal rod? changed to tent poles -#include "equip_metal_sheet.hpp" -#include "equip_metal_sheet_rusted.hpp" -#include "equip_nails.hpp" -#include "equip_needle.hpp" -#include "equip_note.hpp" -#include "equip_paint.hpp" -//#include "equip_part_camo.hpp" -//#include "equip_part_silencer.hpp" -#include "equip_pvc_box.hpp" -#include "equip_rope.hpp" -#include "equip_slugsinacan.hpp" -#include "equip_string.hpp" -#include "equip_tent_poles.hpp" -#include "equip_tin_powder.hpp" -#include "equip_wood_pallet.hpp" -#include "equip_woodensplint.hpp" -#include "equip_feathers.hpp" - -//no images -//#include "equip_metal_rod.hpp" -//#include "equip_rubber_tube.hpp" -//#include "equip_fuse.hpp" -//#include "equip_pipecap.hpp" - -//100% Mats to be added -#include "equip_crossbow_stock.hpp" -#include "equip_scrapelectronics.hpp" -#include "equip_carbomb.hpp" -#include "equip_rag.hpp" -#include "equip_gauze.hpp" -#include "equip_gauzepackaged.hpp" -#include "equip_1inch_metal_pipe.hpp" -#include "equip_2inch_metal_pipe.hpp" -#include "equip_rail_screws.hpp" -#include "equip_weapon_rails.hpp" -#include "equip_comfreyleafs.hpp" -#include "equip_floppywire.hpp" -#include "equip_crate.hpp" -//Moved to dayz_equip -//#include "equip_brick.hpp" - -//Need adding to loot table - -//Epoch 1.0.7 -#include "equip_paintbucket.hpp" diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_1inch_metal_pipe.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_1inch_metal_pipe.hpp deleted file mode 100644 index f51522ba6..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_1inch_metal_pipe.hpp +++ /dev/null @@ -1,9 +0,0 @@ -class equip_1inch_metal_pipe : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_1inch_metal_pipe; - descriptionShort = $STR_ITEM_DESC_equip_1inch_metal_pipe; - model = "\z\addons\dayz_communityassets\models\1in_pipe.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_1inch_metal_pipe_ca.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_2inch_metal_pipe.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_2inch_metal_pipe.hpp deleted file mode 100644 index 8d318d118..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_2inch_metal_pipe.hpp +++ /dev/null @@ -1,9 +0,0 @@ -class equip_2inch_metal_pipe : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_2inch_metal_pipe; - descriptionShort = $STR_ITEM_DESC_equip_2inch_metal_pipe; - model = "\z\addons\dayz_communityassets\models\2in_pipe.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_2inch_metal_pipe.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_aa_battery.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_aa_battery.hpp deleted file mode 100644 index 4059c446d..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_aa_battery.hpp +++ /dev/null @@ -1,8 +0,0 @@ -class equip_aa_battery : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_aa_battery; - descriptionShort = $STR_ITEM_DESC_equip_aa_battery; - picture = "\z\addons\dayz_communityassets\pictures\equip_aa_battery_ca.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_cable_tie.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_cable_tie.hpp deleted file mode 100644 index 774a110b3..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_cable_tie.hpp +++ /dev/null @@ -1,8 +0,0 @@ -class equip_cable_tie : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_cable_tie; - descriptionShort = $STR_ITEM_DESC_equip_cable_tie; - picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_cable_tie.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_carbomb.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_carbomb.hpp deleted file mode 100644 index 699bde503..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_carbomb.hpp +++ /dev/null @@ -1,15 +0,0 @@ -class ItemCarBomb : CA_Magazine { - scope = public; - count = 1; - type = 256; - displayName = $STR_ITEM_NAME_equip_carbomb; - model = "\ca\weapons\explosive.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\carbomb.paa"; - descriptionShort = $STR_ITEM_DESC_equip_carbomb; - class ItemActions { - class Use { - text = $STR_ACTIONS_attach_carbomb; - script = "spawn player_attach_bomb;"; - }; - }; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_comfreyleafs.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_comfreyleafs.hpp deleted file mode 100644 index f17921aba..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_comfreyleafs.hpp +++ /dev/null @@ -1,9 +0,0 @@ -class equip_comfreyleafs : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_comfreyleafs; - descriptionShort = $STR_ITEM_DESC_equip_comfreyleafs; - model = "\z\addons\dayz_communityassets\models\comfrey.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_comfrey_CA.paa"; - type = 256; -}; diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_coni.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_coni.hpp deleted file mode 100644 index 425a75cb0..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_coni.hpp +++ /dev/null @@ -1,9 +0,0 @@ -class Item_coni : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_DESC_equip_con_i; - descriptionShort = $STR_ITEM_NAME_equip_con_i; - model = "z\addons\dayz_communityassets\models\connector_i.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_connector_i_ca.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_connector_I.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_connector_I.hpp deleted file mode 100644 index 01f9f5fd7..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_connector_I.hpp +++ /dev/null @@ -1,9 +0,0 @@ -class Item_Connector_I : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_DESC_equip_con_i; - descriptionShort = $STR_ITEM_NAME_equip_con_i; - model = "z\addons\dayz_communityassets\models\connector_I.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_connector_I_ca.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_connector_L.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_connector_L.hpp deleted file mode 100644 index e7053565e..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_connector_L.hpp +++ /dev/null @@ -1,9 +0,0 @@ -class Item_Connector_L : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_DESC_equip_con_l; - descriptionShort = $STR_ITEM_NAME_equip_con_l; - model = "z\addons\dayz_communityassets\models\connector_L.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_connector_L_ca.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_connector_T.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_connector_T.hpp deleted file mode 100644 index 4e3de11e9..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_connector_T.hpp +++ /dev/null @@ -1,9 +0,0 @@ -class Item_Connector_T : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_DESC_equip_con_t; - descriptionShort = $STR_ITEM_NAME_equip_con_t; - model = "z\addons\dayz_communityassets\models\connector_T.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_connector_T_ca.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_crate.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_crate.hpp deleted file mode 100644 index 25f705437..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_crate.hpp +++ /dev/null @@ -1,9 +0,0 @@ -class equip_crate : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_crate; - descriptionShort = $STR_ITEM_DESC_equip_crate; - model = "\z\addons\dayz_communityassets\models\crate.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_crate.paa"; - type = 256; -}; diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_crossbow_kit.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_crossbow_kit.hpp deleted file mode 100644 index c25d13cbc..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_crossbow_kit.hpp +++ /dev/null @@ -1,9 +0,0 @@ -class equip_Crossbow_Kit : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_CROSSBOW_KIT; - descriptionShort = $STR_ITEM_DESC_CROSSBOW_KIT; - model = "\z\addons\community_crossbow\models\Crossbow_kit.p3d"; - picture = "\z\addons\community_crossbow\textures\Crossbow_kit.paa"; - type = 256; -}; diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_crossbow_stock.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_crossbow_stock.hpp deleted file mode 100644 index 9f564e014..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_crossbow_stock.hpp +++ /dev/null @@ -1,9 +0,0 @@ -class equip_crossbow_stock : CA_Magazine { - scope = public; - count = 1; - displayName = "Crossbow (Stock)"; - descriptionShort="You require a Crossbow String kit to craft this weapon"; - model = "z\addons\community_crossbow\models\crossbow_stock.p3d"; - picture = "\z\addons\community_crossbow\icons\crossbow_stock.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_d_battery.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_d_battery.hpp deleted file mode 100644 index cb047d687..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_d_battery.hpp +++ /dev/null @@ -1,8 +0,0 @@ -class equip_d_battery : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_d_battery; - descriptionShort = $STR_ITEM_DESC_equip_d_battery; - picture = "\z\addons\dayz_communityassets\pictures\equip_d_battery_ca.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_duct_tape.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_duct_tape.hpp deleted file mode 100644 index b274b67d5..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_duct_tape.hpp +++ /dev/null @@ -1,9 +0,0 @@ -class equip_duct_tape : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_duct_tape; - descriptionShort = $STR_ITEM_DESC_equip_duct_tape; - model = "\z\addons\dayz_communityassets\models\duct_tape.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\tape.paa"; - type = 256; -}; diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_empty_barrel.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_empty_barrel.hpp deleted file mode 100644 index 8264a0ab7..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_empty_barrel.hpp +++ /dev/null @@ -1,8 +0,0 @@ -class equip_empty_barrel : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_empty_barrel; - descriptionShort = $STR_ITEM_DESC_equip_empty_barrel; - picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_empty_barrel.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_feathers.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_feathers.hpp deleted file mode 100644 index 03d50864d..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_feathers.hpp +++ /dev/null @@ -1,9 +0,0 @@ -class equip_feathers : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_feathers; - descriptionShort = $STR_ITEM_DESC_equip_feathers; - model = "\z\addons\dayz_communityassets\models\feather.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_feather_ca.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_floppywire.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_floppywire.hpp deleted file mode 100644 index e70bf511d..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_floppywire.hpp +++ /dev/null @@ -1,9 +0,0 @@ -class equip_floppywire : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_floppywire; - descriptionShort = $STR_ITEM_DESC_equip_floppywire; - model = "\z\addons\dayz_communityassets\models\floppywire.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_floppywire.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_garlic_bulb.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_garlic_bulb.hpp deleted file mode 100644 index 27d053133..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_garlic_bulb.hpp +++ /dev/null @@ -1,9 +0,0 @@ -class equip_garlic_bulb : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_garlic_bulb; - descriptionShort = $STR_ITEM_DESC_equip_garlic_bulb; - model = "\z\addons\dayz_communityassets\models\herb_garlic_bulb.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_garlic_bulb_ca.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_gauze.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_gauze.hpp deleted file mode 100644 index 5d14b0fc6..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_gauze.hpp +++ /dev/null @@ -1,10 +0,0 @@ -class equip_gauze : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_gauze; - descriptionShort = $STR_ITEM_DESC_equip_gauze; - model = "\z\addons\dayz_communityassets\models\gauze.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_gauze_ca.paa"; - type = 256; -}; - diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_gauzepackaged.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_gauzepackaged.hpp deleted file mode 100644 index e8c20352d..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_gauzepackaged.hpp +++ /dev/null @@ -1,10 +0,0 @@ -class equip_gauzepackaged : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_gauzepackaged; - descriptionShort = $STR_ITEM_DESC_equip_gauzepackaged; - model = "\z\addons\dayz_communityassets\models\gauze_package.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_gauze_package_ca.paa"; - type = 256; -}; - diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_herb_box.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_herb_box.hpp deleted file mode 100644 index ca242c80a..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_herb_box.hpp +++ /dev/null @@ -1,9 +0,0 @@ - -class equip_herb_box : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_EQUIP_NAME_HERBBOX; - descriptionShort = $STR_EQUIP_DESC_HERBBOX; - model = "\z\addons\dayz_communityassets\models\herb_box.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_herb_box_ca.paa"; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_hobo_fishing_kit.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_hobo_fishing_kit.hpp deleted file mode 100644 index 0e6085afb..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_hobo_fishing_kit.hpp +++ /dev/null @@ -1,9 +0,0 @@ -class equip_hobo_fishing_kit : CA_Magazine { - scope = public; - count = 1; - displayName = "Hobo Fishing Kit"; - descriptionShort = "Hobo Fishing Kit, catches dem fishes"; - model = "\z\addons\dayz_communityassets\models\hobofishingkit.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_hobofishingkit_ca.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_hose.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_hose.hpp deleted file mode 100644 index b4b9e5e40..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_hose.hpp +++ /dev/null @@ -1,9 +0,0 @@ -class equip_hose : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_hose; - descriptionShort = $STR_ITEM_DESC_equip_hose; - model = "\z\addons\dayz_communityassets\models\hose.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_hose.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_hose_clamp.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_hose_clamp.hpp deleted file mode 100644 index f3f685c69..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_hose_clamp.hpp +++ /dev/null @@ -1,9 +0,0 @@ -class equip_hose_clamp : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_hose_clamp; - descriptionShort = $STR_ITEM_DESC_equip_hose_clamp; - model = "\z\addons\dayz_communityassets\models\hose_clamp.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_hoseclamp_ca.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_laser.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_laser.hpp deleted file mode 100644 index 68720570c..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_laser.hpp +++ /dev/null @@ -1,8 +0,0 @@ -class equip_laser : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_laser; - descriptionShort = $STR_ITEM_DESC_equip_laser; - picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_laser.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_metal_rod.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_metal_rod.hpp deleted file mode 100644 index 056dfb084..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_metal_rod.hpp +++ /dev/null @@ -1,9 +0,0 @@ -class equip_metal_rod : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_metal_rod; - descriptionShort = $STR_ITEM_DESC_equip_metal_rod; - //model = "z\addons\dayz_communityassets\models\xxxx.p3d"; - //picture = "\z\addons\dayz_communityassets\pictures\xxxx.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_metal_sheet.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_metal_sheet.hpp deleted file mode 100644 index 1f25ce7b7..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_metal_sheet.hpp +++ /dev/null @@ -1,9 +0,0 @@ -class equip_metal_sheet : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_metal_sheet; - descriptionShort = $STR_ITEM_DESC_equip_metal_sheet; - model = "\z\addons\dayz_communityassets\models\metal_sheet_clean.p3d"; - picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_metal_sheet.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_metal_sheet_rusted.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_metal_sheet_rusted.hpp deleted file mode 100644 index 7ce8df3f2..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_metal_sheet_rusted.hpp +++ /dev/null @@ -1,9 +0,0 @@ -class equip_metal_sheet_rusted : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_metal_sheet_rusted; - descriptionShort = $STR_ITEM_DESC_equip_metal_sheet_rusted; - model = "\z\addons\dayz_communityassets\models\metal_sheet_rusted.p3d"; - picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_metal_sheet_rusted.paa"; - type = 256; -}; diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_nails.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_nails.hpp deleted file mode 100644 index 3732dd587..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_nails.hpp +++ /dev/null @@ -1,9 +0,0 @@ -class equip_nails : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_nails; - descriptionShort = $STR_ITEM_DESC_equip_nails; - model = "\z\addons\dayz_communityassets\models\nails.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_nails_ca.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_needle.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_needle.hpp deleted file mode 100644 index f7664e31d..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_needle.hpp +++ /dev/null @@ -1,8 +0,0 @@ -class equip_needle : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_needle; - descriptionShort = $STR_ITEM_DESC_equip_needle; - picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_needle.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_note.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_note.hpp deleted file mode 100644 index f845f293c..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_note.hpp +++ /dev/null @@ -1,8 +0,0 @@ -class equip_note : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_note; - descriptionShort = $STR_ITEM_DESC_equip_note; - picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_note.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_paint.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_paint.hpp deleted file mode 100644 index bdb103a66..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_paint.hpp +++ /dev/null @@ -1,8 +0,0 @@ -class equip_paint : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_paint; - descriptionShort = $STR_ITEM_DESC_equip_paint; - picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_paint.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_paper_sheet.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_paper_sheet.hpp deleted file mode 100644 index fe22b3cf8..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_paper_sheet.hpp +++ /dev/null @@ -1,8 +0,0 @@ -class equip_paper_sheet : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_paper_sheet; - descriptionShort = $STR_ITEM_DESC_equip_paper_sheet; - picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_paper_sheet.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_pvc_box.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_pvc_box.hpp deleted file mode 100644 index 07cb02030..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_pvc_box.hpp +++ /dev/null @@ -1,9 +0,0 @@ -class equip_pvc_box : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_pvc_box; - descriptionShort = $STR_ITEM_DESC_equip_pvc_box; - model = "\z\addons\dayz_communityassets\models\plastic_box.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_plastic_box_ca.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_rag.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_rag.hpp deleted file mode 100644 index 26f262af8..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_rag.hpp +++ /dev/null @@ -1,9 +0,0 @@ -class equip_rag : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_rag; - descriptionShort = $STR_ITEM_DESC_equip_rag; - model = "\z\addons\dayz_communityassets\models\rag_clean.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_rag_clean_ca.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_rail_screws.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_rail_screws.hpp deleted file mode 100644 index aaf85e11c..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_rail_screws.hpp +++ /dev/null @@ -1,8 +0,0 @@ -class equip_rail_screws : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_rail_screws; - descriptionShort = $STR_ITEM_DESC_equip_rail_screws; - picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_part_somegeneric.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_rope.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_rope.hpp deleted file mode 100644 index 38a3c9053..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_rope.hpp +++ /dev/null @@ -1,21 +0,0 @@ -class equip_rope : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_rope; - descriptionShort = $STR_ITEM_DESC_equip_rope; - model = "\z\addons\dayz_communityassets\models\rope.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_rope_ca.paa"; - type = 256; - class ItemActions - { - class Crafting - { - text = $STR_BLD_craft_equip_rope;//"String" - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {"ItemKnife"}; - output[] = {{"equip_string",2}}; - input[] = {{"equip_rope",1}}; - }; - }; -}; diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_scrapelectronics.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_scrapelectronics.hpp deleted file mode 100644 index 12835545e..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_scrapelectronics.hpp +++ /dev/null @@ -1,9 +0,0 @@ -class equip_scrapelectronics : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_scrapelectronics; - descriptionShort = $STR_ITEM_DESC_equip_scrapelectronics; - model = "\z\addons\dayz_communityassets\models\scrapelectronics.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\scrapelectronics.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_slugsinacan.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_slugsinacan.hpp deleted file mode 100644 index 2944ba579..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_slugsinacan.hpp +++ /dev/null @@ -1,10 +0,0 @@ -class equip_slugsinacan : CA_Magazine { - scope = public; - count = 1; - displayName = "Slugs in a can"; - descriptionShort = "Slugs in a can"; - model = "\z\addons\dayz_communityassets\models\slugsinacan.p3d"; - picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_sluginacan.paa"; - type = 256; -}; - diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_string.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_string.hpp deleted file mode 100644 index dce18a92d..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_string.hpp +++ /dev/null @@ -1,9 +0,0 @@ -class equip_string : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_string; - descriptionShort = $STR_ITEM_DESC_equip_string; - model = "\z\addons\dayz_communityassets\models\string.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_string_ca.paa"; - type = 256; -}; diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_tent_poles.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_tent_poles.hpp deleted file mode 100644 index 501ec9b6d..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_tent_poles.hpp +++ /dev/null @@ -1,9 +0,0 @@ -class equip_tent_poles : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_tent_poles; - descriptionShort = $STR_ITEM_DESC_equip_tent_poles; - model = "z\addons\dayz_communityassets\models\1m_pole_6.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_1m_pole_6_ca.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_tin_powder.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_tin_powder.hpp deleted file mode 100644 index acd6c016e..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_tin_powder.hpp +++ /dev/null @@ -1,9 +0,0 @@ -class equip_tin_powder : CA_Magazine { - scope = public; - count = 1; - displayName = "Tin of Powder"; - descriptionShort = "Tin of Powder has medicinal qualities"; - model = "\z\addons\dayz_communityassets\models\tin_powder.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_tin_powder_co.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_weapon_rails.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_weapon_rails.hpp deleted file mode 100644 index 7a0ecc8d4..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_weapon_rails.hpp +++ /dev/null @@ -1,8 +0,0 @@ -class equip_weapon_rails: CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_weapon_rails; - descriptionShort = $STR_ITEM_DESC_equip_weapon_rails; - picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_part_somegeneric.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_wood_pallet.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_wood_pallet.hpp deleted file mode 100644 index 9c7cab12c..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_wood_pallet.hpp +++ /dev/null @@ -1,9 +0,0 @@ -class equip_wood_pallet : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_equip_wood_pallet; - descriptionShort = $STR_ITEM_DESC_equip_wood_pallet; - model = "\z\addons\dayz_communityassets\models\wooden_pallet.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_wpallet_ca.paa"; - type = 256; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_woodensplint.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_woodensplint.hpp deleted file mode 100644 index 63bcc3115..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_woodensplint.hpp +++ /dev/null @@ -1,16 +0,0 @@ -class equip_woodensplint : CA_Magazine { - scope = public; - count = 1; - displayName = $STR_ITEM_NAME_WOODENSPLINT; - descriptionShort = $STR_ITEM_DESC_WOODENSPLINT; - model = "\z\addons\dayz_communityassets\models\woodensplint.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_woodensplint_ca.paa"; - type = 256; //WeaponSlotItem * 2 in vanilla - class ItemActions { - class Use { - text = $STR_ACTIONS_BRACE_LEG; - script = "spawn player_useMeds;"; - }; - }; -}; - diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Food.hpp b/SQF/dayz_code/Configs/CfgMagazines/DZE/Food.hpp deleted file mode 100644 index 88c365f80..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/DZE/Food.hpp +++ /dev/null @@ -1,47 +0,0 @@ -class FoodBioMeat: FoodEdible { - scope = public; - displayName = $STR_FOOD_NAME_BIOMEAT; - model = "\z\addons\dayz_epoch\models\biomeat_can.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_biomeat_CA.paa"; - descriptionShort = $STR_FOOD_NAME_BIOMEAT_DESC; - bloodRegen = 1600; - infectionChance = 0.4; -}; -// new DZE harvested food -class FoodPumpkin : FoodEdible { - scope = public; - count = 1; - bloodRegen = 100; - displayName = $STR_FOOD_NAME_PUMPKIN; - descriptionShort = $STR_FOOD_NAME_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 ItemActions - { - class Consume - { - text = $STR_EAT_FOOD; - script = "spawn player_consume"; - }; - class Crafting - { - text = $STR_FOOD_NAME_PUMPKIN_CRAFT; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {""}; - requiretools[] = {"ItemKnife"}; - output[] = {{"ItemPumpkinSeed",5}}; - input[] = {{"FoodPumpkin",1}}; - }; - }; -}; -class FoodSunFlowerSeed : FoodEdible { - scope = public; - count = 1; - bloodRegen = 100; - displayName = $STR_FOOD_NAME_SUNFLOWER; - descriptionShort = $STR_FOOD_NAME_SUNFLOWER; - weight = 0.1; - model = "z\addons\dayz_communityassets\models\pistachio.p3d"; // TODO: model + icon - picture = "\z\addons\dayz_communityassets\pictures\equip_pistachios_CA.paa"; -}; diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/ItemSoda.hpp b/SQF/dayz_code/Configs/CfgMagazines/DZE/ItemSoda.hpp deleted file mode 100644 index 9a36a900c..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/DZE/ItemSoda.hpp +++ /dev/null @@ -1,12 +0,0 @@ -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 deleted file mode 100644 index cd9d1eddd..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/DZE/ItemWaterbottle.hpp +++ /dev/null @@ -1,529 +0,0 @@ -class ItemWaterbottle1oz : ItemWaterbottle { - displayName = $STR_EPOCH_WATERBOTTLE1OZ; - descriptionShort = $STR_EPOCH_WATERBOTTLE1OZ_DESC; - picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_1oz_ca.paa"; - wateroz = 1; - containerWater = "ItemWaterBottle"; - containerWaterSafe = "ItemWaterBottleSafe"; - containerWaterInfected = "ItemWaterBottleInfected"; - Nutrition[] = {0,0,100,0}; - infectionChance = 0.03; - consumeOutput = "ItemWaterBottleUnfilled"; - containerEmpty = "ItemWaterBottleUnfilled"; - class ItemActions { - class Consume - { - text = $STR_ACTIONS_DRINK2; - script = "spawn player_consume"; - }; - class Empty - { - text = $STR_EQUIP_NAME_13_EMPTY; - script = "spawn player_emptyContainer"; - }; - class Fill { - text = "$STR_ACTIONS_FILL_W"; - script = "spawn player_fillWater;"; - }; - }; -}; -class ItemWaterbottle2oz : ItemWaterbottle { - displayName = $STR_EPOCH_WATERBOTTLE2OZ; - descriptionShort = $STR_EPOCH_WATERBOTTLE2OZ_DESC; - picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_2oz_ca.paa"; - wateroz = 2; - containerWater = "ItemWaterBottle"; - containerWaterSafe = "ItemWaterBottleSafe"; - containerWaterInfected = "ItemWaterBottleInfected"; - Nutrition[] = {0,0,200,0}; - infectionChance = 0.06; - consumeOutput = "ItemWaterBottleUnfilled"; - containerEmpty = "ItemWaterBottleUnfilled"; - class ItemActions { - class Consume - { - text = $STR_ACTIONS_DRINK2; - script = "spawn player_consume"; - }; - class Empty - { - text = $STR_EQUIP_NAME_13_EMPTY; - script = "spawn player_emptyContainer"; - }; - class Fill { - text = "$STR_ACTIONS_FILL_W"; - script = "spawn player_fillWater;"; - }; - }; - -}; -class ItemWaterbottle3oz : ItemWaterbottle { - displayName = $STR_EPOCH_WATERBOTTLE3OZ; - descriptionShort = $STR_EPOCH_WATERBOTTLE3OZ_DESC; - picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_3oz_ca.paa"; - wateroz = 3; - containerWater = "ItemWaterBottle"; - containerWaterSafe = "ItemWaterBottleSafe"; - containerWaterInfected = "ItemWaterBottleInfected"; - Nutrition[] = {0,0,300,0}; - infectionChance = 0.09; - consumeOutput = "ItemWaterBottleUnfilled"; - containerEmpty = "ItemWaterBottleUnfilled"; - class ItemActions { - class Consume - { - text = $STR_ACTIONS_DRINK2; - script = "spawn player_consume"; - }; - class Empty - { - text = $STR_EQUIP_NAME_13_EMPTY; - script = "spawn player_emptyContainer"; - }; - class Fill { - text = "$STR_ACTIONS_FILL_W"; - script = "spawn player_fillWater;"; - }; - }; - -}; -class ItemWaterbottle4oz : ItemWaterbottle { - displayName = $STR_EPOCH_WATERBOTTLE4OZ; - descriptionShort = $STR_EPOCH_WATERBOTTLE4OZ_DESC; - picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_4oz_ca.paa"; - wateroz = 4; - containerWater = "ItemWaterBottle"; - containerWaterSafe = "ItemWaterBottleSafe"; - containerWaterInfected = "ItemWaterBottleInfected"; - Nutrition[] = {0,0,400,0}; - infectionChance = 0.12; - consumeOutput = "ItemWaterBottleUnfilled"; - containerEmpty = "ItemWaterBottleUnfilled"; - class ItemActions { - class Consume - { - text = $STR_ACTIONS_DRINK2; - script = "spawn player_consume"; - }; - class Empty - { - text = $STR_EQUIP_NAME_13_EMPTY; - script = "spawn player_emptyContainer"; - }; - class Fill { - text = "$STR_ACTIONS_FILL_W"; - script = "spawn player_fillWater;"; - }; - }; - -}; -class ItemWaterbottle5oz : ItemWaterbottle { - displayName = $STR_EPOCH_WATERBOTTLE5OZ; - descriptionShort = $STR_EPOCH_WATERBOTTLE5OZ_DESC; - picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_5oz_ca.paa"; - wateroz = 5; - containerWater = "ItemWaterBottle"; - containerWaterSafe = "ItemWaterBottleSafe"; - containerWaterInfected = "ItemWaterBottleInfected"; - Nutrition[] = {0,0,500,0}; - infectionChance = 0.15; - consumeOutput = "ItemWaterBottleUnfilled"; - containerEmpty = "ItemWaterBottleUnfilled"; - class ItemActions { - class Consume - { - text = $STR_ACTIONS_DRINK2; - script = "spawn player_consume"; - }; - class Empty - { - text = $STR_EQUIP_NAME_13_EMPTY; - script = "spawn player_emptyContainer"; - }; - class Fill { - text = "$STR_ACTIONS_FILL_W"; - script = "spawn player_fillWater;"; - }; - }; - -}; -class ItemWaterbottle6oz : ItemWaterbottle { - displayName = $STR_EPOCH_WATERBOTTLE6OZ; - descriptionShort = $STR_EPOCH_WATERBOTTLE6OZ_DESC; - picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_6oz_ca.paa"; - wateroz = 6; - containerWater = "ItemWaterBottle"; - containerWaterSafe = "ItemWaterBottleSafe"; - containerWaterInfected = "ItemWaterBottleInfected"; - Nutrition[] = {0,0,600,0}; - infectionChance = 0.18; - consumeOutput = "ItemWaterBottleUnfilled"; - containerEmpty = "ItemWaterBottleUnfilled"; - class ItemActions { - class Consume - { - text = $STR_ACTIONS_DRINK2; - script = "spawn player_consume"; - }; - class Empty - { - text = $STR_EQUIP_NAME_13_EMPTY; - script = "spawn player_emptyContainer"; - }; - class Fill { - text = "$STR_ACTIONS_FILL_W"; - script = "spawn player_fillWater;"; - }; - }; - -}; -class ItemWaterbottle7oz : ItemWaterbottle { - displayName = $STR_EPOCH_WATERBOTTLE7OZ; - descriptionShort = $STR_EPOCH_WATERBOTTLE7OZ_DESC; - picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_7oz_ca.paa"; - wateroz = 7; - containerWater = "ItemWaterBottle"; - containerWaterSafe = "ItemWaterBottleSafe"; - containerWaterInfected = "ItemWaterBottleInfected"; - Nutrition[] = {0,0,700,0}; - infectionChance = 0.21; - consumeOutput = "ItemWaterBottleUnfilled"; - containerEmpty = "ItemWaterBottleUnfilled"; - class ItemActions { - class Consume - { - text = $STR_ACTIONS_DRINK2; - script = "spawn player_consume"; - }; - class Empty - { - text = $STR_EQUIP_NAME_13_EMPTY; - script = "spawn player_emptyContainer"; - }; - class Fill { - text = "$STR_ACTIONS_FILL_W"; - script = "spawn player_fillWater;"; - }; - }; -}; -class ItemWaterbottle8oz : ItemWaterbottle { - displayName = $STR_EPOCH_WATERBOTTLE8OZ; - descriptionShort = $STR_EPOCH_WATERBOTTLE8OZ_DESC; - picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_8oz_ca.paa"; - wateroz = 8; - containerWater = "ItemWaterBottle"; - containerWaterSafe = "ItemWaterBottleSafe"; - containerWaterInfected = "ItemWaterBottleInfected"; - Nutrition[] = {0,0,800,0}; - infectionChance = 0.24; - consumeOutput = "ItemWaterBottleUnfilled"; - containerEmpty = "ItemWaterBottleUnfilled"; - class ItemActions { - class Consume - { - text = $STR_ACTIONS_DRINK2; - script = "spawn player_consume"; - }; - class Empty - { - text = $STR_EQUIP_NAME_13_EMPTY; - script = "spawn player_emptyContainer"; - }; - class Fill { - text = "$STR_ACTIONS_FILL_W"; - script = "spawn player_fillWater;"; - }; - }; - -}; -class ItemWaterbottle9oz : ItemWaterbottle { - displayName = $STR_EPOCH_WATERBOTTLE9OZ; - descriptionShort = $STR_EPOCH_WATERBOTTLE9OZ_DESC; - picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_9oz_ca.paa"; - wateroz = 9; - containerWater = "ItemWaterBottle"; - containerWaterSafe = "ItemWaterBottleSafe"; - containerWaterInfected = "ItemWaterBottleInfected"; - Nutrition[] = {0,0,900,0}; - infectionChance = 0.27; - consumeOutput = "ItemWaterBottleUnfilled"; - containerEmpty = "ItemWaterBottleUnfilled"; - class ItemActions { - class Consume - { - text = $STR_ACTIONS_DRINK2; - script = "spawn player_consume"; - }; - class Empty - { - text = $STR_EQUIP_NAME_13_EMPTY; - script = "spawn player_emptyContainer"; - }; - class Fill { - text = "$STR_ACTIONS_FILL_W"; - script = "spawn player_fillWater;"; - }; - }; -}; -//inherit from ItemWaterbottle because that's how the crafting script checks required input -class ItemWaterbottle1ozBoiled : ItemWaterbottle { - displayName = $STR_EPOCH_WATERBOTTLE1OZBOILED; - descriptionShort = $STR_EPOCH_WATERBOTTLE1OZBOILED_DESC; - infectionChance = 0; - picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_1oz_ca.paa"; - wateroz = 1; - containerWater = "ItemWaterBottle"; - containerWaterSafe = "ItemWaterBottleSafe"; - containerWaterInfected = "ItemWaterBottleInfected"; - Nutrition[] = {0,0,100,0}; - consumeOutput = "ItemWaterBottleUnfilled"; - containerEmpty = "ItemWaterBottleUnfilled"; - class ItemActions { - class Consume - { - text = $STR_ACTIONS_DRINK2; - script = "spawn player_consume"; - }; - class Empty - { - text = $STR_EQUIP_NAME_13_EMPTY; - script = "spawn player_emptyContainer"; - }; - class Fill { - text = "$STR_ACTIONS_FILL_W"; - script = "spawn player_fillWater;"; - }; - }; -}; -class ItemWaterbottle2ozBoiled : ItemWaterbottle { - displayName = $STR_EPOCH_WATERBOTTLE2OZBOILED; - descriptionShort = $STR_EPOCH_WATERBOTTLE2OZBOILED_DESC; - infectionChance = 0; - picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_2oz_ca.paa"; - wateroz = 2; - containerWater = "ItemWaterBottle"; - containerWaterSafe = "ItemWaterBottleSafe"; - containerWaterInfected = "ItemWaterBottleInfected"; - Nutrition[] = {0,0,200,0}; - consumeOutput = "ItemWaterBottleUnfilled"; - containerEmpty = "ItemWaterBottleUnfilled"; - class ItemActions { - class Consume - { - text = $STR_ACTIONS_DRINK2; - script = "spawn player_consume"; - }; - class Empty - { - text = $STR_EQUIP_NAME_13_EMPTY; - script = "spawn player_emptyContainer"; - }; - class Fill { - text = "$STR_ACTIONS_FILL_W"; - script = "spawn player_fillWater;"; - }; - }; -}; -class ItemWaterbottle3ozBoiled : ItemWaterbottle { - displayName = $STR_EPOCH_WATERBOTTLE3OZBOILED; - descriptionShort = $STR_EPOCH_WATERBOTTLE3OZBOILED_DESC; - infectionChance = 0; - picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_3oz_ca.paa"; - wateroz = 3; - containerWater = "ItemWaterBottle"; - containerWaterSafe = "ItemWaterBottleSafe"; - containerWaterInfected = "ItemWaterBottleInfected"; - Nutrition[] = {0,0,300,0}; - consumeOutput = "ItemWaterBottleUnfilled"; - containerEmpty = "ItemWaterBottleUnfilled"; - class ItemActions { - class Consume - { - text = $STR_ACTIONS_DRINK2; - script = "spawn player_consume"; - }; - class Empty - { - text = $STR_EQUIP_NAME_13_EMPTY; - script = "spawn player_emptyContainer"; - }; - class Fill { - text = "$STR_ACTIONS_FILL_W"; - script = "spawn player_fillWater;"; - }; - }; -}; -class ItemWaterbottle4ozBoiled : ItemWaterbottle { - displayName = $STR_EPOCH_WATERBOTTLE4OZBOILED; - descriptionShort = $STR_EPOCH_WATERBOTTLE4OZBOILED_DESC; - infectionChance = 0; - picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_4oz_ca.paa"; - wateroz = 4; - containerWater = "ItemWaterBottle"; - containerWaterSafe = "ItemWaterBottleSafe"; - containerWaterInfected = "ItemWaterBottleInfected"; - Nutrition[] = {0,0,400,0}; - consumeOutput = "ItemWaterBottleUnfilled"; - containerEmpty = "ItemWaterBottleUnfilled"; - class ItemActions { - class Consume - { - text = $STR_ACTIONS_DRINK2; - script = "spawn player_consume"; - }; - class Empty - { - text = $STR_EQUIP_NAME_13_EMPTY; - script = "spawn player_emptyContainer"; - }; - class Fill { - text = "$STR_ACTIONS_FILL_W"; - script = "spawn player_fillWater;"; - }; - }; -}; -class ItemWaterbottle5ozBoiled : ItemWaterbottle { - displayName = $STR_EPOCH_WATERBOTTLE5OZBOILED; - descriptionShort = $STR_EPOCH_WATERBOTTLE5OZBOILED_DESC; - infectionChance = 0; - picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_5oz_ca.paa"; - wateroz = 5; - containerWater = "ItemWaterBottle"; - containerWaterSafe = "ItemWaterBottleSafe"; - containerWaterInfected = "ItemWaterBottleInfected"; - Nutrition[] = {0,0,500,0}; - consumeOutput = "ItemWaterBottleUnfilled"; - containerEmpty = "ItemWaterBottleUnfilled"; - class ItemActions { - class Consume - { - text = $STR_ACTIONS_DRINK2; - script = "spawn player_consume"; - }; - class Empty - { - text = $STR_EQUIP_NAME_13_EMPTY; - script = "spawn player_emptyContainer"; - }; - class Fill { - text = "$STR_ACTIONS_FILL_W"; - script = "spawn player_fillWater;"; - }; - }; -}; -class ItemWaterbottle6ozBoiled : ItemWaterbottle { - displayName = $STR_EPOCH_WATERBOTTLE6OZBOILED; - descriptionShort = $STR_EPOCH_WATERBOTTLE6OZBOILED_DESC; - infectionChance = 0; - picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_6oz_ca.paa"; - wateroz = 6; - containerWater = "ItemWaterBottle"; - containerWaterSafe = "ItemWaterBottleSafe"; - containerWaterInfected = "ItemWaterBottleInfected"; - Nutrition[] = {0,0,600,0}; - consumeOutput = "ItemWaterBottleUnfilled"; - containerEmpty = "ItemWaterBottleUnfilled"; - class ItemActions { - class Consume - { - text = $STR_ACTIONS_DRINK2; - script = "spawn player_consume"; - }; - class Empty - { - text = $STR_EQUIP_NAME_13_EMPTY; - script = "spawn player_emptyContainer"; - }; - class Fill { - text = "$STR_ACTIONS_FILL_W"; - script = "spawn player_fillWater;"; - }; - }; -}; -class ItemWaterbottle7ozBoiled : ItemWaterbottle { - displayName = $STR_EPOCH_WATERBOTTLE7OZBOILED; - descriptionShort = $STR_EPOCH_WATERBOTTLE7OZBOILED_DESC; - infectionChance = 0; - picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_7oz_ca.paa"; - wateroz = 7; - containerWater = "ItemWaterBottle"; - containerWaterSafe = "ItemWaterBottleSafe"; - containerWaterInfected = "ItemWaterBottleInfected"; - Nutrition[] = {0,0,700,0}; - consumeOutput = "ItemWaterBottleUnfilled"; - containerEmpty = "ItemWaterBottleUnfilled"; - class ItemActions { - class Consume - { - text = $STR_ACTIONS_DRINK2; - script = "spawn player_consume"; - }; - class Empty - { - text = $STR_EQUIP_NAME_13_EMPTY; - script = "spawn player_emptyContainer"; - }; - class Fill { - text = "$STR_ACTIONS_FILL_W"; - script = "spawn player_fillWater;"; - }; - }; -}; -class ItemWaterbottle8ozBoiled : ItemWaterbottle { - displayName = $STR_EPOCH_WATERBOTTLE8OZBOILED; - descriptionShort = $STR_EPOCH_WATERBOTTLE8OZBOILED_DESC; - infectionChance = 0; - picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_8oz_ca.paa"; - wateroz = 8; - containerWater = "ItemWaterBottle"; - containerWaterSafe = "ItemWaterBottleSafe"; - containerWaterInfected = "ItemWaterBottleInfected"; - Nutrition[] = {0,0,800,0}; - consumeOutput = "ItemWaterBottleUnfilled"; - containerEmpty = "ItemWaterBottleUnfilled"; - class ItemActions { - class Consume - { - text = $STR_ACTIONS_DRINK2; - script = "spawn player_consume"; - }; - class Empty - { - text = $STR_EQUIP_NAME_13_EMPTY; - script = "spawn player_emptyContainer"; - }; - class Fill { - text = "$STR_ACTIONS_FILL_W"; - script = "spawn player_fillWater;"; - }; - }; -}; -class ItemWaterbottle9ozBoiled : ItemWaterbottle { - displayName = $STR_EPOCH_WATERBOTTLE9OZBOILED; - descriptionShort = $STR_EPOCH_WATERBOTTLE9OZBOILED_DESC; - infectionChance = 0; - picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle_9oz_ca.paa"; - wateroz = 9; - containerWater = "ItemWaterBottle"; - containerWaterSafe = "ItemWaterBottleSafe"; - containerWaterInfected = "ItemWaterBottleInfected"; - Nutrition[] = {0,0,900,0}; - consumeOutput = "ItemWaterBottleUnfilled"; - containerEmpty = "ItemWaterBottleUnfilled"; - class ItemActions { - class Consume - { - text = $STR_ACTIONS_DRINK2; - script = "spawn player_consume"; - }; - class Empty - { - text = $STR_EQUIP_NAME_13_EMPTY; - script = "spawn player_emptyContainer"; - }; - class Fill { - text = "$STR_ACTIONS_FILL_W"; - script = "spawn player_fillWater;"; - }; - }; -}; diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Misc.hpp b/SQF/dayz_code/Configs/CfgMagazines/DZE/Misc.hpp deleted file mode 100644 index d520c7f34..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/DZE/Misc.hpp +++ /dev/null @@ -1,1263 +0,0 @@ -class ItemCanvas: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_CANVAS; - model = "\z\addons\dayz_epoch\models\canvas.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_canvas_ca.paa"; - descriptionShort = $STR_EPOCH_CANVAS_DESC; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_190; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox","ItemKnife"}; - output[] = {{"ItemTent",1}}; - input[] = {{"ItemCanvas",2},{"equip_tent_poles",2}}; - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_191; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox","ItemKnife"}; - output[] = {{"ItemDesertTent",1}}; - input[] = {{"ItemCanvas",3},{"equip_tent_poles",2}}; - }; - class Crafting2 - { - text = $STR_EPOCH_PLAYER_192; - script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox","ItemKnife"}; - output[] = {{"ItemDomeTent",1}}; - input[] = {{"ItemCanvas",3},{"equip_tent_poles",2}}; - }; - class Crafting3 - { - text = $STR_EPOCH_PLAYER_193; - script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox","ItemKnife"}; - output[] = {{"sun_shade_kit",1}}; - input[] = {{"ItemCanvas",1},{"PartWoodLumber",4}}; - }; - class Crafting4 - { - text = $STR_EPOCH_PLAYER_194; - script = ";['Crafting4','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox","ItemKnife"}; - output[] = {{"ItemBurlap",1}}; - input[] = {{"ItemCanvas",2}}; - }; - }; -}; -class ItemBurlap: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_BURLAP; - model = "\z\addons\dayz_epoch\models\burlap.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_burlap_ca.paa"; - descriptionShort = $STR_EPOCH_BURLAP_DESC; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_195; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"sand"}; // todo add sand requirement - requiretools[] = {"ItemEtool","ItemToolbox"}; - output[] = {{"ItemSandbag",1}}; - input[] = {{"ItemBurlap",3}}; - }; - }; -}; -class ItemLightBulb: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_LIGHTBULB; - model = "\z\addons\dayz_epoch\models\bulb.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_bulb_CA.paa"; - descriptionShort = $STR_EPOCH_LIGHTBULB_DESC; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_196; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemEtool","ItemToolbox"}; - output[] = {{"light_pole_kit",1}}; - input[] = {{"ItemLightBulb",1},{"PartGeneric",1},{"PartWoodLumber",6}}; - }; - }; -}; - - - -class ItemZombieParts: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_ZOMBIEPARTS; - model = "\z\addons\dayz_epoch\models\zombie_parts_bag_v2.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_zparts_CA.paa"; - descriptionShort = $STR_EPOCH_ZOMBIEPARTS_DESC; -}; - -class ItemComboLock: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_COMBINATIONLOCK; - weight = 0.5; - model = "\z\addons\dayz_epoch\models\combo_lock_mag.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_combolock_ca.paa"; - descriptionShort = $STR_EPOCH_COMBINATIONLOCK_DESC; -}; - -class ItemCorrugated : CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_CORRUGATEDFENCE; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - descriptionShort = $STR_EPOCH_CORRUGATEDFENCE_DESC; - class ItemActions - { - class Build { - text = $STR_EPOCH_PLAYER_214; - script = "spawn player_build;"; - require[] = {"ItemEtool","ItemToolbox"}; - create = "Fence_corrugated_DZ"; - }; - class Crafting - { - text = $STR_EPOCH_PLAYER_215; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox","ItemCrowbar"}; - output[] = {{"wooden_shed_kit",1}}; - input[] = {{"ItemCorrugated",2},{"PartWoodPlywood",4},{"PartWoodLumber",4}}; - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_217; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox","ItemCrowbar"}; - output[] = {{"outhouse_kit",1}}; - input[] = {{"ItemCorrugated",1},{"PartWoodPlywood",3},{"PartWoodLumber",3},{"ItemTrashToiletpaper",1}}; - }; - class Crafting2 - { - text = $STR_EPOCH_PLAYER_216; - script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox","ItemCrowbar"}; - output[] = {{"storage_shed_kit",1}}; - input[] = {{"ItemCorrugated",4},{"PartWoodPlywood",2},{"PartWoodLumber",2}}; - }; - }; -}; -class ItemPole: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_METALPOLE; - model = "\z\addons\dayz_epoch\models\pipe.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_pipe_CA.paa"; - descriptionShort = $STR_EPOCH_METALPOLE_DESC; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_218; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"fire"}; - requiretools[] = {"ItemToolbox","ItemCrowbar"}; - output[] = {{"ItemCorrugated",1}}; - input[] = {{"ItemPole",2},{"ItemTankTrap",2},{"PartWoodLumber",2}}; - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_219; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox","ItemCrowbar"}; - output[] = {{"rusty_gate_kit",1}}; - input[] = {{"ItemPole",3},{"ItemTankTrap",1}}; - }; - class Crafting2 - { - text = $STR_EPOCH_PLAYER_220; - script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox","ItemCrowbar"}; - output[] = {{"metal_panel_kit",1}}; - input[] = {{"ItemPole",4},{"ItemTankTrap",4}}; - }; - class Crafting3 - { - text = $STR_EPOCH_PLAYER_305; - script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox","ItemCrowbar"}; - output[] = {{"ItemScaffoldingKit",1}}; - input[] = {{"ItemPole",4},{"ItemTankTrap",2},{"PartWoodLumber",4}}; - }; - }; -}; -class ItemGunRackKit: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_GUNRACKKIT; - descriptionShort = $STR_EPOCH_GUNRACKKIT_DESC; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - weight = 20; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemToolbox"}; - create = "GunRack_DZ"; - }; - }; -}; -class ItemWoodCrateKit: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_WOODCRATE; - descriptionShort = $STR_EPOCH_WOODCRATE_DESC; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - weight = 20; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemToolbox"}; - create = "WoodCrate_DZ"; - }; - }; -}; -class ItemOilBarrel: CA_Magazine -{ - scope = public; - count = 1; - // fuelQuantity = 210; - type = 256; - displayName = $STR_EPOCH_OILBARREL; - model = "\z\addons\dayz_epoch\models\oil_drum_model.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_oil_drum_model_ca.paa"; - descriptionShort = $STR_EPOCH_OILBARREL_DESC; - containerEmpty = "ItemOilBarrelEmpty"; - - class ItemActions { - class Empty { - text = $STR_EQUIP_NAME_13_EMPTY; - script = "spawn player_emptyContainer"; - }; - }; -}; -class ItemFuelBarrel: CA_Magazine -{ - scope = public; - count = 1; - fuelQuantity = 210; - type = 256; - displayName = $STR_EPOCH_FUELBARREL; - model = "\z\addons\dayz_epoch\models\oil_drum_model.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_oil_drum_model_ca.paa"; - descriptionShort = $STR_EPOCH_FUELBARREL_DESC; - fireIntensity = 6; //used for tent burning - containerEmpty = "ItemFuelBarrelEmpty"; - - class ItemActions { - class Empty { - text = $STR_EQUIP_NAME_13_EMPTY; - script = "spawn player_emptyContainer"; - }; - }; -}; -class ItemFuelBarrelEmpty: ItemFuelBarrel -{ - scope = public; - count = 1; - fuelQuantity = 0; - type = 256; - displayName = $STR_EPOCH_EMPTYFUELBARREL; - picture = "\z\addons\dayz_epoch\pictures\equip_oildrum_e_CA.paa"; - descriptionShort = $STR_EPOCH_EMPTYFUELBARREL_DESC; - fullcan = "ItemFuelBarrel"; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_276; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {"ItemToolbox","ItemMatchbox"}; - output[] = {{"ItemFireBarrel_kit",1}}; - input[] = {{"ItemFuelBarrelEmpty",1},{"ItemJerryCan",1},{"PartWoodPile",4}}; - }; - }; -}; -class ItemFireBarrel_kit: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_FIREBARRELKIT; - descriptionShort = $STR_EPOCH_FIREBARRELKIT_DESC; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - weight = 45; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemToolbox"}; - create = "FireBarrel_DZ"; - }; - }; -}; -class workbench_kit: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_WORKBENCH; - descriptionShort = $STR_EPOCH_WORKBENCH_DESC; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - weight = 10; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemToolbox"}; - create = "WorkBench_DZ"; - }; - }; -}; - -// BUILDING KITS -class wood_ramp_kit: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_WOODRAMP; - descriptionShort = $STR_EPOCH_WOODENRAMP_DESC; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemEtool","ItemToolbox"}; - create = "WoodRamp_DZ"; - }; - }; -}; -class plot_pole_kit: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_PLAYER_246; - descriptionShort = $STR_EPOCH_PLOT_DESC; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemEtool","ItemToolbox"}; - create = "Plastic_Pole_EP1_DZ"; - }; - }; -}; - -class metal_panel_kit: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_METALPANEL; - descriptionShort = $STR_EPOCH_METALPANEL_DESC; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - weight = 50; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemEtool","ItemToolbox"}; - create = "MetalPanel_DZ"; - }; - class Crafting - { - text = $STR_EPOCH_PLAYER_228; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop","fire"}; - requiretools[] = {"ItemToolbox","ItemCrowbar","ItemSledge"}; - output[] = {{"metal_floor_kit",1}}; - input[] = {{"metal_panel_kit",4}}; - }; - }; -}; -class deer_stand_kit: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_DEERSTAND; - descriptionShort = $STR_EPOCH_DEERSTAND_DESC; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - weight = 25; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemEtool","ItemToolbox"}; - create = "DeerStand_DZ"; - }; - }; -}; -class desert_large_net_kit: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_LARGEDESERTCAMONET; - descriptionShort = $STR_EPOCH_LARGECAMONET_DESC; - model = "\z\addons\dayz_communityassets\models\packed_net_green.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_packed_net_green_ca.paa"; - weight = 25; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemEtool","ItemToolbox"}; - create = "DesertLargeCamoNet_DZ"; - }; - }; -}; -class forest_large_net_kit: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_LARGEFORESTCAMONET; - descriptionShort = $STR_EPOCH_LARGECAMONET_DESC; - model = "\z\addons\dayz_communityassets\models\packed_net_green.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_packed_net_green_ca.paa"; - weight = 25; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemEtool","ItemToolbox"}; - create = "ForestLargeCamoNet_DZ"; - }; - }; -}; -class desert_net_kit: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_DESERTCAMONET; - descriptionShort = $STR_EPOCH_CAMONET_DESC; - model = "\z\addons\dayz_communityassets\models\packed_net_green.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_packed_net_green_ca.paa"; - weight = 25; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemEtool","ItemToolbox"}; - create = "DesertCamoNet_DZ"; - }; - class Crafting - { - text = $STR_EPOCH_PLAYER_229; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox","ItemKnife"}; - output[] = {{"desert_large_net_kit",1}}; - input[] = {{"desert_net_kit",3}}; - }; - }; -}; -class forest_net_kit: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_FORESTCAMONET; - descriptionShort = $STR_EPOCH_CAMONET_DESC; - model = "\z\addons\dayz_communityassets\models\packed_net_green.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_packed_net_green_ca.paa"; - weight = 25; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemEtool","ItemToolbox"}; - create = "ForestCamoNet_DZ"; - }; - class Crafting - { - text = $STR_EPOCH_PLAYER_229; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox","ItemKnife"}; - output[] = {{"forest_large_net_kit",1}}; - input[] = {{"forest_net_kit",3}}; - }; - }; -}; -class fuel_pump_kit: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_FUELPUMP; - descriptionShort = $STR_EPOCH_FUELPUMP; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - weight = 50; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemEtool","ItemToolbox"}; - create = "FuelPump_DZ"; - }; - }; -}; -class light_pole_kit: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_LIGHTPOLE; - descriptionShort = $STR_EPOCH_LIGHTPOLE_DESC; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - weight = 25; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemEtool","ItemToolbox"}; - create = "LightPole_DZ"; - }; - }; -}; -class stick_fence_kit: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_STICKFENCE; - descriptionShort = $STR_EPOCH_STICKFENCE_DESC; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - weight = 15; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemEtool","ItemToolbox"}; - create = "StickFence_DZ"; - }; - }; -}; -class wooden_shed_kit: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_NICEWOODSHED; - descriptionShort = $STR_EPOCH_NICEWOODSHED_DESC; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - weight = 25; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemEtool","ItemToolbox"}; - create = "Wooden_shed_DZ"; - }; - }; -}; -class wood_shack_kit: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_WOODSHACK; - descriptionShort = $STR_EPOCH_WOODSHACK; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - weight = 25; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemEtool","ItemToolbox"}; - create = "WoodShack_DZ"; - }; - }; -}; -class m240_nest_kit: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_M240NEST; - descriptionShort = $STR_EPOCH_M240NEST; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - weight = 125; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemEtool","ItemToolbox"}; - create = "M240Nest_DZ"; - }; - }; -}; -class sun_shade_kit: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_CANVASSUNSHADE; - descriptionShort = $STR_EPOCH_CANVASSUNSHADE_DESC; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - weight = 25; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemEtool","ItemToolbox"}; - create = "CanvasHut_DZ"; - }; - }; -}; -class park_bench_kit: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_WOODBENCH; - descriptionShort = $STR_EPOCH_WOODBENCH; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - weight = 25; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemEtool","ItemToolbox"}; - create = "ParkBench_DZ"; - }; - }; -}; -class rusty_gate_kit: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_RUSTYGATE; - descriptionShort = $STR_EPOCH_RUSTYGATE_DESC; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - weight = 25; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemEtool","ItemToolbox"}; - create = "MetalGate_DZ"; - }; - }; -}; -class outhouse_kit: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_OUTHOUSE; - descriptionShort = $STR_EPOCH_OUTHOUSE_DESC; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - weight = 25; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemEtool","ItemToolbox"}; - create = "OutHouse_DZ"; - }; - }; -}; -class storage_shed_kit: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_STORAGESHED; - descriptionShort = $STR_EPOCH_STORAGESHED_DESC; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - weight = 75; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemEtool","ItemToolbox"}; - create = "StorageShed_DZ"; - }; - }; -}; - -class ItemScaffoldingKit: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_SCAFFOLDING; - descriptionShort = $STR_EPOCH_SCAFFOLDING; - model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; - weight = 80; - class ItemActions - { - class Build - { - text = $STR_ACTIONS_BUILD; - script = "spawn player_build;"; - require[] = {"ItemEtool","ItemToolbox"}; - create = "Scaffolding_DZ"; - }; - }; -}; -// Custom player vault -class ItemVault: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_SAFE; - model = "\z\addons\dayz_epoch\models\safe_onside.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_safe_ca.paa"; - descriptionShort = $STR_EPOCH_SAFE_DESC; - class ItemActions - { - class Build - { - text = $STR_EPOCH_PLAYER_230; - script = "spawn player_build;"; - require[] = {"ItemToolbox"}; - create = "VaultStorageLocked"; - }; - }; -}; -class ItemLockbox: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_LOCKBOX; - model = "\z\addons\dayz_epoch\models\lockbox_mag.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_lockbox_CA.paa"; - descriptionShort = $STR_EPOCH_LOCKBOX_DESC; - weight = 15; - class ItemActions - { - class Build - { - text = $STR_EPOCH_PLAYER_231; - script = "spawn player_build;"; - require[] = {"ItemToolbox"}; - create = "LockboxStorageLocked"; - }; - }; -}; -class PartPlankPack: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_LUMBERPACK; - model = "\z\addons\dayz_epoch\models\plank_pack.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_lumber_pack_CA.paa"; - descriptionShort = $STR_EPOCH_LUMBERPACK_DESC; - weight = 6; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_251; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"sawmill"}; - requiretools[] = {"ItemToolbox","ItemKnife"}; - output[] = {{"PartWoodLumber",3}}; - input[] = {{"PartPlankPack",1}}; - }; - }; -}; -class CinderBlocks: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_CINDERBLOCKS; - model = "\z\addons\dayz_epoch\models\cinder_stack.p3d"; - picture = "\z\addons\dayz_epoch\pictures\epuip_cinder_blocks_CA.paa"; - descriptionShort = $STR_EPOCH_CINDERBLOCKS_DESC; - weight = 100; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_252; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"half_cinder_wall_kit",1}}; - input[] = {{"CinderBlocks",3},{"MortarBucket",1}}; - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_253; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"cinder_garage_kit",1}}; - input[] = {{"CinderBlocks",3},{"MortarBucket",1},{"ItemTankTrap",1}}; - }; - class Crafting2 - { - text = $STR_EPOCH_PLAYER_234; - script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"cinder_door_kit",1}}; - input[] = {{"CinderBlocks",4},{"MortarBucket",1},{"ItemTankTrap",1}}; - }; - class Crafting3 - { - text = $STR_EPOCH_PLAYER_252_1; - script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"full_cinder_wall_kit",1}}; - input[] = {{"CinderBlocks",7},{"MortarBucket",2}}; - }; - }; -}; -class MortarBucket: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_BUCKETOFMORTAR; - model = "\z\addons\dayz_epoch\models\mortar.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_mortar_CA.paa"; - descriptionShort = $STR_EPOCH_BUCKETOFMORTAR_DESC; - weight = 21; -}; -class PartPlywoodPack: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_PLYWOODPACK; - model = "\z\addons\dayz_epoch\models\plywood_pack.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_plywood_pack_CA.paa"; - descriptionShort = $STR_EPOCH_PLYWOODPACK_DESC; - weight = 12; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_251; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"sawmill"}; - requiretools[] = {"ItemToolbox","ItemKnife"}; - output[] = {{"PartWoodPlywood",3}}; - input[] = {{"PartPlywoodPack",1}}; - }; - }; -}; -class PartWoodLumber: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_LUMBER; - model = "\z\addons\dayz_epoch\models\planks.p3d"; - picture= "\z\addons\dayz_epoch\pictures\equip_wood_planks_CA.paa"; - descriptionShort = $STR_EPOCH_LUMBER_DESC; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_254; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"sawmill"}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"PartWoodPlywood",1}}; - input[] = {{"PartWoodLumber",2}}; - - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_255; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"bulk_empty",1}}; - input[] = {{"PartWoodLumber",2},{"PartGeneric",1}}; - - }; - class Crafting2 - { - text = $STR_EPOCH_PLAYER_256; - script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox","ItemCrowbar"}; - output[] = {{"deer_stand_kit",1}}; - input[] = {{"PartWoodLumber",8},{"PartWoodPile",2}}; - - }; - class Crafting3 - { - text = $STR_EPOCH_PLAYER_257; - script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"ItemWoodStairs",1}}; - input[] = {{"PartWoodLumber",8}}; - - }; - class Crafting4 - { - text = $STR_EPOCH_PLAYER_258; - script = ";['Crafting4','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"ItemWoodLadder",1}}; - input[] = {{"PartWoodLumber",8}}; - - }; - class Crafting5 - { - text = $STR_EPOCH_PLAYER_259; - Script = ";['Crafting5','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"sawmill"}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"PartPlankPack",1}}; - input[] = {{"PartWoodLumber",3}}; - }; - class Crafting6 - { - text = $STR_EPOCH_PLAYER_277; - Script = ";['Crafting6','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"ItemGunRackKit",1}}; - input[] = {{"PartWoodLumber",6}}; - }; - class Crafting7 - { - text = $STR_EPOCH_PLAYER_304; - Script = ";['Crafting7','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"ItemWoodCrateKit",1}}; - input[] = {{"PartWoodLumber",6}}; - }; - }; -}; -class PartWoodPlywood: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_PLYWOOD; - model = "\z\addons\dayz_epoch\models\plywood.p3d"; - picture= "\z\addons\dayz_epoch\pictures\equip_plywood_CA.paa"; - descriptionShort = $STR_EPOCH_PLYWOOD_DESC; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_260; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"workbench_kit",1}}; - input[] = {{"PartWoodPlywood",1},{"PartWoodLumber",2}}; - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_261; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"wood_shack_kit",1}}; - input[] = {{"PartWoodPlywood",4},{"PartWoodLumber",4}}; - }; - class Crafting2 - { - text = $STR_EPOCH_PLAYER_262; - script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox","ItemCrowbar"}; - output[] = {{"ItemWoodFloorQuarter",1}}; - input[] = {{"PartWoodPlywood",3},{"PartWoodLumber",3}}; - }; - class Crafting3 - { - text = $STR_EPOCH_PLAYER_263; - script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox","ItemCrowbar"}; - output[] = {{"ItemWoodWallThird",1}}; - input[] = {{"PartWoodPlywood",3},{"PartWoodLumber",3}}; - }; - class Crafting4 - { - text = $STR_EPOCH_PLAYER_264; - Script = ";['Crafting4','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"sawmill"}; - requiretools[] = {"ItemToolbox"}; - output[] = {{"PartPlywoodPack",1}}; - input[] = {{"PartWoodPlywood",3}}; - }; - }; -}; -class ItemSledgeHead : CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_SLEDGEHAMMERHEAD; - model = "\z\addons\dayz_epoch\models\sledge_head.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_sledge_head_ca.paa"; - descriptionShort = $STR_EPOCH_SLEDGEHAMMERHEAD_DESC; - weight = 9; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_275; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox"}; - output[] = {}; - outputweapons[] = {"ItemSledge"}; - input[] = {{"ItemSledgeHead",1},{"ItemSledgeHandle",1}}; - }; - }; -}; -class ItemSledgeHandle : CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_SLEDGEHAMMERHANDLE; - model = "\z\addons\dayz_epoch\models\sledge_handle.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_sledge_handle_ca.paa"; - descriptionShort = $STR_EPOCH_SLEDGEHAMMERHANDLE_DESC; - weight = 1; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_275; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox"}; - output[] = {}; - outputweapons[] = {"ItemSledge"}; - input[] = {{"ItemSledgeHead",1},{"ItemSledgeHandle",1}}; - }; - }; -}; -class ItemKiloHemp : CA_Magazine -{ - scope = public; - count = 1; - displayName = $STR_EPOCH_KILOOFHEMP; - descriptionShort = $STR_EPOCH_KILOOFHEMP_DESC; - weight = 1; - model = "z\addons\dayz_epoch\models\kilohemp.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_kilohemp_CA.paa"; - type = 256; - class ItemActions - { - class Crafting - { - text = $STR_EPOCH_PLAYER_269b; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"workshop"}; - requiretools[] = {"ItemToolbox","ItemKnife"}; - output[] = {{"ItemCanvas",1}}; - input[] = {{"ItemKiloHemp",1}}; - }; - class Crafting1 - { - text = $STR_EPOCH_PLAYER_269a; - script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {""}; - requiretools[] = {"ItemKnife"}; - output[] = {{"ItemHempSeed",5}}; - input[] = {{"ItemKiloHemp",1}}; - }; - }; -}; - -class ItemOilBarrelEmpty : ItemOilBarrel -{ - displayName = $STR_EPOCH_EMPTYOILBARREL; - descriptionShort = $STR_EPOCH_EMPTYOILBARREL_DESC; - picture = "\z\addons\dayz_epoch\pictures\equip_oildrum_e_CA.paa"; -}; - -class ItemMethylaminBarrelEmpty : ItemOilBarrel -{ - displayName = $STR_EPOCH_EMPTYMETHYLAMINEBARREL; - descriptionShort = $STR_EPOCH_EMPTYMETHYLAMINEBARREL_DESC; - picture = "\z\addons\dayz_epoch\pictures\equip_oildrum_e_CA.paa"; -}; - -class ItemMethylaminBarrel : ItemOilBarrel -{ - displayName = $STR_EPOCH_METHYLAMINEBARREL; - descriptionShort = $STR_EPOCH_METHYLAMINEBARREL_DESC; - containerEmpty = "ItemMethylaminBarrelEmpty"; - - class ItemActions { - class Empty { - text = $STR_EQUIP_NAME_13_EMPTY; - script = "spawn player_emptyContainer"; - }; - }; -}; - -class ItemC4Charge : CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_C4_CHARGE; - descriptionShort = $STR_EPOCH_C4_CHARGE_DESC; - model = "\ca\weapons\explosive.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\carbomb.paa"; -}; - -class ItemKiloTobacco : CA_Magazine -{ - scope = public; - count = 1; - displayName = $STR_EPOCH_KILOTOBACCO; - descriptionShort = $STR_EPOCH_KILOTOBACCO_DESC; - weight = 1; - model = "z\addons\dayz_epoch\models\kilohemp.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_kilohemp_CA.paa"; - type = 256; -}; - -class ItemKiloBlackTea : ItemKiloTobacco -{ - displayName = $STR_EPOCH_KILOBLACKTEA; - descriptionShort = $STR_EPOCH_KILOBLACKTEA_DESC; -}; - -class ItemTobaccoLeafs : CA_Magazine -{ - scope = public; - count = 1; - displayName = $STR_EPOCH_TOBACCO_LEAF; - descriptionShort = $STR_EPOCH_TOBACCO_LEAF_DESC; - model = "\z\addons\dayz_communityassets\models\comfrey.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_comfrey_CA.paa"; - type = 256; -}; diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/BarrelsCans.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/BarrelsCans.hpp new file mode 100644 index 000000000..69e4260db --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/BarrelsCans.hpp @@ -0,0 +1,168 @@ +class ItemJerrycanEmpty : CA_Magazine +{ + scope = public; + count = 1; + type = WeaponSlotItem; + + model = "\dayz_equip\models\jerrycan.p3d"; + picture = "\dayz_equip\textures\equip_jerrycan_e_ca.paa"; + displayName = $STR_ITEM_NAME_JERRYCAN_EMPTY; + descriptionShort = $STR_ITEM_DESC_JERRYCAN_EMPTY; + + fuelQuantity = 0; + fullcan = "ItemJerrycan"; +}; + +class ItemJerrycan : ItemJerrycanEmpty +{ + picture = "\dayz_equip\textures\equip_jerrycan_ca.paa"; + displayName = $STR_ITEM_NAME_JERRYCAN; + descriptionShort = $STR_ITEM_DESC_JERRYCAN; + + fuelQuantity = 20; + containerEmpty = "ItemJerrycanEmpty"; + + //used for tent burning + fireIntensity = 6; + + class ItemActions { + class Empty { + text = $STR_EQUIP_NAME_13_EMPTY; + script = "spawn player_emptyContainer"; + }; + }; +}; + +class ItemFuelcanEmpty : ItemJerrycanEmpty +{ + type = WeaponSlotItem; + + model = "z\addons\dayz_communityassets\models\fuelcan.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_fuelcan_empty_CA.paa"; + displayName = $STR_ITEM_NAME_FUELCAN_EMPTY; + descriptionShort = $STR_ITEM_DESC_FUELCAN_EMPTY; + + fuelQuantity = 0; + fullcan = "ItemFuelcan"; +}; + +class ItemFuelcan : ItemFuelcanEmpty +{ + picture = "\z\addons\dayz_communityassets\pictures\equip_fuelcan_CA.paa"; + displayName = $STR_ITEM_NAME_FUELCAN; + descriptionShort = $STR_ITEM_DESC_FUELCAN; + + fuelQuantity = 5; + containerEmpty = "ItemFuelcanEmpty"; + + //used for tent burning + fireIntensity = 4; + + class ItemActions { + class Empty { + text = $STR_EQUIP_NAME_13_EMPTY; + script = "spawn player_emptyContainer"; + }; + }; +}; + +class ItemFuelBarrel: CA_Magazine +{ + scope = public; + count = 1; + fuelQuantity = 210; + type = 256; + displayName = $STR_EPOCH_FUELBARREL; + model = "\z\addons\dayz_epoch\models\oil_drum_model.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_oil_drum_model_ca.paa"; + descriptionShort = $STR_EPOCH_FUELBARREL_DESC; + fireIntensity = 6; //used for tent burning + containerEmpty = "ItemFuelBarrelEmpty"; + + class ItemActions { + class Empty { + text = $STR_EQUIP_NAME_13_EMPTY; + script = "spawn player_emptyContainer"; + }; + }; +}; +class ItemFuelBarrelEmpty: ItemFuelBarrel +{ + scope = public; + count = 1; + fuelQuantity = 0; + type = 256; + displayName = $STR_EPOCH_EMPTYFUELBARREL; + picture = "\z\addons\dayz_epoch\pictures\equip_oildrum_e_CA.paa"; + descriptionShort = $STR_EPOCH_EMPTYFUELBARREL_DESC; + fullcan = "ItemFuelBarrel"; + class ItemActions + { + class Crafting + { + text = $STR_EPOCH_PLAYER_276; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox","ItemMatchbox"}; + output[] = {{"ItemFireBarrel_kit",1}}; + input[] = {{"ItemFuelBarrelEmpty",1},{"ItemJerryCan",1},{"PartWoodPile",4}}; + }; + }; +}; + +class ItemOilBarrel: CA_Magazine +{ + scope = public; + count = 1; + // fuelQuantity = 210; + type = 256; + displayName = $STR_EPOCH_OILBARREL; + model = "\z\addons\dayz_epoch\models\oil_drum_model.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_oil_drum_model_ca.paa"; + descriptionShort = $STR_EPOCH_OILBARREL_DESC; + containerEmpty = "ItemOilBarrelEmpty"; + + class ItemActions { + class Empty { + text = $STR_EQUIP_NAME_13_EMPTY; + script = "spawn player_emptyContainer"; + }; + }; +}; + +class ItemOilBarrelEmpty : ItemOilBarrel +{ + displayName = $STR_EPOCH_EMPTYOILBARREL; + descriptionShort = $STR_EPOCH_EMPTYOILBARREL_DESC; + picture = "\z\addons\dayz_epoch\pictures\equip_oildrum_e_CA.paa"; +}; + +class ItemMethylaminBarrelEmpty : ItemOilBarrel +{ + displayName = $STR_EPOCH_EMPTYMETHYLAMINEBARREL; + descriptionShort = $STR_EPOCH_EMPTYMETHYLAMINEBARREL_DESC; + picture = "\z\addons\dayz_epoch\pictures\equip_oildrum_e_CA.paa"; +}; + +class ItemMethylaminBarrel : ItemOilBarrel +{ + displayName = $STR_EPOCH_METHYLAMINEBARREL; + descriptionShort = $STR_EPOCH_METHYLAMINEBARREL_DESC; + containerEmpty = "ItemMethylaminBarrelEmpty"; + + class ItemActions { + class Empty { + text = $STR_EQUIP_NAME_13_EMPTY; + script = "spawn player_emptyContainer"; + }; + }; +}; + +class equip_empty_barrel : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_empty_barrel; + descriptionShort = $STR_ITEM_DESC_equip_empty_barrel; + picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_empty_barrel.paa"; + type = 256; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Bulk.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Bulk.hpp similarity index 100% rename from SQF/dayz_code/Configs/CfgMagazines/DZE/Bulk.hpp rename to SQF/dayz_code/Configs/CfgMagazines/Items/Bulk.hpp diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/ChainsawGas.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/ChainsawGas.hpp new file mode 100644 index 000000000..d41b7d9c8 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/ChainsawGas.hpp @@ -0,0 +1,193 @@ +// For Chainsaw +class ItemMixOil : CA_Magazine { + scope = public; + displayName = $STR_EPOCH_CHAINSAW_OIL; + model = "\z\addons\dayz_epoch\models\oilmix.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_oilmix_CA.paa"; + count = 1; + type = "256"; + descriptionShort = $STR_EPOCH_CHAINSAW_OIL; + sfx = "refuel"; + class ItemActions { + class Crafting { + text = $STR_EPOCH_CHAINSAW_MIXGAS_ACTION; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemJerryMixed",1}}; + input[] = {{"ItemMixOil",1},{"ItemJerrycan",1}}; + inputstrict = true; + }; + }; +}; +class CSGAS : CA_Magazine { + scope = public; + type = VSoft; + displayName = $STR_EPOCH_CHAINSAW_GAS; + descriptionShort = $STR_EPOCH_CHAINSAW_GAS_DESC; + 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 = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_CHAINSAW_MIXEDGAS20L_CAN; + model = "\dayz_equip\models\jerrycan.p3d"; + picture = "\dayz_equip\textures\equip_jerrycan_ca.paa"; + descriptionShort = $STR_EPOCH_CHAINSAW_MIXEDGAS20L_CAN_DESC; + sfx = "refuel"; + containerEmpty = "ItemJerrycanEmpty"; + + class ItemActions { + class Crafting { + text = $STR_EPOCH_CHAINSAW_MIXEDGAS_CAN_ACTION; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox","ChainSaw"}; + output[] = {{"CSGAS",1},{"ItemJerryMixed4",1}}; + input[] = {{"ItemJerryMixed",1}}; + }; + class Empty { + text = $STR_EQUIP_NAME_13_EMPTY; + script = "spawn player_emptyContainer"; + }; + }; +}; +class ItemJerryMixed4: CA_Magazine { + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_CHAINSAW_MIXEDGAS16L_CAN; + model = "\dayz_equip\models\jerrycan.p3d"; + picture = "\dayz_equip\textures\equip_jerrycan_ca.paa"; + descriptionShort = $STR_EPOCH_CHAINSAW_MIXEDGAS16L_CAN_DESC; + sfx = "refuel"; + containerEmpty = "ItemJerrycanEmpty"; + + class ItemActions { + class Crafting { + text = $STR_EPOCH_CHAINSAW_MIXEDGAS_CAN_ACTION; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox","ChainSaw"}; + output[] = {{"CSGAS",1},{"ItemJerryMixed3",1}}; + input[] = {{"ItemJerryMixed4",1}}; + }; + class Empty { + text = $STR_EQUIP_NAME_13_EMPTY; + script = "spawn player_emptyContainer"; + }; + }; +}; +class ItemJerryMixed3: CA_Magazine { + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_CHAINSAW_MIXEDGAS12L_CAN; + model = "\dayz_equip\models\jerrycan.p3d"; + picture = "\dayz_equip\textures\equip_jerrycan_ca.paa"; + descriptionShort = $STR_EPOCH_CHAINSAW_MIXEDGAS12L_CAN_DESC; + sfx = "refuel"; + containerEmpty = "ItemJerrycanEmpty"; + + class ItemActions { + class Crafting { + text = $STR_EPOCH_CHAINSAW_MIXEDGAS_CAN_ACTION; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox","ChainSaw"}; + output[] = {{"CSGAS",1},{"ItemJerryMixed2",1}}; + input[] = {{"ItemJerryMixed3",1}}; + }; + class Empty { + text = $STR_EQUIP_NAME_13_EMPTY; + script = "spawn player_emptyContainer"; + }; + }; +}; +class ItemJerryMixed2: CA_Magazine { + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_CHAINSAW_MIXEDGAS8L_CAN; + model = "\dayz_equip\models\jerrycan.p3d"; + picture = "\dayz_equip\textures\equip_jerrycan_ca.paa"; + descriptionShort = $STR_EPOCH_CHAINSAW_MIXEDGAS8L_CAN_DESC; + sfx = "refuel"; + containerEmpty = "ItemJerrycanEmpty"; + + class ItemActions { + class Crafting { + text = $STR_EPOCH_CHAINSAW_MIXEDGAS_CAN_ACTION; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox","ChainSaw"}; + output[] = {{"CSGAS",1},{"ItemJerryMixed1",1}}; + input[] = {{"ItemJerryMixed2",1}}; + }; + class Empty { + text = $STR_EQUIP_NAME_13_EMPTY; + script = "spawn player_emptyContainer"; + }; + }; +}; +class ItemJerryMixed1: CA_Magazine { + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_CHAINSAW_MIXEDGAS4L_CAN; + model = "\dayz_equip\models\jerrycan.p3d"; + picture = "\dayz_equip\textures\equip_jerrycan_ca.paa"; + descriptionShort = $STR_EPOCH_CHAINSAW_MIXEDGAS4L_CAN; + sfx = "refuel"; + containerEmpty = "ItemJerrycanEmpty"; + + class ItemActions { + class Crafting { + text = $STR_EPOCH_CHAINSAW_MIXEDGAS_CAN_ACTION; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox","ChainSaw"}; + output[] = {{"CSGAS",1},{"ItemJerrycanEmpty",1}}; + input[] = {{"ItemJerryMixed1",1}}; + }; + class Empty { + text = $STR_EQUIP_NAME_13_EMPTY; + script = "spawn player_emptyContainer"; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/Concrete.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Concrete.hpp new file mode 100644 index 000000000..9fac07426 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/Concrete.hpp @@ -0,0 +1,95 @@ +class ItemStone: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_BLD_name_ItemStone;//"Rough Stone" + picture = "\z\addons\dayz_buildings\equip\rocks.paa"; + model = "z\addons\dayz_buildings\models\rocks.p3d"; + descriptionShort = $STR_BLD_desc_ItemStone;//"Rough Stone" +}; + +class ItemConcreteBlock: CA_Magazine //Construection,indestrial +{ + scope = 2; + count = 1; + type = 256; + displayName = $STR_BLD_name_ItemConcreteBlock;//"Concrete Block" + picture = "\z\addons\dayz_buildings\equip\concreteblock.paa"; + model = "z\addons\dayz_buildings\models\concreteblock.p3d"; + descriptionShort = $STR_BLD_desc_ItemConcreteBlock;//"Concrete Block" +}; + +class CinderBlocks: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_CINDERBLOCKS; + model = "\z\addons\dayz_epoch\models\cinder_stack.p3d"; + picture = "\z\addons\dayz_epoch\pictures\epuip_cinder_blocks_CA.paa"; + descriptionShort = $STR_EPOCH_CINDERBLOCKS_DESC; + weight = 100; + class ItemActions + { + class Crafting + { + text = $STR_EPOCH_PLAYER_252; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"half_cinder_wall_kit",1}}; + input[] = {{"CinderBlocks",3},{"MortarBucket",1}}; + }; + class Crafting1 + { + text = $STR_EPOCH_PLAYER_253; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"cinder_garage_kit",1}}; + input[] = {{"CinderBlocks",3},{"MortarBucket",1},{"ItemTankTrap",1}}; + }; + class Crafting2 + { + text = $STR_EPOCH_PLAYER_234; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"cinder_door_kit",1}}; + input[] = {{"CinderBlocks",4},{"MortarBucket",1},{"ItemTankTrap",1}}; + }; + class Crafting3 + { + text = $STR_EPOCH_PLAYER_252_1; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"full_cinder_wall_kit",1}}; + input[] = {{"CinderBlocks",7},{"MortarBucket",2}}; + }; + }; +}; +class MortarBucket: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_BUCKETOFMORTAR; + model = "\z\addons\dayz_epoch\models\mortar.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_mortar_CA.paa"; + descriptionShort = $STR_EPOCH_BUCKETOFMORTAR_DESC; + weight = 21; +}; + +class equip_brick : CA_Magazine +{ + scope = public; + count = 1; + type = WeaponSlotItem; + + model = "\z\addons\dayz_communityassets\models\brick.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_brick.paa"; + displayName = $STR_ITEM_NAME_equip_brick; + descriptionShort = $STR_ITEM_DESC_equip_brick; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/AluminumBar.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Currency/AluminumBar.hpp similarity index 100% rename from SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/AluminumBar.hpp rename to SQF/dayz_code/Configs/CfgMagazines/Items/Currency/AluminumBar.hpp diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/Briefcase.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Currency/Briefcase.hpp similarity index 100% rename from SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/Briefcase.hpp rename to SQF/dayz_code/Configs/CfgMagazines/Items/Currency/Briefcase.hpp diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/BronzeBar.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Currency/BronzeBar.hpp similarity index 100% rename from SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/BronzeBar.hpp rename to SQF/dayz_code/Configs/CfgMagazines/Items/Currency/BronzeBar.hpp diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/CopperBar.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Currency/CopperBar.hpp similarity index 100% rename from SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/CopperBar.hpp rename to SQF/dayz_code/Configs/CfgMagazines/Items/Currency/CopperBar.hpp diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/GoldBar.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Currency/GoldBar.hpp similarity index 100% rename from SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/GoldBar.hpp rename to SQF/dayz_code/Configs/CfgMagazines/Items/Currency/GoldBar.hpp diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/SilverBar.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Currency/SilverBar.hpp similarity index 100% rename from SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/SilverBar.hpp rename to SQF/dayz_code/Configs/CfgMagazines/Items/Currency/SilverBar.hpp diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/TinBar.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Currency/TinBar.hpp similarity index 100% rename from SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/TinBar.hpp rename to SQF/dayz_code/Configs/CfgMagazines/Items/Currency/TinBar.hpp diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Items.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/DocumentsPapers.hpp similarity index 53% rename from SQF/dayz_code/Configs/CfgMagazines/DZE/Items.hpp rename to SQF/dayz_code/Configs/CfgMagazines/Items/DocumentsPapers.hpp index ffb13ef02..ddf0aa7b7 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/DZE/Items.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/DocumentsPapers.hpp @@ -1,285 +1,3 @@ -// For Chainsaw -class ItemMixOil : CA_Magazine { - scope = public; - displayName = $STR_EPOCH_CHAINSAW_OIL; - model = "\z\addons\dayz_epoch\models\oilmix.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_oilmix_CA.paa"; - count = 1; - type = "256"; - descriptionShort = $STR_EPOCH_CHAINSAW_OIL; - sfx = "refuel"; - class ItemActions { - class Crafting { - text = $STR_EPOCH_CHAINSAW_MIXGAS_ACTION; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemJerryMixed",1}}; - input[] = {{"ItemMixOil",1},{"ItemJerrycan",1}}; - inputstrict = true; - }; - }; -}; -class CSGAS : CA_Magazine { - scope = public; - type = VSoft; - displayName = $STR_EPOCH_CHAINSAW_GAS; - descriptionShort = $STR_EPOCH_CHAINSAW_GAS_DESC; - 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 = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_CHAINSAW_MIXEDGAS20L_CAN; - model = "\dayz_equip\models\jerrycan.p3d"; - picture = "\dayz_equip\textures\equip_jerrycan_ca.paa"; - descriptionShort = $STR_EPOCH_CHAINSAW_MIXEDGAS20L_CAN_DESC; - sfx = "refuel"; - containerEmpty = "ItemJerrycanEmpty"; - - class ItemActions { - class Crafting { - text = $STR_EPOCH_CHAINSAW_MIXEDGAS_CAN_ACTION; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {"ItemToolbox","ChainSaw"}; - output[] = {{"CSGAS",1},{"ItemJerryMixed4",1}}; - input[] = {{"ItemJerryMixed",1}}; - }; - class Empty { - text = $STR_EQUIP_NAME_13_EMPTY; - script = "spawn player_emptyContainer"; - }; - }; -}; -class ItemJerryMixed4: CA_Magazine { - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_CHAINSAW_MIXEDGAS16L_CAN; - model = "\dayz_equip\models\jerrycan.p3d"; - picture = "\dayz_equip\textures\equip_jerrycan_ca.paa"; - descriptionShort = $STR_EPOCH_CHAINSAW_MIXEDGAS16L_CAN_DESC; - sfx = "refuel"; - containerEmpty = "ItemJerrycanEmpty"; - - class ItemActions { - class Crafting { - text = $STR_EPOCH_CHAINSAW_MIXEDGAS_CAN_ACTION; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {"ItemToolbox","ChainSaw"}; - output[] = {{"CSGAS",1},{"ItemJerryMixed3",1}}; - input[] = {{"ItemJerryMixed4",1}}; - }; - class Empty { - text = $STR_EQUIP_NAME_13_EMPTY; - script = "spawn player_emptyContainer"; - }; - }; -}; -class ItemJerryMixed3: CA_Magazine { - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_CHAINSAW_MIXEDGAS12L_CAN; - model = "\dayz_equip\models\jerrycan.p3d"; - picture = "\dayz_equip\textures\equip_jerrycan_ca.paa"; - descriptionShort = $STR_EPOCH_CHAINSAW_MIXEDGAS12L_CAN_DESC; - sfx = "refuel"; - containerEmpty = "ItemJerrycanEmpty"; - - class ItemActions { - class Crafting { - text = $STR_EPOCH_CHAINSAW_MIXEDGAS_CAN_ACTION; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {"ItemToolbox","ChainSaw"}; - output[] = {{"CSGAS",1},{"ItemJerryMixed2",1}}; - input[] = {{"ItemJerryMixed3",1}}; - }; - class Empty { - text = $STR_EQUIP_NAME_13_EMPTY; - script = "spawn player_emptyContainer"; - }; - }; -}; -class ItemJerryMixed2: CA_Magazine { - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_CHAINSAW_MIXEDGAS8L_CAN; - model = "\dayz_equip\models\jerrycan.p3d"; - picture = "\dayz_equip\textures\equip_jerrycan_ca.paa"; - descriptionShort = $STR_EPOCH_CHAINSAW_MIXEDGAS8L_CAN_DESC; - sfx = "refuel"; - containerEmpty = "ItemJerrycanEmpty"; - - class ItemActions { - class Crafting { - text = $STR_EPOCH_CHAINSAW_MIXEDGAS_CAN_ACTION; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {"ItemToolbox","ChainSaw"}; - output[] = {{"CSGAS",1},{"ItemJerryMixed1",1}}; - input[] = {{"ItemJerryMixed2",1}}; - }; - class Empty { - text = $STR_EQUIP_NAME_13_EMPTY; - script = "spawn player_emptyContainer"; - }; - }; -}; -class ItemJerryMixed1: CA_Magazine { - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_CHAINSAW_MIXEDGAS4L_CAN; - model = "\dayz_equip\models\jerrycan.p3d"; - picture = "\dayz_equip\textures\equip_jerrycan_ca.paa"; - descriptionShort = $STR_EPOCH_CHAINSAW_MIXEDGAS4L_CAN; - sfx = "refuel"; - containerEmpty = "ItemJerrycanEmpty"; - - class ItemActions { - class Crafting { - text = $STR_EPOCH_CHAINSAW_MIXEDGAS_CAN_ACTION; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {"ItemToolbox","ChainSaw"}; - output[] = {{"CSGAS",1},{"ItemJerrycanEmpty",1}}; - input[] = {{"ItemJerryMixed1",1}}; - }; - class Empty { - text = $STR_EQUIP_NAME_13_EMPTY; - script = "spawn player_emptyContainer"; - }; - }; -}; - -// Vehicle upgrade parts -class ItemORP: CA_Magazine { - scope = public; - 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 = public; - 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 = public; - 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 = public; - 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 ItemARM: CA_Magazine { - scope = public; - count = 1; - type = 256; - displayName = $STR_EPOCH_VEHUP_ARM; - model = "\z\addons\dayz_epoch\models\doc_Up4.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_docup4_ca.paa"; - descriptionShort = $STR_EPOCH_VEHUP_ARM_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 = public; count = 1; @@ -302,6 +20,7 @@ class ItemDocument: CA_Magazine { }; }; }; + class ItemPlotDeed: CA_Magazine { scope = public; count = 1; @@ -323,6 +42,7 @@ class ItemPlotDeed: CA_Magazine { }; }; }; + class ItemLetter: CA_Magazine { scope = public; count = 1; @@ -333,6 +53,7 @@ class ItemLetter: CA_Magazine { descriptionShort = $STR_EPOCH_LETTER_DESC; weight = 0.1; }; + class ItemBook1: CA_Magazine { scope = public; count = 1; @@ -343,6 +64,7 @@ class ItemBook1: CA_Magazine { descriptionShort = $STR_EPOCH_ROMANCENOVEL_DESC; weight = 0.1; }; + class ItemBook2: CA_Magazine { scope = public; count = 1; @@ -353,6 +75,7 @@ class ItemBook2: CA_Magazine { descriptionShort = $STR_EPOCH_ROMANCENOVEL_DESC2; weight = 0.1; }; + class ItemBook3: CA_Magazine { scope = public; count = 1; @@ -363,6 +86,7 @@ class ItemBook3: CA_Magazine { descriptionShort = $STR_EPOCH_BOOK_DESC; weight = 0.1; }; + class ItemBook4: CA_Magazine { scope = public; count = 1; @@ -373,6 +97,7 @@ class ItemBook4: CA_Magazine { descriptionShort = $STR_EPOCH_BOOK_DESC; weight = 0.1; }; + class ItemNewspaper: CA_Magazine { scope = public; count = 1; @@ -389,6 +114,7 @@ class ItemNewspaper: CA_Magazine { }; }; }; + class ItemDocumentRamp: CA_Magazine { scope = public; count = 1; @@ -410,13 +136,147 @@ class ItemDocumentRamp: CA_Magazine { }; }; -class ItemHotwireKit: CA_Magazine { +class ItemBookBible : CA_Magazine +{ + scope = public; + count = 1; + type = WeaponSlotItem; + + model = "z\addons\dayz_communityassets\models\bible.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_bible_CA.paa"; + displayName = $STR_BOOK_NAME_BIBLE; + descriptionShort = $STR_BOOK_DESC_BIBLE; +}; + +class ItemTrashPaper : CA_Magazine +{ + scope = public; + count = 1; + type = WeaponSlotItem; + + model = "z\addons\dayz_communityassets\models\paper_sheet_clean_note.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_paper_sheet_note_ca.paa"; + displayName = $STR_name_ItemTrashPaper; + descriptionShort = $STR_desc_ItemTrashPaper; +}; + +class ItemTrashPaperMusic : CA_Magazine +{ + scope = public; + count = 1; + type = WeaponSlotItem; + + model = "z\addons\dayz_communityassets\models\paper_sheet_musical.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_paper_sheet_musical_ca.paa"; + displayName = $STR_name_ItemTrashPaperMusic; + descriptionShort = $STR_desc_ItemTrashPaperMusic; +}; + +class equip_paper_sheet : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_paper_sheet; + descriptionShort = $STR_ITEM_DESC_equip_paper_sheet; + picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_paper_sheet.paa"; + type = 256; +}; + +class equip_note : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_note; + descriptionShort = $STR_ITEM_DESC_equip_note; + picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_note.paa"; + type = 256; +}; + +// Vehicle upgrade parts +class ItemORP: CA_Magazine { scope = public; count = 1; type = 256; - displayName = $STR_EPOCH_HOTWIREKIT; - model = "\z\addons\dayz_epoch\models\hotwire.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_hotwire_ca.paa"; - descriptionShort = $STR_EPOCH_HOTWIREKIT_DESC; - weight = 2; + 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 = public; + 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 = public; + 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 = public; + 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 ItemARM: CA_Magazine { + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_VEHUP_ARM; + model = "\z\addons\dayz_epoch\models\doc_Up4.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_docup4_ca.paa"; + descriptionShort = $STR_EPOCH_VEHUP_ARM_DESC; + weight = 0.1; + sfx = "document"; + class ItemActions { + class Upgrades { + text = $STR_EPOCH_PLAYER_UPGRADEV; + script = "spawn player_upgradeVehicle;"; + }; + }; }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/Electronics.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Electronics.hpp new file mode 100644 index 000000000..50b011f18 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/Electronics.hpp @@ -0,0 +1,60 @@ +class equip_aa_battery : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_aa_battery; + descriptionShort = $STR_ITEM_DESC_equip_aa_battery; + picture = "\z\addons\dayz_communityassets\pictures\equip_aa_battery_ca.paa"; + type = 256; +}; + +class equip_d_battery : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_d_battery; + descriptionShort = $STR_ITEM_DESC_equip_d_battery; + picture = "\z\addons\dayz_communityassets\pictures\equip_d_battery_ca.paa"; + type = 256; +}; + +class equip_floppywire : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_floppywire; + descriptionShort = $STR_ITEM_DESC_equip_floppywire; + model = "\z\addons\dayz_communityassets\models\floppywire.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_floppywire.paa"; + type = 256; +}; + +class equip_scrapelectronics : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_scrapelectronics; + descriptionShort = $STR_ITEM_DESC_equip_scrapelectronics; + model = "\z\addons\dayz_communityassets\models\scrapelectronics.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\scrapelectronics.paa"; + type = 256; +}; + +class ItemLightBulb: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_LIGHTBULB; + model = "\z\addons\dayz_epoch\models\bulb.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_bulb_CA.paa"; + descriptionShort = $STR_EPOCH_LIGHTBULB_DESC; + class ItemActions + { + class Crafting + { + text = $STR_EPOCH_PLAYER_196; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemEtool","ItemToolbox"}; + output[] = {{"light_pole_kit",1}}; + input[] = {{"ItemLightBulb",1},{"PartGeneric",1},{"PartWoodLumber",6}}; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/Explosives.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Explosives.hpp index 72e3a9028..a14542031 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/Explosives.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/Explosives.hpp @@ -1,3 +1,22 @@ +class TimeBomb: CA_Magazine +{ + scope = 1; + displayName = "$STR_MN_TIME_BOMB"; + picture = "\CA\weapons\data\equip\m_satchel_CA.paa"; + useAction = 1; + useActionTitle = "$STR_ACTION_PUTBOMB"; + type = 256; + value = 5; + ammo = "TimeBomb"; + count = 1; + initSpeed = 0; + maxLeadSpeed = 0; + nameSoundWeapon = "satchelcharge"; + nameSound = "satchelcharge"; + sound[] = {"\ca\Weapons\Data\Sound\gravel_L",0.00031622776,1,10}; + descriptionShort = "$STR_DSS_TimeBomb"; +}; + class Mine: TimeBomb { scope = 2; @@ -38,4 +57,31 @@ class PipeBomb: TimeBomb nameSound = "satchelcharge"; useAction = 1; useActionTitle = "$STR_ACTION_PUTBOMB"; -}; \ No newline at end of file +}; + +class ItemC4Charge : CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_C4_CHARGE; + descriptionShort = $STR_EPOCH_C4_CHARGE_DESC; + model = "\ca\weapons\explosive.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\carbomb.paa"; +}; + +class ItemCarBomb : CA_Magazine { + scope = public; + count = 1; + type = 256; + displayName = $STR_ITEM_NAME_equip_carbomb; + model = "\ca\weapons\explosive.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\carbomb.paa"; + descriptionShort = $STR_ITEM_DESC_equip_carbomb; + class ItemActions { + class Use { + text = $STR_ACTIONS_attach_carbomb; + script = "spawn player_attach_bomb;"; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Throwable.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Flares.hpp similarity index 100% rename from SQF/dayz_code/Configs/CfgMagazines/Throwable.hpp rename to SQF/dayz_code/Configs/CfgMagazines/Items/Flares.hpp diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/Fuel.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Fuel.hpp deleted file mode 100644 index 171a4811a..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/Fuel.hpp +++ /dev/null @@ -1,67 +0,0 @@ -class ItemJerrycanEmpty : CA_Magazine -{ - scope = public; - count = 1; - type = WeaponSlotItem; - - model = "\dayz_equip\models\jerrycan.p3d"; - picture = "\dayz_equip\textures\equip_jerrycan_e_ca.paa"; - displayName = $STR_ITEM_NAME_JERRYCAN_EMPTY; - descriptionShort = $STR_ITEM_DESC_JERRYCAN_EMPTY; - - fuelQuantity = 0; - fullcan = "ItemJerrycan"; -}; - -class ItemJerrycan : ItemJerrycanEmpty -{ - picture = "\dayz_equip\textures\equip_jerrycan_ca.paa"; - displayName = $STR_ITEM_NAME_JERRYCAN; - descriptionShort = $STR_ITEM_DESC_JERRYCAN; - - fuelQuantity = 20; - containerEmpty = "ItemJerrycanEmpty"; - - //used for tent burning - fireIntensity = 6; - - class ItemActions { - class Empty { - text = $STR_EQUIP_NAME_13_EMPTY; - script = "spawn player_emptyContainer"; - }; - }; -}; - -class ItemFuelcanEmpty : ItemJerrycanEmpty -{ - type = WeaponSlotItem; - - model = "z\addons\dayz_communityassets\models\fuelcan.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_fuelcan_empty_CA.paa"; - displayName = $STR_ITEM_NAME_FUELCAN_EMPTY; - descriptionShort = $STR_ITEM_DESC_FUELCAN_EMPTY; - - fuelQuantity = 0; - fullcan = "ItemFuelcan"; -}; - -class ItemFuelcan : ItemFuelcanEmpty -{ - picture = "\z\addons\dayz_communityassets\pictures\equip_fuelcan_CA.paa"; - displayName = $STR_ITEM_NAME_FUELCAN; - descriptionShort = $STR_ITEM_DESC_FUELCAN; - - fuelQuantity = 5; - containerEmpty = "ItemFuelcanEmpty"; - - //used for tent burning - fireIntensity = 4; - - class ItemActions { - class Empty { - text = $STR_EQUIP_NAME_13_EMPTY; - script = "spawn player_emptyContainer"; - }; - }; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Gems.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Gems.hpp similarity index 100% rename from SQF/dayz_code/Configs/CfgMagazines/DZE/Gems.hpp rename to SQF/dayz_code/Configs/CfgMagazines/Items/Gems.hpp diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/Generator.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Generator.hpp deleted file mode 100644 index 2d91d26da..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/Generator.hpp +++ /dev/null @@ -1,24 +0,0 @@ -class ItemGenerator : CA_Magazine -{ - scope = public; - count = 1; - type = WeaponSlotItem; - - model = "\dayz_equip\models\generator_gear.p3d"; - picture = "\dayz_equip\textures\equip_generator_ca.paa"; - displayName = $STR_EQUIP_NAME_31; - descriptionShort = $STR_EQUIP_DESC_31; - weight = 30; // used in R3F weight - - class ItemActions - { - class Build - { - text = $STR_ACTION_BUILD; - script = "spawn player_build;"; - require[] = {"ItemToolbox"}; - consume[] = {"ItemGenerator"}; - create = "Generator_DZ"; - }; - }; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/Items.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Items.hpp deleted file mode 100644 index 2d1a165f7..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/Items.hpp +++ /dev/null @@ -1,26 +0,0 @@ -#include "Fuel.hpp" - -//Materials -#include "Wood.hpp" -#include "Stone.hpp" -#include "Sandbag.hpp" -#include "MetalFenceItems.hpp" - -//Simple buildables -#include "Tent.hpp" -//#include "CamoNet.hpp" //Duplicate of Epoch camo nets in DZE\Misc.hpp -#include "TankTrap.hpp" -#include "WireFence.hpp" -#include "BearTrap.hpp" -#include "TripWire.hpp" - -//Base stuff -#include "Workbench.hpp" -#include "Padlock.hpp" -#include "Generator.hpp" - -//Miscellaneous -#include "equip_brick.hpp" -#include "equip_lever.hpp" -#include "WaterBottle.hpp" -#include "Explosives.hpp" \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/Padlock.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Locks.hpp similarity index 58% rename from SQF/dayz_code/Configs/CfgMagazines/Items/Padlock.hpp rename to SQF/dayz_code/Configs/CfgMagazines/Items/Locks.hpp index db9f323f4..fb90de89d 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/Padlock.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/Locks.hpp @@ -1,3 +1,16 @@ +class ItemComboLock: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_COMBINATIONLOCK; + weight = 0.5; + model = "\z\addons\dayz_epoch\models\combo_lock_mag.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_combolock_ca.paa"; + descriptionShort = $STR_EPOCH_COMBINATIONLOCK_DESC; +}; + + class ItemPadlock: CA_Magazine //Vanilla lock, left in config for potential admin use, but all scripts changed to use Epoch ItemComboLock { scope = public; diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/Metal.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Metal.hpp new file mode 100644 index 000000000..e1ed04b75 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/Metal.hpp @@ -0,0 +1,143 @@ +class PartGeneric : CA_Magazine +{ + scope = public; + count = 1; + type = WeaponSlotItem; + + model = "\dayz_equip\models\genericparts.p3d"; + picture = "\dayz_equip\textures\equip_genericparts_ca.paa"; + displayName = $STR_EQUIP_NAME_10; + descriptionShort = $STR_EQUIP_DESC_10; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_213; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"fire"}; + requiretools[] = {"ItemToolbox","ItemCrowbar"}; + output[] = {{"ItemPole",1}}; + input[] = {{"PartGeneric",2}}; + }; + }; +}; + +class ItemPole: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_METALPOLE; + model = "\z\addons\dayz_epoch\models\pipe.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_pipe_CA.paa"; + descriptionShort = $STR_EPOCH_METALPOLE_DESC; + class ItemActions + { + class Crafting + { + text = $STR_EPOCH_PLAYER_218; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"fire"}; + requiretools[] = {"ItemToolbox","ItemCrowbar"}; + output[] = {{"ItemCorrugated",1}}; + input[] = {{"ItemPole",2},{"ItemTankTrap",2},{"PartWoodLumber",2}}; + }; + class Crafting1 + { + text = $STR_EPOCH_PLAYER_219; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemCrowbar"}; + output[] = {{"rusty_gate_kit",1}}; + input[] = {{"ItemPole",3},{"ItemTankTrap",1}}; + }; + class Crafting2 + { + text = $STR_EPOCH_PLAYER_220; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemCrowbar"}; + output[] = {{"metal_panel_kit",1}}; + input[] = {{"ItemPole",4},{"ItemTankTrap",4}}; + }; + class Crafting3 + { + text = $STR_EPOCH_PLAYER_305; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemCrowbar"}; + output[] = {{"ItemScaffoldingKit",1}}; + input[] = {{"ItemPole",4},{"ItemTankTrap",2},{"PartWoodLumber",4}}; + }; + }; +}; + +class ItemMetalSheet: CA_Magazine //Construection,farm,indestrial,castle +{ + scope = 2; + count = 1; + type = 256; + displayName = $STR_BLD_name_ItemMetalSheet;//"Corrugated Sheet" + picture = "\z\addons\dayz_buildings\equip\item_sheetmetal.paa"; + model = "z\addons\dayz_buildings\models\sheet_metal.p3d"; + descriptionShort = $STR_BLD_desc_ItemMetalSheet;//"Metal Sheeting" +}; + +class equip_metal_sheet : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_metal_sheet; + descriptionShort = $STR_ITEM_DESC_equip_metal_sheet; + model = "\z\addons\dayz_communityassets\models\metal_sheet_clean.p3d"; + picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_metal_sheet.paa"; + type = 256; +}; + +class equip_metal_sheet_rusted : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_metal_sheet_rusted; + descriptionShort = $STR_ITEM_DESC_equip_metal_sheet_rusted; + model = "\z\addons\dayz_communityassets\models\metal_sheet_rusted.p3d"; + picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_metal_sheet_rusted.paa"; + type = 256; +}; + +class ItemRSJ: CA_Magazine //Construection,farm,indestrial,castle +{ + scope = 2; + count = 1; + type = 256; + displayName = $STR_BLD_name_ItemRSJ;//"Steel Beam" + picture = "\z\addons\dayz_buildings\equip\item_rsj.paa"; + model = "z\addons\dayz_buildings\models\rsj.p3d"; + descriptionShort = $STR_BLD_desc_ItemRSJ;//"Steel RSJ Support Beam" +}; + +class equip_1inch_metal_pipe : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_1inch_metal_pipe; + descriptionShort = $STR_ITEM_DESC_equip_1inch_metal_pipe; + model = "\z\addons\dayz_communityassets\models\1in_pipe.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_1inch_metal_pipe_ca.paa"; + type = 256; +}; + +class equip_2inch_metal_pipe : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_2inch_metal_pipe; + descriptionShort = $STR_ITEM_DESC_equip_2inch_metal_pipe; + model = "\z\addons\dayz_communityassets\models\2in_pipe.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_2inch_metal_pipe.paa"; + type = 256; +}; + +class equip_tent_poles : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_tent_poles; + descriptionShort = $STR_ITEM_DESC_equip_tent_poles; + model = "z\addons\dayz_communityassets\models\1m_pole_6.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_1m_pole_6_ca.paa"; + type = 256; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/MetalFenceItems.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/MetalFenceItems.hpp deleted file mode 100644 index 66832ecba..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/MetalFenceItems.hpp +++ /dev/null @@ -1,70 +0,0 @@ -class ItemMetalSheet: CA_Magazine //Construection,farm,indestrial,castle -{ - scope = 2; - count = 1; - type = 256; - displayName = $STR_BLD_name_ItemMetalSheet;//"Corrugated Sheet" - picture = "\z\addons\dayz_buildings\equip\item_sheetmetal.paa"; - model = "z\addons\dayz_buildings\models\sheet_metal.p3d"; - descriptionShort = $STR_BLD_desc_ItemMetalSheet;//"Metal Sheeting" -}; - -class ItemConcreteBlock: CA_Magazine //Construection,indestrial -{ - scope = 2; - count = 1; - type = 256; - displayName = $STR_BLD_name_ItemConcreteBlock;//"Concrete Block" - picture = "\z\addons\dayz_buildings\equip\concreteblock.paa"; - model = "z\addons\dayz_buildings\models\concreteblock.p3d"; - descriptionShort = $STR_BLD_desc_ItemConcreteBlock;//"Concrete Block" -}; - -class ItemRSJ: CA_Magazine //Construection,farm,indestrial,castle -{ - scope = 2; - count = 1; - type = 256; - displayName = $STR_BLD_name_ItemRSJ;//"Steel Beam" - picture = "\z\addons\dayz_buildings\equip\item_rsj.paa"; - model = "z\addons\dayz_buildings\models\rsj.p3d"; - descriptionShort = $STR_BLD_desc_ItemRSJ;//"Steel RSJ Support Beam" -}; - -class ItemScrews: CA_Magazine //Construection,farm,indestrial,castle,residential -{ - scope = 2; - count = 1; - type = 256; - displayName = $STR_BLD_name_ItemScrews;//"Box of screws for metal" - picture = "\z\addons\dayz_epoch_w\magazine\ui\m_screws_ca.paa"; - model = "\z\addons\dayz_epoch_w\magazine\dze_screwtray.p3d"; - descriptionShort = $STR_BLD_desc_ItemScrews;//"Box of screws" -}; - -/* -class ItemBagScrews: CA_Magazine//Construection,indestrial,supermarket -{ - scope = 2; - count = 1; - type = 256; - displayName = $STR_BLD_name_ItemScrews;//"Box of screws for metal" - picture = "\z\addons\dayz_buildings\equip\item_screws.paa"; - model = "z\addons\dayz_buildings\models\screws.p3d"; - descriptionShort = $STR_BLD_desc_ItemScrews;//"Box of screws" - - class ItemActions { - class Spilt { - text = "Spilt Box"; - script = "; [_this] call fn_spiltBag;"; - }; - }; - -}; - -ItemScrews //Construection,farm,indestrial,castle,residential -ItemBagScrews //(LowChance)Construection,(LowChance)indestrial,supermarket -ItemRSJ //Construection,farm,indestrial,castle -ItemConcreteBlock //Construection,indestrial -ItemMetalSheet //Construection,farm,indestrial,castle -*/ \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/Misc.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Misc.hpp new file mode 100644 index 000000000..abcc384bd --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/Misc.hpp @@ -0,0 +1,244 @@ +class ItemZombieParts: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_ZOMBIEPARTS; + model = "\z\addons\dayz_epoch\models\zombie_parts_bag_v2.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_zparts_CA.paa"; + descriptionShort = $STR_EPOCH_ZOMBIEPARTS_DESC; +}; + +class ItemHotwireKit: CA_Magazine { + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_HOTWIREKIT; + model = "\z\addons\dayz_epoch\models\hotwire.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_hotwire_ca.paa"; + descriptionShort = $STR_EPOCH_HOTWIREKIT_DESC; + weight = 2; +}; + +class ItemCards : CA_Magazine +{ + scope = public; + count = 1; + type = WeaponSlotItem; + + model = "z\addons\dayz_communityassets\models\cards.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_cards_ca.paa"; + displayName = $STR_ITEM_NAME_CARDS; + descriptionShort = $STR_ITEM_DESC_CARDS; +}; + +class ItemKosmosSmokes : CA_Magazine +{ + scope = public; + count = 1; + type = WeaponSlotItem; + + model = "\z\addons\dayz_communityassets\models\smokes_kosmos.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_kosmos_ca.paa"; + displayName = $STR_ITEM_NAME_KOSMOS_SMOKES; + descriptionShort = $STR_ITEM_DESC_KOSMOS_SMOKES; +}; + +class ItemKosmosSmokesOpen : CA_Magazine +{ + scope = public; + count = 1; + type = WeaponSlotItem; + + model = "\z\addons\dayz_communityassets\models\smokes_open_k.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_smokes_open_k_ca.paa"; + displayName = $STR_ITEM_NAME_KOSMOS_SMOKES; + descriptionShort = $STR_ITEM_DESC_KOSMOS_SMOKES_OPENED; +}; + +class equip_nails : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_nails; + descriptionShort = $STR_ITEM_DESC_equip_nails; + model = "\z\addons\dayz_communityassets\models\nails.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_nails_ca.paa"; + type = 256; +}; + +class ItemScrews: CA_Magazine +{ + scope = 2; + count = 1; + type = 256; + displayName = $STR_BLD_name_ItemScrews;//"Box of screws for metal" + picture = "\z\addons\dayz_epoch_w\magazine\ui\m_screws_ca.paa"; + model = "\z\addons\dayz_epoch_w\magazine\dze_screwtray.p3d"; + descriptionShort = $STR_BLD_desc_ItemScrews;//"Box of screws" +}; + +class equip_duct_tape : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_duct_tape; + descriptionShort = $STR_ITEM_DESC_equip_duct_tape; + model = "\z\addons\dayz_communityassets\models\duct_tape.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\tape.paa"; + type = 256; +}; + +class equip_feathers : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_feathers; + descriptionShort = $STR_ITEM_DESC_equip_feathers; + model = "\z\addons\dayz_communityassets\models\feather.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_feather_ca.paa"; + type = 256; +}; + +class equip_pvc_box : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_pvc_box; + descriptionShort = $STR_ITEM_DESC_equip_pvc_box; + model = "\z\addons\dayz_communityassets\models\plastic_box.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_plastic_box_ca.paa"; + type = 256; +}; + +class equip_hobo_fishing_kit : CA_Magazine { + scope = public; + count = 1; + displayName = "Hobo Fishing Kit"; + descriptionShort = "Hobo Fishing Kit, catches dem fishes"; + model = "\z\addons\dayz_communityassets\models\hobofishingkit.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_hobofishingkit_ca.paa"; + type = 256; +}; + +class equip_hose : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_hose; + descriptionShort = $STR_ITEM_DESC_equip_hose; + model = "\z\addons\dayz_communityassets\models\hose.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_hose.paa"; + type = 256; +}; + +class equip_hose_clamp : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_hose_clamp; + descriptionShort = $STR_ITEM_DESC_equip_hose_clamp; + model = "\z\addons\dayz_communityassets\models\hose_clamp.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_hoseclamp_ca.paa"; + type = 256; +}; + +class Item_coni : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_DESC_equip_con_i; + descriptionShort = $STR_ITEM_NAME_equip_con_i; + model = "z\addons\dayz_communityassets\models\connector_i.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_connector_i_ca.paa"; + type = 256; +}; + +class Item_Connector_I : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_DESC_equip_con_i; + descriptionShort = $STR_ITEM_NAME_equip_con_i; + model = "z\addons\dayz_communityassets\models\connector_I.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_connector_I_ca.paa"; + type = 256; +}; + +class Item_Connector_L : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_DESC_equip_con_l; + descriptionShort = $STR_ITEM_NAME_equip_con_l; + model = "z\addons\dayz_communityassets\models\connector_L.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_connector_L_ca.paa"; + type = 256; +}; + +class Item_Connector_T : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_DESC_equip_con_t; + descriptionShort = $STR_ITEM_NAME_equip_con_t; + model = "z\addons\dayz_communityassets\models\connector_T.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_connector_T_ca.paa"; + type = 256; +}; + +class equip_tin_powder : CA_Magazine { + scope = public; + count = 1; + displayName = "Tin of Powder"; + descriptionShort = "Tin of Powder has medicinal qualities"; + model = "\z\addons\dayz_communityassets\models\tin_powder.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_tin_powder_co.paa"; + type = 256; +}; + +class equip_slugsinacan : CA_Magazine { + scope = public; + count = 1; + displayName = "Slugs in a can"; + descriptionShort = "Slugs in a can"; + model = "\z\addons\dayz_communityassets\models\slugsinacan.p3d"; + picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_sluginacan.paa"; + type = 256; +}; + +//No models +class equip_cable_tie : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_cable_tie; + descriptionShort = $STR_ITEM_DESC_equip_cable_tie; + picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_cable_tie.paa"; + type = 256; +}; + +class equip_needle : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_needle; + descriptionShort = $STR_ITEM_DESC_equip_needle; + picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_needle.paa"; + type = 256; +}; + +class equip_laser : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_laser; + descriptionShort = $STR_ITEM_DESC_equip_laser; + picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_laser.paa"; + type = 256; +}; + +class equip_weapon_rails: CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_weapon_rails; + descriptionShort = $STR_ITEM_DESC_equip_weapon_rails; + picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_part_somegeneric.paa"; + type = 256; +}; + +class equip_rail_screws : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_rail_screws; + descriptionShort = $STR_ITEM_DESC_equip_rail_screws; + picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_part_somegeneric.paa"; + type = 256; +}; diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_fuse.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Not used/equip_fuse.hpp similarity index 100% rename from SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_fuse.hpp rename to SQF/dayz_code/Configs/CfgMagazines/Items/Not used/equip_fuse.hpp diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_part_camo.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Not used/equip_part_camo.hpp similarity index 100% rename from SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_part_camo.hpp rename to SQF/dayz_code/Configs/CfgMagazines/Items/Not used/equip_part_camo.hpp diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_part_silencer.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Not used/equip_part_silencer.hpp similarity index 100% rename from SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_part_silencer.hpp rename to SQF/dayz_code/Configs/CfgMagazines/Items/Not used/equip_part_silencer.hpp diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_part_sniper_scope.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Not used/equip_part_sniper_scope.hpp similarity index 100% rename from SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_part_sniper_scope.hpp rename to SQF/dayz_code/Configs/CfgMagazines/Items/Not used/equip_part_sniper_scope.hpp diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_pipecap.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Not used/equip_pipecap.hpp similarity index 100% rename from SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_pipecap.hpp rename to SQF/dayz_code/Configs/CfgMagazines/Items/Not used/equip_pipecap.hpp diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_rubber_tube.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Not used/equip_rubber_tube.hpp similarity index 100% rename from SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_rubber_tube.hpp rename to SQF/dayz_code/Configs/CfgMagazines/Items/Not used/equip_rubber_tube.hpp diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Ores.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Ores.hpp similarity index 100% rename from SQF/dayz_code/Configs/CfgMagazines/DZE/Ores.hpp rename to SQF/dayz_code/Configs/CfgMagazines/Items/Ores.hpp diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_paintbucket.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Paints.hpp similarity index 85% rename from SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_paintbucket.hpp rename to SQF/dayz_code/Configs/CfgMagazines/Items/Paints.hpp index ffc5f6b32..443ecad55 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_paintbucket.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/Paints.hpp @@ -1,3 +1,12 @@ +class equip_paint : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_paint; + descriptionShort = $STR_ITEM_DESC_equip_paint; + picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_paint.paa"; + type = 256; +}; + class equip_paint_generic : CA_Magazine { scope = public; count = 1; diff --git a/SQF/dayz_code/Configs/CfgMagazines/Planting.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Planting.hpp similarity index 59% rename from SQF/dayz_code/Configs/CfgMagazines/Planting.hpp rename to SQF/dayz_code/Configs/CfgMagazines/Items/Planting.hpp index 3b819f5db..95ee6e30c 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Planting.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/Planting.hpp @@ -92,3 +92,75 @@ class ItemHempPlant: CA_Magazine { }; }; }; + +class ItemKiloHemp : CA_Magazine +{ + scope = public; + count = 1; + displayName = $STR_EPOCH_KILOOFHEMP; + descriptionShort = $STR_EPOCH_KILOOFHEMP_DESC; + weight = 1; + model = "z\addons\dayz_epoch\models\kilohemp.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_kilohemp_CA.paa"; + type = 256; + class ItemActions + { + class Crafting + { + text = $STR_EPOCH_PLAYER_269b; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemKnife"}; + output[] = {{"ItemCanvas",1}}; + input[] = {{"ItemKiloHemp",1}}; + }; + class Crafting1 + { + text = $STR_EPOCH_PLAYER_269a; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {""}; + requiretools[] = {"ItemKnife"}; + output[] = {{"ItemHempSeed",5}}; + input[] = {{"ItemKiloHemp",1}}; + }; + }; +}; + +class ItemKiloTobacco : CA_Magazine +{ + scope = public; + count = 1; + displayName = $STR_EPOCH_KILOTOBACCO; + descriptionShort = $STR_EPOCH_KILOTOBACCO_DESC; + weight = 1; + model = "z\addons\dayz_epoch\models\kilohemp.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_kilohemp_CA.paa"; + type = 256; +}; + +class ItemKiloBlackTea : ItemKiloTobacco +{ + displayName = $STR_EPOCH_KILOBLACKTEA; + descriptionShort = $STR_EPOCH_KILOBLACKTEA_DESC; +}; + +class ItemTobaccoLeafs : CA_Magazine +{ + scope = public; + count = 1; + displayName = $STR_EPOCH_TOBACCO_LEAF; + descriptionShort = $STR_EPOCH_TOBACCO_LEAF_DESC; + model = "\z\addons\dayz_communityassets\models\comfrey.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_comfrey_CA.paa"; + type = 256; +}; + +class equip_comfreyleafs : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_comfreyleafs; + descriptionShort = $STR_ITEM_DESC_equip_comfreyleafs; + model = "\z\addons\dayz_communityassets\models\comfrey.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_comfrey_CA.paa"; + type = 256; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/Stone.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Stone.hpp deleted file mode 100644 index da79291ad..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/Stone.hpp +++ /dev/null @@ -1,10 +0,0 @@ -class ItemStone: CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_BLD_name_ItemStone;//"Rough Stone" - picture = "\z\addons\dayz_buildings\equip\rocks.paa"; - model = "z\addons\dayz_buildings\models\rocks.p3d"; - descriptionShort = $STR_BLD_desc_ItemStone;//"Rough Stone" -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/TankTrap.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/TankTrap.hpp deleted file mode 100644 index 0b57e3b01..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/TankTrap.hpp +++ /dev/null @@ -1,24 +0,0 @@ -class ItemTankTrap : CA_Magazine -{ - scope = public; - count = 1; - type = WeaponSlotItem; - - model = "\dayz_equip\models\tank_trap_kit.p3d"; - picture = "\dayz_equip\textures\equip_tanktrap_kit_CA.paa"; - displayName = $STR_EQUIP_NAME_22; - descriptionShort = $STR_EQUIP_DESC_22; - - class ItemActions - { - class Build - { - text = $STR_ACTION_BUILD; - script = "spawn player_build;"; - require[] = {"ItemToolbox"}; - consume[] = {"ItemTankTrap"}; - create = "Hedgehog_DZ"; - byPass = "byPassRoadCheck"; - }; - }; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/Textiles.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Textiles.hpp new file mode 100644 index 000000000..0669c1e0e --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/Textiles.hpp @@ -0,0 +1,122 @@ +class ItemCanvas: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_CANVAS; + model = "\z\addons\dayz_epoch\models\canvas.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_canvas_ca.paa"; + descriptionShort = $STR_EPOCH_CANVAS_DESC; + class ItemActions + { + class Crafting + { + text = $STR_EPOCH_PLAYER_190; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemKnife"}; + output[] = {{"ItemTent",1}}; + input[] = {{"ItemCanvas",2},{"equip_tent_poles",2}}; + }; + class Crafting1 + { + text = $STR_EPOCH_PLAYER_191; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemKnife"}; + output[] = {{"ItemDesertTent",1}}; + input[] = {{"ItemCanvas",3},{"equip_tent_poles",2}}; + }; + class Crafting2 + { + text = $STR_EPOCH_PLAYER_192; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemKnife"}; + output[] = {{"ItemDomeTent",1}}; + input[] = {{"ItemCanvas",3},{"equip_tent_poles",2}}; + }; + class Crafting3 + { + text = $STR_EPOCH_PLAYER_193; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemKnife"}; + output[] = {{"sun_shade_kit",1}}; + input[] = {{"ItemCanvas",1},{"PartWoodLumber",4}}; + }; + class Crafting4 + { + text = $STR_EPOCH_PLAYER_194; + script = ";['Crafting4','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemKnife"}; + output[] = {{"ItemBurlap",1}}; + input[] = {{"ItemCanvas",2}}; + }; + }; +}; +class ItemBurlap: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_BURLAP; + model = "\z\addons\dayz_epoch\models\burlap.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_burlap_ca.paa"; + descriptionShort = $STR_EPOCH_BURLAP_DESC; + class ItemActions + { + class Crafting + { + text = $STR_EPOCH_PLAYER_195; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"sand"}; // todo add sand requirement + requiretools[] = {"ItemEtool","ItemToolbox"}; + output[] = {{"ItemSandbag",1}}; + input[] = {{"ItemBurlap",3}}; + }; + }; +}; + +class equip_rag : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_rag; + descriptionShort = $STR_ITEM_DESC_equip_rag; + model = "\z\addons\dayz_communityassets\models\rag_clean.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_rag_clean_ca.paa"; + type = 256; +}; + +class equip_string : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_string; + descriptionShort = $STR_ITEM_DESC_equip_string; + model = "\z\addons\dayz_communityassets\models\string.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_string_ca.paa"; + type = 256; +}; + +class equip_rope : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_rope; + descriptionShort = $STR_ITEM_DESC_equip_rope; + model = "\z\addons\dayz_communityassets\models\rope.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_rope_ca.paa"; + type = 256; + class ItemActions + { + class Crafting + { + text = $STR_BLD_craft_equip_rope;//"String" + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemKnife"}; + output[] = {{"equip_string",2}}; + input[] = {{"equip_rope",1}}; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/ToolCrafting.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/ToolCrafting.hpp new file mode 100644 index 000000000..282bc3aa3 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/ToolCrafting.hpp @@ -0,0 +1,80 @@ +class equip_lever : CA_Magazine +{ + scope = public; + count = 1; + type = WeaponSlotItem; + picture = "\dayz_equip\textures\equip_lever.paa"; + model = "\z\addons\dayz_epoch_w\magazine\dze_handle.p3d"; + descriptionShort = $STR_EQUIP_DESC_LEVER; + displayName = $STR_EQUIP_NAME_LEVER; +}; + +class ItemSledgeHead : CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_SLEDGEHAMMERHEAD; + model = "\z\addons\dayz_epoch\models\sledge_head.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_sledge_head_ca.paa"; + descriptionShort = $STR_EPOCH_SLEDGEHAMMERHEAD_DESC; + weight = 9; + class ItemActions + { + class Crafting + { + text = $STR_EPOCH_PLAYER_275; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {}; + outputweapons[] = {"ItemSledge"}; + input[] = {{"ItemSledgeHead",1},{"ItemSledgeHandle",1}}; + }; + }; +}; + +class ItemSledgeHandle : CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_SLEDGEHAMMERHANDLE; + model = "\z\addons\dayz_epoch\models\sledge_handle.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_sledge_handle_ca.paa"; + descriptionShort = $STR_EPOCH_SLEDGEHAMMERHANDLE_DESC; + weight = 1; + class ItemActions + { + class Crafting + { + text = $STR_EPOCH_PLAYER_275; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {}; + outputweapons[] = {"ItemSledge"}; + input[] = {{"ItemSledgeHead",1},{"ItemSledgeHandle",1}}; + }; + }; +}; + +class equip_Crossbow_Kit : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_CROSSBOW_KIT; + descriptionShort = $STR_ITEM_DESC_CROSSBOW_KIT; + model = "\z\addons\community_crossbow\models\Crossbow_kit.p3d"; + picture = "\z\addons\community_crossbow\textures\Crossbow_kit.paa"; + type = 256; +}; + +class equip_crossbow_stock : CA_Magazine { + scope = public; + count = 1; + displayName = "Crossbow (Stock)"; + descriptionShort="You require a Crossbow String kit to craft this weapon"; + model = "z\addons\community_crossbow\models\crossbow_stock.p3d"; + picture = "\z\addons\community_crossbow\icons\crossbow_stock.paa"; + type = 256; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/VehicleParts.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/VehicleParts.hpp similarity index 79% rename from SQF/dayz_code/Configs/CfgMagazines/VehicleParts.hpp rename to SQF/dayz_code/Configs/CfgMagazines/Items/VehicleParts.hpp index aa1c211eb..7cc168bdd 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/VehicleParts.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/VehicleParts.hpp @@ -90,24 +90,4 @@ class PartGlass : CA_Magazine descriptionShort = $STR_EQUIP_DESC_30; }; -class PartGeneric : CA_Magazine -{ - scope = public; - count = 1; - type = WeaponSlotItem; - - model = "\dayz_equip\models\genericparts.p3d"; - picture = "\dayz_equip\textures\equip_genericparts_ca.paa"; - displayName = $STR_EQUIP_NAME_10; - descriptionShort = $STR_EQUIP_DESC_10; - class ItemActions { - class Crafting { - text = $STR_EPOCH_PLAYER_213; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {"fire"}; - requiretools[] = {"ItemToolbox","ItemCrowbar"}; - output[] = {{"ItemPole",1}}; - input[] = {{"PartGeneric",2}}; - }; - }; -}; \ No newline at end of file +// PartGeneric can be found under Items\Metal.hpp diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/WaterBottle.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/WaterBottle.hpp deleted file mode 100644 index 7abbf1ec6..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/WaterBottle.hpp +++ /dev/null @@ -1,49 +0,0 @@ -class ItemWaterBottleUnfilled : CA_Magazine -{ - scope = public; - count = 1; - type = WeaponSlotItem; - - model = "\dayz_equip\models\waterbottle_gear.p3d"; - picture = "\dayz_equip\textures\equip_waterbottle_empty_ca.paa"; - displayName = $STR_EQUIP_NAME_13; - descriptionShort = $STR_EQUIP_DESC_13; - - containerWater = "ItemWaterBottle"; - containerWaterSafe = "ItemWaterBottleSafe"; - containerWaterInfected = "ItemWaterBottleInfected"; - - class ItemActions - { - class Fill - { - text = $STR_ACTIONS_FILL_W; - script = "spawn player_fillWater;"; - }; - }; -}; - -class ItemWaterBottleDmg : CA_Magazine //We don't have a damaged canteen image/model , so the regular bottle image is used for now -{ - scope = public; - count = 1; - type = WeaponSlotItem; - - model = "\dayz_equip\models\waterbottle_gear.p3d"; - picture = "\dayz_equip\textures\equip_waterbottle_empty_ca.paa"; - displayName = $STR_ITEMWATERBOTTLEDMG_CODE_NAME; - descriptionShort = $STR_ITEMWATERBOTTLEDMG_CODE_DESC; - sfx = "bandage"; - - class ItemActions - { - class Crafting { - text = $STR_ACTIONS_FIX_W; - script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; - neednearby[] = {}; - requiretools[] = {}; - output[] = {{"ItemWaterbottleUnfilled",1}}; - input[] = {{"ItemWaterBottleDmg",1},{"equip_duct_tape",1}}; - }; - }; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/WireFence.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/WireFence.hpp deleted file mode 100644 index ebc93006c..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/WireFence.hpp +++ /dev/null @@ -1,24 +0,0 @@ -class ItemWire : CA_Magazine -{ - scope = public; - count = 1; - type = WeaponSlotItem; - - model = "\dayz_equip\models\Fence_wire_kit.p3d"; - picture = "\dayz_equip\textures\equip_fencewire_kit_CA.paa"; - displayName = $STR_EQUIP_NAME_23; - descriptionShort = $STR_EQUIP_DESC_23; - - class ItemActions - { - class Build - { - text = $STR_ACTION_BUILD; - script = "spawn player_build;"; - require[] = {"ItemToolbox"}; - consume[] = {"ItemWire"}; - create = "Fort_RazorWire"; // vanilla uses Wire_cat1 - byPass = "byPassRoadCheck"; - }; - }; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/Wood.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Wood.hpp index ef0f4ba31..33aa7afdd 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/Wood.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/Wood.hpp @@ -108,4 +108,222 @@ class PartWoodPile : CA_Magazine }; }; +}; + +class PartPlankPack: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_LUMBERPACK; + model = "\z\addons\dayz_epoch\models\plank_pack.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_lumber_pack_CA.paa"; + descriptionShort = $STR_EPOCH_LUMBERPACK_DESC; + weight = 6; + class ItemActions + { + class Crafting + { + text = $STR_EPOCH_PLAYER_251; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"sawmill"}; + requiretools[] = {"ItemToolbox","ItemKnife"}; + output[] = {{"PartWoodLumber",3}}; + input[] = {{"PartPlankPack",1}}; + }; + }; +}; + +class PartPlywoodPack: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_PLYWOODPACK; + model = "\z\addons\dayz_epoch\models\plywood_pack.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_plywood_pack_CA.paa"; + descriptionShort = $STR_EPOCH_PLYWOODPACK_DESC; + weight = 12; + class ItemActions + { + class Crafting + { + text = $STR_EPOCH_PLAYER_251; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"sawmill"}; + requiretools[] = {"ItemToolbox","ItemKnife"}; + output[] = {{"PartWoodPlywood",3}}; + input[] = {{"PartPlywoodPack",1}}; + }; + }; +}; + +class PartWoodLumber: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_LUMBER; + model = "\z\addons\dayz_epoch\models\planks.p3d"; + picture= "\z\addons\dayz_epoch\pictures\equip_wood_planks_CA.paa"; + descriptionShort = $STR_EPOCH_LUMBER_DESC; + class ItemActions + { + class Crafting + { + text = $STR_EPOCH_PLAYER_254; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"sawmill"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"PartWoodPlywood",1}}; + input[] = {{"PartWoodLumber",2}}; + + }; + class Crafting1 + { + text = $STR_EPOCH_PLAYER_255; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"bulk_empty",1}}; + input[] = {{"PartWoodLumber",2},{"PartGeneric",1}}; + + }; + class Crafting2 + { + text = $STR_EPOCH_PLAYER_256; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemCrowbar"}; + output[] = {{"deer_stand_kit",1}}; + input[] = {{"PartWoodLumber",8},{"PartWoodPile",2}}; + + }; + class Crafting3 + { + text = $STR_EPOCH_PLAYER_257; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"ItemWoodStairs",1}}; + input[] = {{"PartWoodLumber",8}}; + + }; + class Crafting4 + { + text = $STR_EPOCH_PLAYER_258; + script = ";['Crafting4','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"ItemWoodLadder",1}}; + input[] = {{"PartWoodLumber",8}}; + + }; + class Crafting5 + { + text = $STR_EPOCH_PLAYER_259; + Script = ";['Crafting5','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"sawmill"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"PartPlankPack",1}}; + input[] = {{"PartWoodLumber",3}}; + }; + class Crafting6 + { + text = $STR_EPOCH_PLAYER_277; + Script = ";['Crafting6','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"ItemGunRackKit",1}}; + input[] = {{"PartWoodLumber",6}}; + }; + class Crafting7 + { + text = $STR_EPOCH_PLAYER_304; + Script = ";['Crafting7','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"ItemWoodCrateKit",1}}; + input[] = {{"PartWoodLumber",6}}; + }; + }; +}; + +class PartWoodPlywood: CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_PLYWOOD; + model = "\z\addons\dayz_epoch\models\plywood.p3d"; + picture= "\z\addons\dayz_epoch\pictures\equip_plywood_CA.paa"; + descriptionShort = $STR_EPOCH_PLYWOOD_DESC; + class ItemActions + { + class Crafting + { + text = $STR_EPOCH_PLAYER_260; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"workbench_kit",1}}; + input[] = {{"PartWoodPlywood",1},{"PartWoodLumber",2}}; + }; + class Crafting1 + { + text = $STR_EPOCH_PLAYER_261; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"wood_shack_kit",1}}; + input[] = {{"PartWoodPlywood",4},{"PartWoodLumber",4}}; + }; + class Crafting2 + { + text = $STR_EPOCH_PLAYER_262; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemCrowbar"}; + output[] = {{"ItemWoodFloorQuarter",1}}; + input[] = {{"PartWoodPlywood",3},{"PartWoodLumber",3}}; + }; + class Crafting3 + { + text = $STR_EPOCH_PLAYER_263; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox","ItemCrowbar"}; + output[] = {{"ItemWoodWallThird",1}}; + input[] = {{"PartWoodPlywood",3},{"PartWoodLumber",3}}; + }; + class Crafting4 + { + text = $STR_EPOCH_PLAYER_264; + Script = ";['Crafting4','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"sawmill"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"PartPlywoodPack",1}}; + input[] = {{"PartWoodPlywood",3}}; + }; + }; +}; + +class equip_wood_pallet : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_wood_pallet; + descriptionShort = $STR_ITEM_DESC_equip_wood_pallet; + model = "\z\addons\dayz_communityassets\models\wooden_pallet.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_wpallet_ca.paa"; + type = 256; +}; + +class equip_crate : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_crate; + descriptionShort = $STR_ITEM_DESC_equip_crate; + model = "\z\addons\dayz_communityassets\models\crate.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_crate.paa"; + type = 256; }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/Workbench.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Workbench.hpp deleted file mode 100644 index 6d30c21d2..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/Workbench.hpp +++ /dev/null @@ -1,22 +0,0 @@ -class ItemWorkBench : CA_Magazine -{ - scope = public; - count = 1; - type = 256; - displayName = $STR_BLD_name_ItemWorkBench;//"Work Bench (Packed)" - model = "z\addons\dayz_buildings\models\workbench_flat.p3d"; - picture = "\z\addons\dayz_buildings\equip\item_workbench.paa"; // add to PBO - descriptionShort = $STR_BLD_desc_ItemWorkBench;//"A Folded Workbench, required for House Building and Some Crafting" - vehicle = "WorkBench"; - sfx = "tentunpack"; - - class ItemActions { - class Build { - text = $STR_BLD_build_ItemWorkBench;//"place WorkBench" - script = "; ['ItemWorkBench','Build'] spawn player_buildPlaceables;"; - require[] = {}; - consume[] = {"ItemWorkBench"}; - create = "WorkBench"; - }; - }; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/equip_brick.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/equip_brick.hpp deleted file mode 100644 index 6a15aa17f..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/equip_brick.hpp +++ /dev/null @@ -1,11 +0,0 @@ -class equip_brick : CA_Magazine -{ - scope = public; - count = 1; - type = WeaponSlotItem; - - model = "\z\addons\dayz_communityassets\models\brick.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_brick.paa"; - displayName = $STR_ITEM_NAME_equip_brick; - descriptionShort = $STR_ITEM_DESC_equip_brick; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/equip_lever.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/equip_lever.hpp deleted file mode 100644 index 3d737a84d..000000000 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/equip_lever.hpp +++ /dev/null @@ -1,10 +0,0 @@ -class equip_lever : CA_Magazine -{ - scope = public; - count = 1; - type = WeaponSlotItem; - picture = "\dayz_equip\textures\equip_lever.paa"; - model = "\z\addons\dayz_epoch_w\magazine\dze_handle.p3d"; - descriptionShort = $STR_EQUIP_DESC_LEVER; - displayName = $STR_EQUIP_NAME_LEVER; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Magazines/Magazines.hpp b/SQF/dayz_code/Configs/CfgMagazines/Magazines/Magazines.hpp index ad79ef107..53e4bef03 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Magazines/Magazines.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Magazines/Magazines.hpp @@ -36,5 +36,6 @@ #include "Arrows.hpp" #include "LauncherAmmo.hpp" #include "Grenades.hpp" +#include "VehicleAmmo.hpp" #undef COMBINE_MAG \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/VehicleAmmo.hpp b/SQF/dayz_code/Configs/CfgMagazines/Magazines/VehicleAmmo.hpp similarity index 100% rename from SQF/dayz_code/Configs/CfgMagazines/VehicleAmmo.hpp rename to SQF/dayz_code/Configs/CfgMagazines/Magazines/VehicleAmmo.hpp diff --git a/SQF/dayz_code/Configs/CfgMagazines/Medical/Medical.hpp b/SQF/dayz_code/Configs/CfgMagazines/Medical/Medical.hpp index 3459913d7..f2325a546 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Medical/Medical.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Medical/Medical.hpp @@ -117,4 +117,49 @@ class ItemHeatPack : CA_Magazine script = "spawn player_useMeds;"; }; }; +}; + +class equip_woodensplint : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_WOODENSPLINT; + descriptionShort = $STR_ITEM_DESC_WOODENSPLINT; + model = "\z\addons\dayz_communityassets\models\woodensplint.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_woodensplint_ca.paa"; + type = 256; + class ItemActions { + class Use { + text = $STR_ACTIONS_BRACE_LEG; + script = "spawn player_useMeds;"; + }; + }; +}; + +class equip_gauze : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_gauze; + descriptionShort = $STR_ITEM_DESC_equip_gauze; + model = "\z\addons\dayz_communityassets\models\gauze.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_gauze_ca.paa"; + type = 256; +}; + +class equip_gauzepackaged : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_ITEM_NAME_equip_gauzepackaged; + descriptionShort = $STR_ITEM_DESC_equip_gauzepackaged; + model = "\z\addons\dayz_communityassets\models\gauze_package.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_gauze_package_ca.paa"; + type = 256; +}; + +class equip_herb_box : CA_Magazine { + scope = public; + count = 1; + displayName = $STR_EQUIP_NAME_HERBBOX; + descriptionShort = $STR_EQUIP_DESC_HERBBOX; + model = "\z\addons\dayz_communityassets\models\herb_box.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_herb_box_ca.paa"; }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Trash/Misc.hpp b/SQF/dayz_code/Configs/CfgMagazines/Trash/Misc.hpp index 296d9ea5d..9a242a8bb 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Trash/Misc.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Trash/Misc.hpp @@ -10,78 +10,6 @@ class TrashJackDaniels : HandGrenade ammo = "JackDaniels"; }; -class ItemBookBible : CA_Magazine -{ - scope = public; - count = 1; - type = WeaponSlotItem; - - model = "z\addons\dayz_communityassets\models\bible.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_bible_CA.paa"; - displayName = $STR_BOOK_NAME_BIBLE; - descriptionShort = $STR_BOOK_DESC_BIBLE; -}; - -class ItemCards : CA_Magazine -{ - scope = public; - count = 1; - type = WeaponSlotItem; - - model = "z\addons\dayz_communityassets\models\cards.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_cards_ca.paa"; - displayName = $STR_ITEM_NAME_CARDS; - descriptionShort = $STR_ITEM_DESC_CARDS; -}; - -class ItemKosmosSmokes : CA_Magazine -{ - scope = public; - count = 1; - type = WeaponSlotItem; - - model = "\z\addons\dayz_communityassets\models\smokes_kosmos.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_kosmos_ca.paa"; - displayName = $STR_ITEM_NAME_KOSMOS_SMOKES; - descriptionShort = $STR_ITEM_DESC_KOSMOS_SMOKES; -}; - -class ItemKosmosSmokesOpen : CA_Magazine -{ - scope = public; - count = 1; - type = WeaponSlotItem; - - model = "\z\addons\dayz_communityassets\models\smokes_open_k.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_smokes_open_k_ca.paa"; - displayName = $STR_ITEM_NAME_KOSMOS_SMOKES; - descriptionShort = $STR_ITEM_DESC_KOSMOS_SMOKES_OPENED; -}; - -class ItemTrashPaper : CA_Magazine -{ - scope = public; - count = 1; - type = WeaponSlotItem; - - model = "z\addons\dayz_communityassets\models\paper_sheet_clean_note.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_paper_sheet_note_ca.paa"; - displayName = $STR_name_ItemTrashPaper; - descriptionShort = $STR_desc_ItemTrashPaper; -}; - -class ItemTrashPaperMusic : CA_Magazine -{ - scope = public; - count = 1; - type = WeaponSlotItem; - - model = "z\addons\dayz_communityassets\models\paper_sheet_musical.p3d"; - picture = "\z\addons\dayz_communityassets\pictures\equip_paper_sheet_musical_ca.paa"; - displayName = $STR_name_ItemTrashPaperMusic; - descriptionShort = $STR_desc_ItemTrashPaperMusic; -}; - class ItemTrashRazor : CA_Magazine { scope = public;