Config.Drugs.enabled |
boolean |
true |
Drugs module |
Config.Drugs.care |
table |
watering_can, fertilizer, liquid_fertilizer |
Water and fertiliser each care item adds |
Config.Drugs.zones |
table |
grapeseed |
Grow zones with center, radius, growMultiplier, optional blip |
Config.Drugs.seeds |
table |
weed_seed, coca_seed |
Per seed: label, stages (models), offset, zones (empty = anywhere), growMinutes, products ({ min, max }), seedBack (chance, min, max), time |
Config.Drugs.tables |
table |
weed_table, workbench, coke_table |
Per table: label, model, item, recipes with ingredients, outputs, time, failChance, optional blueprint and jobs |
Config.Drugs.use |
table |
joint, cocaine, weed_bag |
Per item: anim, seconds, cooldown, effects |
Config.Drugs.selling.enabled |
boolean |
true |
Corner selling |
Config.Drugs.selling.command |
string |
'selldrugs' |
Toggles selling mode |
Config.Drugs.selling.minPolice |
number |
0 |
Police on duty needed |
Config.Drugs.selling.sellChance |
number |
70 |
Percent a sale succeeds |
Config.Drugs.selling.robChance |
number |
10 |
Percent the NPC grabs the drugs and runs |
Config.Drugs.selling.policeAlertChance |
number |
20 |
Percent of a police call |
Config.Drugs.selling.amount |
range |
{ 1, 4 } |
Items per sale |
Config.Drugs.selling.account |
string |
'cash' |
Payout account |
Config.Drugs.selling.zones |
table |
grove, vespucci |
center, radius, prices per item as { min, max } |
Config.Drugs.dealer.enabled |
boolean |
true |
Dealer NPC |
Config.Drugs.dealer.ped |
string |
'g_m_y_mexgoon_02' |
Dealer model |
Config.Drugs.dealer.coords |
vector |
Sandy Shores area |
Dealer position and heading |
Config.Drugs.dealer.items |
table |
seeds, care items, papers, bags, acetone, tables |
Item and price |
Config.Drugs.dealer.account |
string |
'cash' |
Account the player pays from |