fxWeed
Config File
Config = {
webhookURL = '',
UseTarget = GetConvar('UseTarget', 'false') == 'true', -- Use qb-target interactions (don't change this, go to your server.cfg and add `setr UseTarget true` to use this and just that from true to false or the other way around)
useFxTextUI = true, -- Whether or not to use our free script fxTextUI (Otherwise will use default qb)
useFxNotify = true, -- Whether or not to use our free script fxNotify (Otherwise will use default qb)
adminCommand = 'adminw',
adminMenuPermissions = 'admin', -- Permissions needed to open the weed database
zoneOptions = { -- Used for when UseTarget is false
length = 1.5,
width = 1.5,
debugPoly = false
},
Drugs = {
policeJobs = { -- The names of all your police jobs: police, sheriff, etc.
'police'
},
Weed = {
Strains = {
PurpleKush = {
seed = 'fx_purplekushseed',
growthInterval = 3, -- Interval for 0.1 growth (in seconds)
dyingInterval = 1, -- Interval for 0.1 decrement (in seconds)
description = 'Top-shelf indica known for its strong relaxation effects. Perfect for unwinding in your safehouse. High price, but the intense chill can keep you glued to the couch.',
harvestAmount = {2, 4},
harvestItem = 'fx_purplekushleaf',
jointItem = 'fx_purplekushjoint',
successDuration = 60000, -- Duration for success effect
failDuration = 120000, -- Duration for fail effect
effectStrength = 1.0, -- Multiplier for effect strength
props = {
[1] = 'fx_prop_weed_purple_small',
[2] = 'fx_prop_weed_purple_med',
[3] = 'fx_prop_weed_purple_lrg',
}
},
LemonHaze = {
seed = 'fx_lemonhazeseed',
growthInterval = 2, -- Interval for 0.1 growth (in seconds)
dyingInterval = 2, -- Interval for 0.1 decrement (in seconds)
description = 'Mid-tier sativa that boosts your energy and creativity. Ideal for daytime jobs or heists. Affordable, but overuse might make you paranoid.',
harvestAmount = {2, 6},
harvestItem = 'fx_lemonhazeleaf',
jointItem = 'fx_lemonhazejoint',
successDuration = 45000,
failDuration = 90000,
effectStrength = 0.8,
props = {
[1] = 'fx_prop_weed_lemonhaze_small',
[2] = 'fx_prop_weed_lemonhaze_med',
[3] = 'fx_prop_weed_lemonhaze_lrg',
}
},
WhiteWidow = {
seed = 'fx_whitewidowseed',
growthInterval = 1, -- Interval for 0.1 growth (in seconds)
dyingInterval = 3, -- Interval for 0.1 decrement (in seconds)
description = 'Reliable hybrid offering balanced euphoria and relaxation. Great for both combat and chill sessions. Moderately priced and a staple in the city.',
harvestAmount = {2, 8},
harvestItem = 'fx_whitewidowleaf',
jointItem = 'fx_whitewidowjoint',
successDuration = 75000,
failDuration = 150000,
effectStrength = 1.2,
props = {
[1] = 'fx_prop_weed_white_small',
[2] = 'fx_prop_weed_white_med',
[3] = 'fx_prop_weed_white_lrg',
}
}
},
Planting = {
RequiredItems = {
{name = 'fx_weedbucket', label = 'Bucket', amount = 1},
{name = 'fx_fertilizer', label = 'Fertilizer', amount = 1},
{name = 'water_bottle', label = 'Water', amount = 1},
},
disabledJobs = { -- Jobs that can't plant weed
'police'
},
plantAnywhere = true, -- If set to false the player will be able to plant the weed only on grass
whatIsGrass = {
2409420175,
2233086527,
-1907520769,
3008270349,
4170197704,
581794674,
-1286696947,
1333038863,
1144315879,
3833216577,
-461750719,
1109728704,
2128396009,
2461440131,
-1885457121,
2352068586,
3594390803
}
},
Care = {
waterAndFertilizerInterval = 5, -- Interval for 0.1 water and fertilizer decrement (in seconds)
fertilizerItem = 'fx_fertilizer',
waterItem = 'water_bottle',
fertilizerAmount = {10, 20},
waterAmount = {10, 20},
},
GrowthStages = {
{percent = 50, label = 'Medium'}, -- When the plant is at 50% it will become medium sized
{percent = 100, label = 'Big'},
},
Harvesting = {
requiredTool = 'fx_scissors',
removeTool = false,
readyAt = 100,
timePerLeaf = 2000,
},
},
}
}Last updated