constsmallPlant='bkr_prop_weed_01_small_01a';constmediumPlant='bkr_prop_weed_med_01a';constbigPlant='bkr_prop_weed_lrg_01a';constharvestDuration=5000;// Duration for Harvesting in MSconstfertilizeDuration=5000;// Duration for Fertilizing in MSconstfertilizerRemoveTime=30;// How many minutes will the fertilizer remove?constwateringDuration=5000;// Duration for Watering in MSconstminRequiredWater=50;// How much water is minimum needed for the plant to grow?constwaterLossPerMinute=5;constminBuds=25;// Min output as weedbuds from harvestingconstmaxBuds=50;// Maximum output as weedbuds from harvesting
index.ts
constplantInterval=1000;// How long will it take to remove a minute in ms? default: 60000constplantSystemEnabled=true;// If enabled update interval will start on bootup of Athena. default: true// Add whatever spots you like here (Press F1 with administrative rights ingame to get Pos from the alt:V Dev Console)// #default spots 3, add more if you needconstvalidPlantPlaceSpots=[{"x": -2006.942138671875,"y": 2568.26953125,"z": 2.7962563037872314},{"x": -2010.500732421875,"y": 2568.917236328125,"z": 2.7646090984344482},{"x": -2012.62451171875,"y": 2565.571044921875,"z": 2.746884346008301},{"x": -2007.74267578125,"y": 2564.00341796875,"z": 2.6880717277526855},{"x": -2020.5887451171875,"y": 2566.855224609375,"z": 2.6964898109436035},{"x": -2020.66455078125,"y": 2572.015625,"z": 2.710820198059082},{"x": -2020.5101318359375,"y": 2577.8818359375,"z": 2.778646469116211},{"x": -2016.6363525390625,"y": 2578.458251953125,"z": 3.48949933052063},{"x": -2011.7757568359375,"y": 2578.625732421875,"z": 3.5605852603912354},{"x": -2004.8231201171875,"y": 2575.834716796875,"z": 2.8564610481262207}];constdistanceToValidSpot: number=5;// Distance the player can have to a valid spot. default: 5constappendBlips: any=true;// Blips enabled? default: true