diff --git a/SQF/dayz_code/Configs/CfgMagazines/Buildings/Misc.hpp b/SQF/dayz_code/Configs/CfgMagazines/Buildings/Misc.hpp index e9b3dd0db..9ac1db0c6 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Buildings/Misc.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Buildings/Misc.hpp @@ -459,4 +459,29 @@ class ItemScaffoldingKit: CA_Magazine create = "Scaffolding_DZ"; }; }; -}; \ No newline at end of file +}; + +/* + +class cook_tripod_kit: CA_Magazine +{ + scope = 2; + count = 1; + displayName = $STR_ITEM_NAME_COOKINGTRIPOD; + descriptionShort = $STR_ITEM_DESC_COOKINGTRIPOD; + 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[] = {}; + create = "CookTripod_DZ"; + }; + }; +}; + +*/ \ 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 index c53762211..bc37c3d93 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/Concrete.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/Concrete.hpp @@ -120,4 +120,14 @@ class equip_brick : CA_Magazine picture = "\z\addons\dayz_communityassets\pictures\equip_brick.paa"; displayName = $STR_ITEM_NAME_equip_brick; descriptionShort = $STR_ITEM_DESC_equip_brick; +}; + +class CementBag: CA_Magazine +{ + scope = 2; + count = 1; + displayName = $STR_ITEM_NAME_CEMENT_BAG; + descriptionShort = $STR_ITEM_DESC_CEMENT_BAG; + picture = "\dayz_epoch_c\icons\equipment\ItemCementBag.paa"; + model = "\z\addons\dayz_epoch_w\items\cement_bag.p3d"; }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/DocumentsPapers.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/DocumentsPapers.hpp index a90463bb2..8ffcdc623 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/DocumentsPapers.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/DocumentsPapers.hpp @@ -303,4 +303,205 @@ class ItemARM: CA_Magazine script = "spawn player_upgradeVehicle;"; }; }; +}; + +class Blueprint_01: CA_Magazine +{ + scope = 2; + count = 1; + displayName = $STR_ITEM_NAME_BLUEPRINT_01; + descriptionShort = $STR_ITEM_DESC_BLUEPRINT_01; + picture = "\dayz_epoch_c\icons\equipment\ItemBlueprint.paa"; + model = "\z\addons\dayz_epoch_w\items\bluprint_01.p3d"; +}; +class Blueprint_02: CA_Magazine +{ + scope = 2; + count = 1; + displayName = $STR_ITEM_NAME_BLUEPRINT_02; + descriptionShort = $STR_ITEM_DESC_BLUEPRINT_02; + picture = "\dayz_epoch_c\icons\equipment\ItemBlueprint.paa"; + model = "\z\addons\dayz_epoch_w\items\bluprint_01.p3d"; +}; +class Blueprint_03: CA_Magazine +{ + scope = 2; + count = 1; + displayName = $STR_ITEM_NAME_BLUEPRINT_03; + descriptionShort = $STR_ITEM_DESC_BLUEPRINT_03; + picture = "\dayz_epoch_c\icons\equipment\ItemBlueprint.paa"; + model = "\z\addons\dayz_epoch_w\items\bluprint_01.p3d"; +}; +class Blueprint_04: CA_Magazine +{ + scope = 2; + count = 1; + displayName = $STR_ITEM_NAME_BLUEPRINT_04; + descriptionShort = $STR_ITEM_DESC_BLUEPRINT_04; + picture = "\dayz_epoch_c\icons\equipment\ItemBlueprint.paa"; + model = "\z\addons\dayz_epoch_w\items\bluprint_01.p3d"; +}; +class Blueprint_05: CA_Magazine +{ + scope = 2; + count = 1; + displayName = $STR_ITEM_NAME_BLUEPRINT_05; + descriptionShort = $STR_ITEM_DESC_BLUEPRINT_05; + picture = "\dayz_epoch_c\icons\equipment\ItemBlueprint.paa"; + model = "\z\addons\dayz_epoch_w\items\bluprint_01.p3d"; +}; +class Blueprint_06: CA_Magazine +{ + scope = 2; + count = 1; + displayName = $STR_ITEM_NAME_BLUEPRINT_06; + descriptionShort = $STR_ITEM_DESC_BLUEPRINT_06; + picture = "\dayz_epoch_c\icons\equipment\ItemBlueprint.paa"; + model = "\z\addons\dayz_epoch_w\items\bluprint_01.p3d"; +}; +class Blueprint_07: CA_Magazine +{ + scope = 2; + count = 1; + displayName = $STR_ITEM_NAME_BLUEPRINT_07; + descriptionShort = $STR_ITEM_DESC_BLUEPRINT_07; + picture = "\dayz_epoch_c\icons\equipment\ItemBlueprint.paa"; + model = "\z\addons\dayz_epoch_w\items\bluprint_01.p3d"; +}; +class Blueprint_08: CA_Magazine +{ + scope = 2; + count = 1; + displayName = $STR_ITEM_NAME_BLUEPRINT_08; + descriptionShort = $STR_ITEM_DESC_BLUEPRINT_08; + picture = "\dayz_epoch_c\icons\equipment\ItemBlueprint.paa"; + model = "\z\addons\dayz_epoch_w\items\bluprint_01.p3d"; +}; +class Blueprint_09: CA_Magazine +{ + scope = 2; + count = 1; + displayName = $STR_ITEM_NAME_BLUEPRINT_09; + descriptionShort = $STR_ITEM_DESC_BLUEPRINT_09; + picture = "\dayz_epoch_c\icons\equipment\ItemBlueprint.paa"; + model = "\z\addons\dayz_epoch_w\items\bluprint_01.p3d"; +}; +class Blueprint_10: CA_Magazine +{ + scope = 2; + count = 1; + displayName = $STR_ITEM_NAME_BLUEPRINT_10; + descriptionShort = $STR_ITEM_DESC_BLUEPRINT_10; + picture = "\dayz_epoch_c\icons\equipment\ItemBlueprint.paa"; + model = "\z\addons\dayz_epoch_w\items\bluprint_01.p3d"; +}; +class Blueprint_11: CA_Magazine +{ + scope = 2; + count = 1; + displayName = $STR_ITEM_NAME_BLUEPRINT_11; + descriptionShort = $STR_ITEM_DESC_BLUEPRINT_11; + picture = "\dayz_epoch_c\icons\equipment\ItemBlueprint.paa"; + model = "\z\addons\dayz_epoch_w\items\bluprint_01.p3d"; +}; +class Blueprint_12: CA_Magazine +{ + scope = 2; + count = 1; + displayName = $STR_ITEM_NAME_BLUEPRINT_12; + descriptionShort = $STR_ITEM_DESC_BLUEPRINT_12; + picture = "\dayz_epoch_c\icons\equipment\ItemBlueprint.paa"; + model = "\z\addons\dayz_epoch_w\items\bluprint_01.p3d"; +}; +class Blueprint_13: CA_Magazine +{ + scope = 2; + count = 1; + displayName = $STR_ITEM_NAME_BLUEPRINT_13; + descriptionShort = $STR_ITEM_DESC_BLUEPRINT_13; + picture = "\dayz_epoch_c\icons\equipment\ItemBlueprint.paa"; + model = "\z\addons\dayz_epoch_w\items\bluprint_01.p3d"; +}; +class Blueprint_14: CA_Magazine +{ + scope = 2; + count = 1; + displayName = $STR_ITEM_NAME_BLUEPRINT_14; + descriptionShort = $STR_ITEM_DESC_BLUEPRINT_14; + picture = "\dayz_epoch_c\icons\equipment\ItemBlueprint.paa"; + model = "\z\addons\dayz_epoch_w\items\bluprint_01.p3d"; +}; +class Blueprint_15: CA_Magazine +{ + scope = 2; + count = 1; + displayName = $STR_ITEM_NAME_BLUEPRINT_15; + descriptionShort = $STR_ITEM_DESC_BLUEPRINT_15; + picture = "\dayz_epoch_c\icons\equipment\ItemBlueprint.paa"; + model = "\z\addons\dayz_epoch_w\items\bluprint_01.p3d"; +}; +class Blueprint_16: CA_Magazine +{ + scope = 2; + count = 1; + displayName = $STR_ITEM_NAME_BLUEPRINT_16; + descriptionShort = $STR_ITEM_DESC_BLUEPRINT_16; + picture = "\dayz_epoch_c\icons\equipment\ItemBlueprint.paa"; + model = "\z\addons\dayz_epoch_w\items\bluprint_01.p3d"; +}; +class Blueprint_17: CA_Magazine +{ + scope = 2; + count = 1; + displayName = $STR_ITEM_NAME_BLUEPRINT_17; + descriptionShort = $STR_ITEM_DESC_BLUEPRINT_17; + picture = "\dayz_epoch_c\icons\equipment\ItemBlueprint.paa"; + model = "\z\addons\dayz_epoch_w\items\bluprint_01.p3d"; +}; +class Blueprint_18: CA_Magazine +{ + scope = 2; + count = 1; + displayName = $STR_ITEM_NAME_BLUEPRINT_18; + descriptionShort = $STR_ITEM_DESC_BLUEPRINT_18; + picture = "\dayz_epoch_c\icons\equipment\ItemBlueprint.paa"; + model = "\z\addons\dayz_epoch_w\items\bluprint_01.p3d"; +}; +class Blueprint_19: CA_Magazine +{ + scope = 2; + count = 1; + displayName = $STR_ITEM_NAME_BLUEPRINT_19; + descriptionShort = $STR_ITEM_DESC_BLUEPRINT_19; + picture = "\dayz_epoch_c\icons\equipment\ItemBlueprint.paa"; + model = "\z\addons\dayz_epoch_w\items\bluprint_01.p3d"; +}; +class Blueprint_20: CA_Magazine +{ + scope = 2; + count = 1; + displayName = $STR_ITEM_NAME_BLUEPRINT_20; + descriptionShort = $STR_ITEM_DESC_BLUEPRINT_20; + picture = "\dayz_epoch_c\icons\equipment\ItemBlueprint.paa"; + model = "\z\addons\dayz_epoch_w\items\bluprint_01.p3d"; +}; + +class PileBooks: CA_Magazine +{ + scope = 2; + count = 1; + displayName = $STR_ITEM_NAME_PILEOFBOOKS; + descriptionShort = $STR_ITEM_DESC_PILEOFBOOKS; + picture = "\dayz_epoch_c\icons\equipment\ItemPileBooks.paa"; + model = "\z\addons\dayz_epoch_w\items\books.p3d"; +}; + +class PileMedBooks: CA_Magazine +{ + scope = 2; + count = 1; + displayName = $STR_ITEM_NAME_PILEOFMEDBOOKS; + descriptionShort = $STR_ITEM_DESC_PILEOFMEDBOOKS; + picture = "\dayz_epoch_c\icons\equipment\ItemPileMedBooks.paa"; + model = "\z\addons\dayz_epoch_w\items\books_med.p3d"; }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgVehicles/Buildables/Misc.hpp b/SQF/dayz_code/Configs/CfgVehicles/Buildables/Misc.hpp index b935aaedb..d4f7d8287 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Buildables/Misc.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Buildables/Misc.hpp @@ -396,7 +396,7 @@ class Land_HBarrier5_DZ:BuiltItems { constructioncount = 8; removeoutput[] = {{"ItemSandbagExLarge5x",1}}; nounderground = 0; - }; +}; class SandNest_DZ : BuiltItems { scope = 2; @@ -482,3 +482,18 @@ class WoodGate_DZ: BuiltItems }; }; +/* +class CookTripod_DZ: BuiltItems +{ + scope = 2; + destrType = "DestructBuilding"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 100; + model = "\z\addons\dayz_epoch_w\items\cook_tripod.p3d"; + vehicleClass = "DayZ Epoch Buildables"; + nounderground = 0; + requireplot = 0; + removeoutput[] = {{"cook_tripod_kit",1}}; +}; +*/ \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgWeapons/CfgWeapons.hpp b/SQF/dayz_code/Configs/CfgWeapons/CfgWeapons.hpp index 88798fb17..881e9f24a 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/CfgWeapons.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/CfgWeapons.hpp @@ -334,6 +334,13 @@ class CfgWeapons #include "Tools\APSI.hpp" #include "Tools\Masks.hpp" #include "Tools\Solder.hpp" + #include "Tools\Cuffs.hpp" + #include "Tools\Hammer.hpp" + #include "Tools\Saw.hpp" + #include "Tools\Smartphone.hpp" + #include "Tools\Scissors.hpp" + #include "Tools\ScrewExtractor.hpp" + #include "Tools\Wrench.hpp" #include "Item\ItemKeys.hpp" #include "Item\Documents.hpp" diff --git a/SQF/dayz_code/Configs/CfgWeapons/Tools/Cuffs.hpp b/SQF/dayz_code/Configs/CfgWeapons/Tools/Cuffs.hpp new file mode 100644 index 000000000..5061fefa9 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgWeapons/Tools/Cuffs.hpp @@ -0,0 +1,17 @@ +class Cuffs_DZE: ItemCore +{ + scope = 2; + displayName = $STR_EQUIP_CUFFS; + descriptionShort = $STR_EQUIP_CUFFS_DESC; + picture = "\dayz_epoch_c\icons\tools\ItemCuffs.paa"; + model = "\z\addons\dayz_epoch_w\items\cuffs.p3d"; +}; + +class CuffsBroken_DZE: ItemCore +{ + scope = 2; + displayName = $STR_EQUIP_CUFFS_BROKEN; + descriptionShort = $STR_EQUIP_CUFFS_BROKEN_DESC; + picture = "\dayz_epoch_c\icons\tools\ItemCuffsBroken.paa"; + model = "\z\addons\dayz_epoch_w\items\cuffs.p3d"; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgWeapons/Tools/Hammer.hpp b/SQF/dayz_code/Configs/CfgWeapons/Tools/Hammer.hpp new file mode 100644 index 000000000..b54dbfc02 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgWeapons/Tools/Hammer.hpp @@ -0,0 +1,32 @@ +class Hammer_DZE: ItemCore +{ + scope = 2; + displayName = $STR_EQUIP_HAMMER; + descriptionShort = $STR_EQUIP_HAMMER_DESC; + picture = "\dayz_epoch_c\icons\tools\ItemHammer.paa"; + model = "\z\addons\dayz_epoch_w\items\hammer.p3d"; +}; + +class HammerBroken_DZE: ItemCore +{ + scope = 2; + displayName = $STR_EQUIP_HAMMER_BROKEN; + descriptionShort = $STR_EQUIP_HAMMER_BROKEN_DESC; + picture = "\dayz_epoch_c\icons\tools\ItemHammerBroken.paa"; + model = "\z\addons\dayz_epoch_w\items\hammer.p3d"; + + class ItemActions + { + class Repair + { + text = $STR_ACTIONS_FIX_HAMMER; + script = ";['Repair','CfgWeapons', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {}; + outputweapons[] = {"Hammer_DZE"}; + input[] = {{"equip_duct_tape",1},{"equip_lever",1}}; + inputweapons[] = {"HammerBroken_DZE"}; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgWeapons/Tools/Masks.hpp b/SQF/dayz_code/Configs/CfgWeapons/Tools/Masks.hpp index dd5adeb08..e1aee163d 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Tools/Masks.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Tools/Masks.hpp @@ -4,6 +4,7 @@ class ItemPilotmask_DZE : ItemCore picture = "\dayz_epoch_c\icons\tools\ItemPilotmask.paa"; displayName = $STR_EQUIP_PILOT_MASK; descriptionShort = $STR_EQUIP_PILOT_MASK_DESC; + model = "\z\addons\dayz_epoch_w\items\gas_mask.p3d"; }; class ItemPilotmaskBroken_DZE : ItemCore @@ -12,6 +13,7 @@ class ItemPilotmaskBroken_DZE : ItemCore picture = "\dayz_epoch_c\icons\tools\ItemPilotmaskBroken.paa"; displayName = $STR_EQUIP_PILOT_MASK_BROKEN; descriptionShort = $STR_EQUIP_PILOT_MASK_BROKEN_DESC; + model = "\z\addons\dayz_epoch_w\items\gas_mask.p3d"; }; class ItemGasmask1_DZE : ItemCore @@ -20,6 +22,7 @@ class ItemGasmask1_DZE : ItemCore picture = "\dayz_epoch_c\icons\tools\ItemGasmask1.paa"; displayName = $STR_EQUIP_GAS_MASK1; descriptionShort = $STR_EQUIP_GAS_MASK1_DESC; + model = "\z\addons\dayz_epoch_w\items\gas_mask.p3d"; }; class ItemGasmask1Broken_DZE : ItemCore @@ -28,6 +31,7 @@ class ItemGasmask1Broken_DZE : ItemCore picture = "\dayz_epoch_c\icons\tools\ItemGasmask1Broken.paa"; displayName = $STR_EQUIP_GAS_MASK1_BROKEN; descriptionShort = $STR_EQUIP_GAS_MASK1_BROKEN_DESC; + model = "\z\addons\dayz_epoch_w\items\gas_mask.p3d"; }; class ItemGasmask2_DZE : ItemCore @@ -36,6 +40,7 @@ class ItemGasmask2_DZE : ItemCore picture = "\dayz_epoch_c\icons\tools\ItemGasmask2.paa"; displayName = $STR_EQUIP_GAS_MASK2; descriptionShort = $STR_EQUIP_GAS_MASK2_DESC; + model = "\z\addons\dayz_epoch_w\items\gas_mask.p3d"; }; class ItemGasmask2Broken_DZE : ItemCore @@ -44,4 +49,5 @@ class ItemGasmask2Broken_DZE : ItemCore picture = "\dayz_epoch_c\icons\tools\ItemGasmask2Broken.paa"; displayName = $STR_EQUIP_GAS_MASK2_BROKEN; descriptionShort = $STR_EQUIP_GAS_MASK2_BROKEN_DESC; + model = "\z\addons\dayz_epoch_w\items\gas_mask.p3d"; }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgWeapons/Tools/NVG.hpp b/SQF/dayz_code/Configs/CfgWeapons/Tools/NVG.hpp index 9accf49d7..d0004453d 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Tools/NVG.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Tools/NVG.hpp @@ -3,14 +3,6 @@ class NVGoggles: Binocular model = "\dayz_epoch_c\items\nvg\nvg_dzn.p3d"; }; -class NVGoggles_DZE: NVGoggles -{ - displayName = $STR_EQUIP_NV_FULL; - modelOptics = ""; - descriptionShort = $STR_EQUIP_NV_FULL_DESC; - model = "\dayz_epoch_c\items\nvg\nvg_dzn.p3d"; -}; - class ItemNVGBroken_DZE : Default { scope = 2; @@ -34,4 +26,38 @@ class ItemNVGBroken_DZE : Default inputweapons[] = {"ItemNVGBroken_DZE"}; }; }; -}; \ No newline at end of file +}; + +class NVGoggles_DZE: NVGoggles +{ + displayName = $STR_EQUIP_NV_FULL; + modelOptics = ""; + descriptionShort = $STR_EQUIP_NV_FULL_DESC; + model = "\dayz_epoch_c\items\nvg\nvg_dzn.p3d"; +}; + +class ItemNVGFullBroken_DZE : Default +{ + scope = 2; + type = 4096; + displayName = $STR_EQUIP_BROKEN_NV_FULL; + descriptionShort = $STR_EQUIP_BROKEN_NV_FULL_DESC; + model = "\dayz_epoch_c\items\nvg\nvg_dzn.p3d"; + picture = "\dayz_epoch_c\icons\tools\ItemNightVisionBroken.paa"; + + class ItemActions + { + class Repair + { + text = $STR_ACTIONS_FIX_NIGHTVISION; + script = ";['Repair','CfgWeapons', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemSolder_DZE"}; + output[] = {}; + outputweapons[] = {"NVGoggles_DZE"}; + input[] = {{"equip_floppywire",1},{"equip_scrapelectronics",1}}; + inputweapons[] = {"ItemNVGBroken_DZE"}; + }; + }; +}; + diff --git a/SQF/dayz_code/Configs/CfgWeapons/Tools/Saw.hpp b/SQF/dayz_code/Configs/CfgWeapons/Tools/Saw.hpp new file mode 100644 index 000000000..106d7be83 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgWeapons/Tools/Saw.hpp @@ -0,0 +1,32 @@ +class Saw_DZE: ItemCore +{ + scope = 2; + displayName = $STR_EQUIP_SAW; + descriptionShort = $STR_EQUIP_SAW_DESC; + picture = "\dayz_epoch_c\icons\tools\ItemSaw.paa"; + model = "\z\addons\dayz_epoch_w\items\handsaw.p3d"; +}; + +class SawBroken_DZE: ItemCore +{ + scope = 2; + displayName = $STR_EQUIP_SAW_BROKEN; + descriptionShort = $STR_EQUIP_SAW_BROKEN_DESC; + picture = "\dayz_epoch_c\icons\tools\ItemSawBroken.paa"; + model = "\z\addons\dayz_epoch_w\items\handsaw.p3d"; + + class ItemActions + { + class Repair + { + text = $STR_ACTIONS_FIX_SAW; + script = ";['Repair','CfgWeapons', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {}; + outputweapons[] = {"Saw_DZE"}; + input[] = {{"PartGeneric",1}}; + inputweapons[] = {"SawBroken_DZE"}; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgWeapons/Tools/Scissors.hpp b/SQF/dayz_code/Configs/CfgWeapons/Tools/Scissors.hpp new file mode 100644 index 000000000..36aac4d05 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgWeapons/Tools/Scissors.hpp @@ -0,0 +1,17 @@ +class Scissors_DZE: ItemCore +{ + scope = 2; + displayName = $STR_EQUIP_SCISSORS; + descriptionShort = $STR_EQUIP_SCISSORS_DESC; + model = "\z\addons\dayz_epoch_w\items\scissors.p3d"; + picture = "\dayz_epoch_c\icons\tools\ItemScissors.paa"; +}; + +class ScissorsBroken_DZE : ItemCore +{ + scope = 2; + displayName = $STR_EQUIP_SCISSORS_BROKEN; + descriptionShort = $STR_EQUIP_SCISSORS_BROKEN_DESC; + model = "\z\addons\dayz_epoch_w\items\scissors.p3d"; + picture = "\dayz_epoch_c\icons\tools\ItemScissorsBroken.paa"; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgWeapons/Tools/ScrewExtractor.hpp b/SQF/dayz_code/Configs/CfgWeapons/Tools/ScrewExtractor.hpp new file mode 100644 index 000000000..11a5b37ab --- /dev/null +++ b/SQF/dayz_code/Configs/CfgWeapons/Tools/ScrewExtractor.hpp @@ -0,0 +1,17 @@ +class Screwdriver_DZE: ItemCore +{ + scope = 2; + displayName = $STR_EQUIP_SCREWEXTRACTOR; + descriptionShort = $STR_EQUIP_SCREWEXTRACTOR_DESC; + model = "\z\addons\dayz_epoch_w\items\screw_extractor.p3d"; + picture = "\dayz_epoch_c\icons\tools\ItemScrewExtractor.paa"; +}; + +class ScrewdriverBroken_DZE : ItemCore +{ + scope = 2; + displayName = $STR_EQUIP_SCREWEXTRACTOR_BROKEN; + descriptionShort = $STR_EQUIP_SCREWEXTRACTOR_BROKEN_DESC; + model = "\z\addons\dayz_epoch_w\items\screw_extractor.p3d"; + picture = "\dayz_epoch_c\icons\tools\ItemScrewExtractorBroken.paa"; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgWeapons/Tools/Smartphone.hpp b/SQF/dayz_code/Configs/CfgWeapons/Tools/Smartphone.hpp new file mode 100644 index 000000000..133fa41e5 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgWeapons/Tools/Smartphone.hpp @@ -0,0 +1,32 @@ +class Smartphone_DZE: ItemCore +{ + scope = 2; + displayName = $STR_EQUIP_SMARTPHONE; + descriptionShort = $STR_EQUIP_SMARTPHONE_DESC; + model = "\z\addons\dayz_epoch_w\items\pda.p3d"; + picture = "\dayz_epoch_c\icons\tools\ItemSmartphone.paa"; +}; + +class SmartphoneBroken_DZE : ItemCore +{ + scope = 2; + displayName = $STR_EQUIP_SMARTPHONE_BROKEN; + descriptionShort = $STR_EQUIP_SMARTPHONE_BROKEN_DESC; + model = "\z\addons\dayz_epoch_w\items\pda.p3d"; + picture = "\dayz_epoch_c\icons\tools\ItemSmartphoneBroken.paa"; + + class ItemActions + { + class Repair + { + text = $STR_ACTIONS_FIX_SMARTPHONE; + script = ";['Repair','CfgWeapons', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {"ItemSolder_DZE"}; + output[] = {}; + outputweapons[] = {"Smartphone_DZE"}; + input[] = {{"equip_floppywire",1},{"equip_scrapelectronics",1}}; + inputweapons[] = {"SmartphoneBroken_DZE"}; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgWeapons/Tools/Wrench.hpp b/SQF/dayz_code/Configs/CfgWeapons/Tools/Wrench.hpp new file mode 100644 index 000000000..69199ded7 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgWeapons/Tools/Wrench.hpp @@ -0,0 +1,17 @@ +class Wrench_DZE: ItemCore +{ + scope = 2; + displayName = $STR_EQUIP_WRENCH; + descriptionShort = $STR_EQUIP_WRENCH_DESC; + model = "\z\addons\dayz_epoch_w\items\wrench.p3d"; + picture = "\dayz_epoch_c\icons\tools\ItemWrench.paa"; +}; + +class WrenchBroken_DZE : ItemCore +{ + scope = 2; + displayName = $STR_EQUIP_WRENCH_BROKEN; + descriptionShort = $STR_EQUIP_WRENCH_BROKEN_DESC; + model = "\z\addons\dayz_epoch_w\items\wrench.p3d"; + picture = "\dayz_epoch_c\icons\tools\ItemWrenchBroken.paa"; +}; \ No newline at end of file diff --git a/SQF/dayz_code/configVariables.sqf b/SQF/dayz_code/configVariables.sqf index c93c78fc9..53a3245a2 100644 --- a/SQF/dayz_code/configVariables.sqf +++ b/SQF/dayz_code/configVariables.sqf @@ -80,7 +80,7 @@ if (!isDedicated) then { // Snap Build and Build Vectors DZE_modularBuild = true; // Enable Snap Building by @raymix and Build Vectors by @strikerforce. DZE_snapExtraRange = 0; // Increase the default range from which objects can snap by this many meters. - DZE_noRotate = ["woodfence_foundation_kit","metalfence_foundation_kit"]; // List of objects (magazine classnames) that cannot be rotated. Example: ["ItemVault","ItemTent","ItemDomeTent","ItemDesertTent"]; + DZE_noRotate = ["woodfence_foundation_kit","metalfence_foundation_kit","cook_tripod_kit"]; // List of objects (magazine classnames) that cannot be rotated. Example: ["ItemVault","ItemTent","ItemDomeTent","ItemDesertTent"]; DZE_vectorDegrees = [0.01, 0.1, 1, 5, 15, 45, 90]; // Degree positions players are able to rotate buildables with using the build vectors action menu. DZE_curDegree = 45; // Starting rotation angle. Prefer any value in the array above. DZE_dirWithDegrees = true; // When rotating objects with Q&E, use the custom degrees. diff --git a/SQF/dayz_code/external/R3F_Realism/R3F_Weight/Magazines/Consumables/PackagedFood.hpp b/SQF/dayz_code/external/R3F_Realism/R3F_Weight/Magazines/Consumables/PackagedFood.hpp index 012555962..a2b987dd5 100644 --- a/SQF/dayz_code/external/R3F_Realism/R3F_Weight/Magazines/Consumables/PackagedFood.hpp +++ b/SQF/dayz_code/external/R3F_Realism/R3F_Weight/Magazines/Consumables/PackagedFood.hpp @@ -145,4 +145,8 @@ class FoodCakeCremeCakeClean class FoodCandyMintception { weight = 0.2; +}; +class equip_garlic_bulb +{ + weight = 0.1; }; \ No newline at end of file diff --git a/SQF/dayz_code/external/R3F_Realism/R3F_Weight/Magazines/Items/Concrete.hpp b/SQF/dayz_code/external/R3F_Realism/R3F_Weight/Magazines/Items/Concrete.hpp index aab988a80..ccade8ef8 100644 --- a/SQF/dayz_code/external/R3F_Realism/R3F_Weight/Magazines/Items/Concrete.hpp +++ b/SQF/dayz_code/external/R3F_Realism/R3F_Weight/Magazines/Items/Concrete.hpp @@ -21,4 +21,9 @@ class MortarBucket class equip_brick { weight = 0.5; +}; + +class CementBag +{ + weight = 40; }; \ No newline at end of file diff --git a/SQF/dayz_code/external/R3F_Realism/R3F_Weight/Magazines/Items/DocumentsPapers.hpp b/SQF/dayz_code/external/R3F_Realism/R3F_Weight/Magazines/Items/DocumentsPapers.hpp index 807faee8c..1dc8616f2 100644 --- a/SQF/dayz_code/external/R3F_Realism/R3F_Weight/Magazines/Items/DocumentsPapers.hpp +++ b/SQF/dayz_code/external/R3F_Realism/R3F_Weight/Magazines/Items/DocumentsPapers.hpp @@ -92,4 +92,113 @@ class ItemTNK class ItemARM { weight = 0.1; +}; +class Blueprint_01 +{ + weight = 0.3; +}; + +class Blueprint_02 +{ + weight = 0.3; +}; + +class Blueprint_03 +{ + weight = 0.3; +}; + +class Blueprint_04 +{ + weight = 0.3; +}; + +class Blueprint_05 +{ + weight = 0.3; +}; + +class Blueprint_06 +{ + weight = 0.3; +}; + +class Blueprint_07 +{ + weight = 0.3; +}; + +class Blueprint_08 +{ + weight = 0.3; +}; + +class Blueprint_09 +{ + weight = 0.3; +}; + +class Blueprint_10 +{ + weight = 0.3; +}; + +class Blueprint_11 +{ + weight = 0.3; +}; + +class Blueprint_12 +{ + weight = 0.3; +}; + +class Blueprint_13 +{ + weight = 0.3; +}; + +class Blueprint_14 +{ + weight = 0.3; +}; + +class Blueprint_15 +{ + weight = 0.3; +}; + +class Blueprint_16 +{ + weight = 0.3; +}; + +class Blueprint_17 +{ + weight = 0.3; +}; + +class Blueprint_18 +{ + weight = 0.3; +}; + +class Blueprint_19 +{ + weight = 0.3; +}; + +class Blueprint_20 +{ + weight = 0.3; +}; + +class PileBooks +{ + weight = 4.5; +}; + +class PileMedBooks +{ + weight = 6.5; }; \ No newline at end of file diff --git a/SQF/dayz_code/external/R3F_Realism/R3F_Weight/Magazines/Items/Misc.hpp b/SQF/dayz_code/external/R3F_Realism/R3F_Weight/Magazines/Items/Misc.hpp index 21e759972..e52529518 100644 --- a/SQF/dayz_code/external/R3F_Realism/R3F_Weight/Magazines/Items/Misc.hpp +++ b/SQF/dayz_code/external/R3F_Realism/R3F_Weight/Magazines/Items/Misc.hpp @@ -121,8 +121,4 @@ class equip_rail_screws class IR_Strobe_Target { weight = 0.4; -}; -class equip_garlic_bulb -{ - weight = 0.5; -}; +}; \ No newline at end of file diff --git a/SQF/dayz_code/external/R3F_Realism/R3F_Weight/Weapons/Tools.hpp b/SQF/dayz_code/external/R3F_Realism/R3F_Weight/Weapons/Tools.hpp index 1ea1f5c61..afc2dda2d 100644 --- a/SQF/dayz_code/external/R3F_Realism/R3F_Weight/Weapons/Tools.hpp +++ b/SQF/dayz_code/external/R3F_Realism/R3F_Weight/Weapons/Tools.hpp @@ -306,6 +306,10 @@ class ItemNVGBroken_DZE { weight = 1; }; +class ItemNVGFullBroken_DZE +{ + weight = 1; +}; class ItemMap_Debug { weight = 1; @@ -465,4 +469,60 @@ class Map_Survivor_DZE class ItemKeyKitBroken { weight = 1; +}; +class Cuffs_DZE +{ + weight = 0.5; +}; +class CuffsBroken_DZE +{ + weight = 0.5; +}; +class Hammer_DZE +{ + weight = 1.8; +}; +class HammerBroken_DZE +{ + weight = 1.8; +}; +class Saw_DZE +{ + weight = 0.4; +}; +class SawBroken_DZE +{ + weight = 0.4; +}; +class Smartphone_DZE +{ + weight = 0.6; +}; +class SmartphoneBroken_DZE +{ + weight = 0.6; +}; +class Scissors_DZE +{ + weight = 0.3; +}; +class ScissorsBroken_DZE +{ + weight = 0.3; +}; +class Screwdriver_DZE +{ + weight = 0.8; +}; +class ScrewdriverBroken_DZE +{ + weight = 0.8; +}; +class Wrench_DZE +{ + weight = 1.7; +}; +class WrenchBroken_DZE +{ + weight = 1.7; }; \ No newline at end of file diff --git a/SQF/dayz_code/stringtable.xml b/SQF/dayz_code/stringtable.xml index 2c9544101..eee325496 100644 --- a/SQF/dayz_code/stringtable.xml +++ b/SQF/dayz_code/stringtable.xml @@ -25290,7 +25290,117 @@ Broken Rangefinder that must be repaired. Ein kaputter Entfernungsmesser, welcher repariert werden muss. + + + Hand Cuffs + Handschellen + + + Broken Hand Cuffs + Kaputte Handschellen + + Hand Cuffs used by the police. + Handschellen, welche von der Polizei genutzt werden. + + + Broken Hand Cuffs that must be repaired. + Kaputte Handschellen, welche repariert werden müssen. + + + Hammer + + + Broken Hammer + Kaputter Hammer + + + A tool to drive nails into wood and metal. + Ein Werkzeug zum Einschlagen von Nägeln in Holz oder Metall. + + + Broken Hammer that must be repaired. + Ein kaputter Hammer, welcher repariert werden muss. + + + Handsaw + Handsäge + + + Broken Handsaw + Kaputte Handsäge + + + A tool to tailor wood. + Ein Werkzeug, um Holz zu zusägen. + + + Broken Handsaw that must be repaired. + Eine kaputte Handsäge, welche repariert werden muss. + + + Smartphone + + + Broken Smartphone + Kaputtes Smartphone + + + A new kind of mobile phone. + Eine neue Art von Handy. + + + Broken Smartphone that must be repaired. + Ein kaputtes Smartphone, welches repariert werden muss. + + + Scissors + Schere + + + Broken Scissors + Kaputte Schere + + + A tool to cut various thin materials. + Ein Werzeug, um verschiedenste dünne Materialien zu zuschneiden. + + + Broken Scissors that must be repaired. + Eine kaputte Schere, welche repariert werden muss. + + + Screwdriver Set + Schraubendreher-Set + + + Broken Screwdriver Set + Kaputtes Schraubendreher-Set + + + A tool used for screwing and unscrewing screws. + Ein Werzeug, um Schrauben ein- und herauszuschrauben. + + + Broken Screwdriver Set that must be repaired. + Ein kaputtes Schraubendreher-Set, welches repariert werden muss. + + + Wrench + Schraubenschlüssel + + + Broken Wrench + Kaputter Schraubenschlüssel + + + A tool used for screwing and unscrewing screw-nuts. + Ein Werzeug zum Anziehen oder Lösen von Muttern. + + + Broken Wrench that must be repaired. + Ein kaputter Schraubenschlüssel, welcher repariert werden muss. + Disabled: Deaktiviert: @@ -25541,6 +25651,18 @@ Fix GPS GPS reparieren + + Fix Hammer + Hammer reparieren + + + Fix Handsaw + Handsäge reparieren + + + Fix Smartphone + Smartphone reparieren + NVG (Full Screen) NVG (Vollbild) @@ -25549,6 +25671,14 @@ Full Screen Night Vision Goggles Vollbild-Nachtsichtgerät + + Broken NVG (Full Screen) + Kaputtes NVG (Vollbild) + + + Damaged full screen night vision goggles that probably can be repaired. + Ein beschädigtes Vollbild-Nachtsichtgerät, das möglicherweise repariert werden kann. + Died at Gestorben um @@ -25596,7 +25726,199 @@ Guns don't kill people; death kills people. It's a proven medical fact. Waffen töten keine Menschen. Der Tod tötet sie. Das ist ein bewiesener medizinischer Fakt. + + + Cement Bag + Zementsack + + + A big bag filled with cement. + Ein großer Sack gefüllt mit Zement. + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Blueprint + Bauplan + + + Pile of books + Stapel Bücher + + + A pile with some different books. + Ein Stapel mit unterschiedlichen Büchern. + + + Pile of medical books + Stapel Medizinbücher + + + A pile with some different medical books. + Ein Stapel mit den verschiedensten Medizinbüchern. + + + Cooking tripod + Schwenkgrill + + + Cooking tripod + Schwenkgrill +