BarbedWire Configs

This commit is contained in:
He-Man 2017-10-15 22:00:36 +02:00
parent 35c9902232
commit f3742f8223
3 changed files with 25 additions and 4 deletions

View File

@ -287,6 +287,14 @@ class CfgBaseBuilding
removeParts[] = {}; removeParts[] = {};
}; };
class Garden_Ghost_EPOCH : Garden_SIM_EPOCH {}; class Garden_Ghost_EPOCH : Garden_SIM_EPOCH {};
class BarbedWire_EPOCH : Default
{
removeParts[] = {{"ItemScraps",10},{"ItemRope",2}};
simulClass = "BarbedWire_EPOCH";
staticClass = "BarbedWire_EPOCH";
GhostPreview = "BarbedWire_EPOCH";
energyCost = 0.5;
};
class CinderFloor_EPOCH : Default class CinderFloor_EPOCH : Default
{ {
removeParts[] = {{"CinderBlocks",2},{"MortarBucket",2}}; removeParts[] = {{"CinderBlocks",2},{"MortarBucket",2}};

View File

@ -553,6 +553,10 @@ class CfgItemInteractions
{ {
buildClass = "WaterPump_EPOCH"; buildClass = "WaterPump_EPOCH";
}; };
class KitBarbedWire : Item_Build_base
{
buildClass = "BarbedWire_EPOCH";
};
class PaintCanBase : Default class PaintCanBase : Default
{ {
interactAction = 12; interactAction = 12;

View File

@ -279,7 +279,7 @@ class CfgCrafting
}; };
class ItemRope : Item class ItemRope : Item
{ {
usedIn[] = {"WoodClub","MeleeMaul","CrudeHatchet","MeleeRod","KitSunShade","KitScaffolding"}; usedIn[] = {"WoodClub","MeleeMaul","CrudeHatchet","MeleeRod","KitSunShade","KitScaffolding","KitBarbedWire"};
nearby[] = {{"Workbench","","workbench",{1,{"WorkBench_EPOCH"}},3,1,0,1}}; nearby[] = {{"Workbench","","workbench",{1,{"WorkBench_EPOCH"}},3,1,0,1}};
recipe[] = {{"ItemKiloHemp",1}}; recipe[] = {{"ItemKiloHemp",1}};
previewPosition[] = {0.8,1,0.35}; previewPosition[] = {0.8,1,0.35};
@ -331,7 +331,7 @@ class CfgCrafting
}; };
class ItemScraps : Item class ItemScraps : Item
{ {
usedIn[] = {"ItemCorrugated","KitMetalTrap","MeleeRod","KitVehicleUpgradeIV_200_EPOCH"}; usedIn[] = {"ItemCorrugated","KitMetalTrap","MeleeRod","KitVehicleUpgradeIV_200_EPOCH","KitBarbedWire"};
nearby[] = {{"Fire","","fire",{1,{"ALL"}},3,1,1,0}}; nearby[] = {{"Fire","","fire",{1,{"ALL"}},3,1,1,0}};
recipe[] = {{"PartOre",2}}; recipe[] = {{"PartOre",2}};
previewPosition[] = {0.797144,1,0.309158}; previewPosition[] = {0.797144,1,0.309158};
@ -728,7 +728,7 @@ class CfgCrafting
}; };
class ItemCorrugatedLg : Item class ItemCorrugatedLg : Item
{ {
usedIn[] = {"KitPlotPole","KitTankTrap","KitHesco3","KitSolarGen","ItemRotor","EngineBlock","KitMetalFloor","KitMetalTower","KitFieldToilet","KitSink","KitPortableLight_Single","KitPortableLight_Double"}; usedIn[] = {"KitPlotPole","KitTankTrap","KitHesco3","KitSolarGen","ItemRotor","EngineBlock","KitMetalFloor","KitMetalTower","KitFieldToilet","KitSink","KitPortableLight_Single","KitPortableLight_Double","KitBarbedWire"};
recipe[] = {{"ItemCorrugated",3}}; recipe[] = {{"ItemCorrugated",3}};
nearby[] = {{"Workbench","","workbench",{1,{"WorkBench_EPOCH"}},3,1,0,1}}; nearby[] = {{"Workbench","","workbench",{1,{"WorkBench_EPOCH"}},3,1,0,1}};
previewPosition[] = {0.797491,1,0.32899}; previewPosition[] = {0.797491,1,0.32899};
@ -966,12 +966,21 @@ class CfgCrafting
}; };
class Kit_Garden : Kit class Kit_Garden : Kit
{ {
recipe[] = {{"ItemRock",4},{"water_epoch",4}}; // temp recipe[] = {{"ItemRock",4},{"water_epoch",4},{"PartPlankPack",4}};
nearby[] = {{"Workbench","","workbench",{1,{"WorkBench_EPOCH"}},3,1,0,1}}; nearby[] = {{"Workbench","","workbench",{1,{"WorkBench_EPOCH"}},3,1,0,1}};
model = "\x\addons\a3_epoch_community\models\Farming\epoch_Garden.p3d"; model = "\x\addons\a3_epoch_community\models\Farming\epoch_Garden.p3d";
previewPosition[] = {0.800198,1,0.262418}; previewPosition[] = {0.800198,1,0.262418};
previewScale = 0.055; previewScale = 0.055;
previewVector = 3.6; previewVector = 3.6;
};
class KitBarbedWire : Kit
{
recipe[] = {{"ItemCorrugatedLg",2},{"ItemScraps",10},{"ItemRope",4}};
nearby[] = {{"Workbench","","workbench",{1,{"WorkBench_EPOCH"}},3,1,0,1}};
model = "x\addons\a3_epoch_community\models\barbed_wire.p3d";
previewPosition[] = {0.8,1,0.3};
previewScale = 0.038;
previewVector = 0;
}; };
class KitPlotPole : Kit class KitPlotPole : Kit
{ {