From efde3c978afa4d21dd28f300dff8791addee5afa Mon Sep 17 00:00:00 2001 From: He-Man Date: Fri, 1 Mar 2019 19:31:41 +0100 Subject: [PATCH] Plot Upgrades --- .../epoch_config/Configs/CfgBaseBuilding.hpp | 26 ++++++++++++++++--- .../Configs/CfgItemInteractions.hpp | 16 ++++++++++++ 2 files changed, 38 insertions(+), 4 deletions(-) diff --git a/Sources/epoch_config/Configs/CfgBaseBuilding.hpp b/Sources/epoch_config/Configs/CfgBaseBuilding.hpp index 28342299..b5529f84 100644 --- a/Sources/epoch_config/Configs/CfgBaseBuilding.hpp +++ b/Sources/epoch_config/Configs/CfgBaseBuilding.hpp @@ -198,22 +198,40 @@ class CfgBaseBuilding { removeParts[] = {}; }; + class PlotPole_M_EPOCH : Default + { + upgradeBuilding[] = {{"PlotPole_XL_EPOCH",{{"ItemCorrugatedLg",5},{"EnergyPackLg",2},{"CircuitParts",3},{"ItemBattery",3},{"ItemPipe",1}}}}; + removeParts[] = {{"KitPlotPole_M",1}}; + GhostPreview = "PlotPole_M_EPOCH"; + staticClass = "PlotPole_M_EPOCH"; + simulClass = "PlotPole_M_SIM_EPOCH"; + bypassJammer = 1; + }; class PlotPole_L_EPOCH : Default { upgradeBuilding[] = {{"PlotPole_XL_EPOCH",{{"ItemCorrugatedLg",5},{"EnergyPackLg",2},{"CircuitParts",3},{"ItemBattery",3},{"ItemPipe",1}}}}; - removeParts[] = {{"KitPlotPole",1},{"ItemCorrugatedLg",5},{"EnergyPackLg",2},{"CircuitParts",3},{"ItemBattery",3},{"ItemPipe",1}}; + removeParts[] = {{"KitPlotPole_L",1}}; GhostPreview = "PlotPole_L_EPOCH"; staticClass = "PlotPole_L_EPOCH"; - simulClass = "PlotPole_L_EPOCH"; + simulClass = "PlotPole_L_SIM_EPOCH"; bypassJammer = 1; }; class PlotPole_XL_EPOCH : Default { upgradeBuilding[] = {}; - removeParts[] = {{"KitPlotPole",1},{"ItemCorrugatedLg",10},{"EnergyPackLg",4},{"CircuitParts",6},{"ItemBattery",6},{"ItemPipe",2}}; + removeParts[] = {{"KitPlotPole_XL",1}}; GhostPreview = "PlotPole_XL_EPOCH"; staticClass = "PlotPole_XL_EPOCH"; - simulClass = "PlotPole_XL_EPOCH"; + simulClass = "PlotPole_XL_SIM_EPOCH"; + bypassJammer = 1; + }; + class PlotPole_XXL_EPOCH : Default + { + upgradeBuilding[] = {}; + removeParts[] = {{"KitPlotPole_XXL",1}}; + GhostPreview = "PlotPole_XXL_EPOCH"; + staticClass = "PlotPole_XXL_EPOCH"; + simulClass = "PlotPole_XXL_SIM_EPOCH"; bypassJammer = 1; }; class WoodRamp_EPOCH : Default diff --git a/Sources/epoch_config/Configs/CfgItemInteractions.hpp b/Sources/epoch_config/Configs/CfgItemInteractions.hpp index 7c8f0a7d..b2de7c1f 100644 --- a/Sources/epoch_config/Configs/CfgItemInteractions.hpp +++ b/Sources/epoch_config/Configs/CfgItemInteractions.hpp @@ -503,6 +503,22 @@ class CfgItemInteractions { buildClass = "PlotPole_SIM_EPOCH"; }; + class KitPlotPole_M : Item_Build_base + { + buildClass = "PlotPole_M_SIM_EPOCH"; + }; + class KitPlotPole_L : Item_Build_base + { + buildClass = "PlotPole_L_SIM_EPOCH"; + }; + class KitPlotPole_XL : Item_Build_base + { + buildClass = "PlotPole_XL_SIM_EPOCH"; + }; + class KitPlotPole_XXL : Item_Build_base + { + buildClass = "PlotPole_XXL_SIM_EPOCH"; + }; class KitCinderWall : Item_Build_base { buildClass = "CinderWallHalf_EPOCH";