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

@ -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}};

View File

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

View File

@ -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
{