From 4f9fa717cbd737fdc347a325b972be2d20e325a2 Mon Sep 17 00:00:00 2001 From: "DESKTOP-UH65DCE\\MusTanG" Date: Sun, 10 Sep 2017 18:58:53 -0500 Subject: [PATCH] Add new assets configs entries --- .../Configs/CfgItemInteractions.hpp | 18 +++++++++- Sources/epoch_config/Configs/CfgItemSort.hpp | 11 +++++- Sources/epoch_config/Configs/CfgPricing.hpp | 36 +++++++++++++++++++ Sources/epoch_config/Configs/cfgCrafting.hpp | 31 +++++++++++++++- 4 files changed, 93 insertions(+), 3 deletions(-) diff --git a/Sources/epoch_config/Configs/CfgItemInteractions.hpp b/Sources/epoch_config/Configs/CfgItemInteractions.hpp index 1dcc1654..7916b7da 100644 --- a/Sources/epoch_config/Configs/CfgItemInteractions.hpp +++ b/Sources/epoch_config/Configs/CfgItemInteractions.hpp @@ -410,6 +410,16 @@ class CfgItemInteractions { buildClass = "Workbench_SIM_EPOCH"; isStorage = 1; + }; + class KitTentA : Item_Build_base + { + buildClass = "TentA_SIM_EPOCH"; + isStorage = 1; + }; + class KitTentDome : Item_Build_base + { + buildClass = "TentDome_SIM_EPOCH"; + isStorage = 1; }; class KitFoundation : Item_Build_base { @@ -776,6 +786,12 @@ class CfgItemInteractions { interactReturnOnUse = "smallbackpack_pink_epoch"; }; + class ItemCanvas : Default {}; + class ItemSeedBag : Default {}; + class SeedPacket_GoldenSeal : Default {}; + class SeedPacket_Hemp : Default {}; + class SeedPacket_Poppy : Default {}; + class SeedPacket_Pumpkin : Default {}; + class SeedPacket_Sunflower : Default {}; }; - /*[[[end]]]*/ diff --git a/Sources/epoch_config/Configs/CfgItemSort.hpp b/Sources/epoch_config/Configs/CfgItemSort.hpp index cdc68298..6eba7e2b 100644 --- a/Sources/epoch_config/Configs/CfgItemSort.hpp +++ b/Sources/epoch_config/Configs/CfgItemSort.hpp @@ -778,6 +778,8 @@ class CfgItemSort "ItemSodaAlpineDude" }; Basebuilding[] = { + "KitTentA", + "KitTentDome", "CircuitParts", "PartPlankPack", "CinderBlocks", @@ -813,6 +815,8 @@ class CfgItemSort }; Items[] = { + "ItemCanvas", + "ItemSeedBag", "SpareTire", "EngineParts", "EngineBlock", @@ -900,7 +904,12 @@ class CfgItemSort "PaintCanPur", "PaintCanRed", "PaintCanTeal", - "PaintCanYel" + "PaintCanYel", + "SeedPacket_GoldenSeal", + "SeedPacket_Hemp", + "SeedPacket_Poppy", + "SeedPacket_Pumpkin", + "SeedPacket_Sunflower" }; Vehicles_Land[] = { "ebike_epoch", // Motorrad diff --git a/Sources/epoch_config/Configs/CfgPricing.hpp b/Sources/epoch_config/Configs/CfgPricing.hpp index 6a5ce6f1..9aec5dc5 100644 --- a/Sources/epoch_config/Configs/CfgPricing.hpp +++ b/Sources/epoch_config/Configs/CfgPricing.hpp @@ -1852,6 +1852,26 @@ class CfgPricing { price = 5; }; + class SeedPacket_GoldenSeal + { + price = 5; + }; + class SeedPacket_Hemp + { + price = 5; + }; + class SeedPacket_Poppy + { + price = 5; + }; + class SeedPacket_Pumpkin + { + price = 5; + }; + class SeedPacket_Sunflower + { + price = 5; + }; class sardines_epoch { price = 2; @@ -2866,6 +2886,14 @@ class CfgPricing { price = 25; }; + class ItemCanvas + { + price = 10; + }; + class ItemSeedBag + { + price = 5; + }; class ItemKiloHemp { price = 100; @@ -2946,6 +2974,14 @@ class CfgPricing { price = 90; }; + class KitTentA + { + price = 40; + }; + class KitTentDome + { + price = 75; + }; class KitWorkbench { price = 10; diff --git a/Sources/epoch_config/Configs/cfgCrafting.hpp b/Sources/epoch_config/Configs/cfgCrafting.hpp index 33a31e25..1046abda 100644 --- a/Sources/epoch_config/Configs/cfgCrafting.hpp +++ b/Sources/epoch_config/Configs/cfgCrafting.hpp @@ -1220,7 +1220,36 @@ class CfgCrafting previewScale = 0.2; previewVector = 0.1; }; - + class ItemCanvas : Part + { + usedIn[] = {"KitTentA","KitTentDome"}; + previewPosition[] = {0.802374,1,0.26}; + previewScale = 0.45; + previewVector = 3.3; + }; + class ItemSeedBag : Part + { + usedIn[] = {}; + previewPosition[] = {0.802374,1,0.26}; + previewScale = 0.45; + previewVector = 3.3; + }; + class KitTentA : Kit + { + recipe[] = {{"ItemCanvas",2},{"ItemPipe",3}}; + model = "\x\addons\a3_epoch_community\models\tent_camo.p3d"; + previewPosition[] = {0.79545,1,0.42}; + previewScale = 0.3; + previewVector = 0.3; + }; + class KitTentDome : Kit + { + recipe[] = {{"ItemCanvas",3},{"ItemPipe",4}}; + model = "\x\addons\a3_epoch_community\models\tent_dome.p3d"; + previewPosition[] = {0.79545,1,0.42}; + previewScale = 0.3; + previewVector = 0.3; + }; }; /*[[[end]]]*/