add garden kit

This commit is contained in:
vbawol 2017-10-01 21:25:57 -05:00
parent 6ac1e72a97
commit d2daca6f46
3 changed files with 39 additions and 8 deletions

View File

@ -235,7 +235,7 @@ class CfgBaseBuilding
removeParts[] = {};
};
class MetalFloor_Ghost_EPOCH : MetalFloor_SIM_EPOCH {};
class MetalTower_EPOCH : Default
{
removeParts[] = {{"ItemCorrugatedLg",3}};
@ -257,7 +257,7 @@ class CfgBaseBuilding
};
class MetalTower_Ghost_EPOCH : MetalTower_SIM_EPOCH {};
class CinderWallGarage_EPOCH : Default
{
removeParts[] = {{"CinderBlocks",4},{"ItemCorrugatedLg",1},{"CircuitParts",1}};
@ -269,6 +269,24 @@ class CfgBaseBuilding
allowedSnapPoints[] = {"N","S","E","W"};
energyCost = 0.5;
};
// Kit_Garden
class Garden_EPOCH : Default
{
removeParts[] = {{"Kit_Garden",1}};
simulClass = "Garden_SIM_EPOCH";
staticClass = "Garden_EPOCH";
GhostPreview = "Garden_Ghost_EPOCH";
snapPointsPara[] = {"NF","SF","EF","WF","C","CB"};
snapPointsPerp[] = {"N","S","E","W","CinN","CinS","CinE","CinW"};
energyCost = 0.5;
};
class Garden_SIM_EPOCH : Default
{
allowedSnapPoints[] = {"NF","SF","EF","WF","C"};
allowedSnapObjects[] = {"Const_floors_static_F","Constructions_foundation_F"};
removeParts[] = {};
};
class Garden_Ghost_EPOCH : Garden_SIM_EPOCH {};
class CinderFloor_EPOCH : Default
{
removeParts[] = {{"CinderBlocks",2},{"MortarBucket",2}};
@ -336,7 +354,7 @@ class CfgBaseBuilding
snapPointsPara[] = {"N","E","W"};
allowedSnapPoints[] = {"N","S","E","W"};
};
class CinderTower_EPOCH : Default
{
removeParts[] = {{"CinderBlocks",2}};
@ -356,7 +374,7 @@ class CfgBaseBuilding
allowedSnapObjects[] = {"CinderTower_EPOCH","Const_floors_static_F","Constructions_foundation_F"};
};
class CinderTower_Ghost_EPOCH : CinderTower_SIM_EPOCH {};
class WoodLargeWall_EPOCH : Default
{
upgradeBuilding[] = {{"WoodWall1_EPOCH",{{"ItemPlywoodPack",1}}},{"WoodLargeWallCor_EPOCH",{{"ItemCorrugated",1}}}};

View File

@ -1840,6 +1840,10 @@ class CfgPricing
{
price = 5;
};
class Kit_Garden
{
price = 24;
};
class Poppy
{
price = 50;

View File

@ -22,7 +22,7 @@
{{"Water source", "", "water", {2,{"water"}}, 3, 1, 0, 0}}
};
WARNING: DO NOT inherit from existing items, create each item as unique entry, only inherit defaults such as part or kit!
*/
/*[[[cog from arma_config_tools import *; json_to_arma()]]]*/
@ -909,7 +909,7 @@ class CfgCrafting
previewScale = 0.05;
previewVector = 0;
};
class KitTiPi : Kit
{
recipe[] = {{"Pelt_EPOCH",4},{"PartPlankPack",2}};
@ -963,6 +963,15 @@ class CfgCrafting
previewPosition[] = {0.797638,1,0.341915};
previewScale = 0.07;
previewVector = 0;
};
class Kit_Garden : Kit
{
recipe[] = {{"ItemRock",4},{"water_epoch",4}}; // temp
nearby[] = {{"Workbench","","workbench",{1,{"WorkBench_EPOCH"}},3,1,0,1}};
model = "\x\addons\a3_epoch_community\models\Farming\epoch_Garden.p3d";
previewPosition[] = {0.800198,1,0.262418};
previewScale = 0.055;
previewVector = 3.6;
};
class KitPlotPole : Kit
{
@ -1192,7 +1201,7 @@ class CfgCrafting
previewScale = 0.28;
previewVector = -0.5;
};
*/
*/
class ItemVehDoc1 : Part
{
usedIn[] = {"KitVehicleUpgradeI_200_EPOCH"};
@ -1200,7 +1209,7 @@ class CfgCrafting
previewScale = 1.2;
previewVector = 3.3;
};
class ItemVehDoc2 : Part
{
usedIn[] = {"KitVehicleUpgradeII_200_EPOCH"};