@@ -24,7 +24,7 @@ Locales = Locales or {}
24
24
25
25
Config .Framework = ' autodetect' -- Choose your framework ('ox_inventory', 'qb-inventory', 'esx_inventory', 'custom_inventory', 'autodetect')
26
26
Config .Inventory = ' autodetect' -- Choose your inventory ('ox_inventory', 'qb-inventory')
27
- Config .Target = ' autodetect' -- autodetect -- Target system ('qb-target', 'ox_target' or false to disable)
27
+ Config .Target = ' autodetect' -- false -- Target system ('qb-target', 'ox_target' or false to disable)
28
28
29
29
--[[
30
30
Here you can set the language for the script, you can choose between 'en', 'es', 'de'
@@ -174,7 +174,7 @@ Config.Plants = { -- Create seeds for drugs
174
174
[' weed_lemonhaze_seed' ] = {
175
175
label = ' Lemon Haze' , -- Label for the plant
176
176
plantType = ' plant1' , -- Choose plant types from (plant1, plant2, small_plant)
177
- growthTime = 2 , -- Cutsom growth time in minutes false if you want to use the global growth time
177
+ growthTime = false , -- Cutsom growth time in minutes false if you want to use the global growth time
178
178
onlyZone = false , -- Set to zone id if you want to plant this seed only in a specific zone
179
179
zones = {' weed_zone_one' , ' weed_zone_two' }, -- Zones where the seed can be planted
180
180
products = { -- Item the plant is going to produce when harvested with the max amount
@@ -187,21 +187,12 @@ Config.Plants = { -- Create seeds for drugs
187
187
max = 2 -- Max amount of seeds
188
188
},
189
189
time = 3000 , -- Time it takes to plant/harvest in miliseconds
190
- reqItems = { -- Items required to plant the seed
191
- [" planting" ] = {
192
- [' watering_can' ] = {amount = 1 , remove = true },
193
- [' shovel' ] = {amount = 1 , remove = true },
194
- },
195
- [" harvesting" ] = {
196
- [' watering_can' ] = {amount = 1 , remove = true },
197
- [' shovel' ] = {amount = 1 , remove = true },
198
- }
199
- }
200
190
},
201
191
[' coca_seed' ] = {
202
192
growthTime = 45 , -- Cutsom growth time in minutes false if you want to use the global growth time
203
193
onlyZone = false , -- Set to zone id if you want to plant this seed only in a specific zone
204
- label = ' Coca Plant' , --
194
+ label = ' Coca Plant' , -- Label for the plant
195
+ zones = {}, -- Zones where the seed can be planted
205
196
plantType = ' small_plant' , -- Choose plant types from (plant1, plant2, small_plant) also you can change plants yourself in main/client.lua line: 2
206
197
products = { -- Item the plant is going to produce when harvested with the max amount
207
198
[' coca' ]= {min = 1 , max = 2 }
@@ -260,19 +251,6 @@ Config.ProcessingTables = { -- Create processing table
260
251
anim = ' player_search' ,
261
252
}
262
253
},
263
- [' joint_hidden' ] = {
264
- label = ' Joint Unsichtbar' ,
265
- ingrediants = {
266
- [' weed_lemonhaze' ] = 3 ,
267
- [' paper' ] = 1
268
- },
269
- outputs = {
270
- [' joint' ] = 2
271
- },
272
- processTime = 5 ,
273
- failChance = 15 ,
274
- showIngrediants = false ,
275
- },
276
254
}
277
255
},
278
256
@@ -377,6 +355,15 @@ Config.SellSettings = {
377
355
[' giveBonusOnPolice' ] = true , -- Give bonus money if there is police online | 1-2 Cops : x1.2 | 3-6 Cops : x1.5 | 7-10 Cops : x1.7 | +10 Cops : x2.0
378
356
}
379
357
358
+ Config .SellEverywhere = {
359
+ [' enabled' ] = false , -- Allow selling drugs everywhere
360
+ drugs = {
361
+ { item = ' cocaine' , price = math.random (100 , 200 ), moneyType = ' cash' },
362
+ { item = ' joint' , price = math.random (50 , 100 ), moneyType = ' cash' },
363
+ { item = ' weed_lemonhaze' , price = math.random (50 , 100 ), moneyType = ' cash' },
364
+ }
365
+ }
366
+
380
367
Config .SellZones = {
381
368
[' groove' ] = {
382
369
points = {
@@ -388,9 +375,9 @@ Config.SellZones = {
388
375
},
389
376
thickness = 27 ,
390
377
drugs = {
391
- { item = ' cocaine' , price = math.random (100 , 200 )},
392
- { item = ' joint' , price = math.random (50 , 100 )},
393
- { item = ' weed_lemonhaze' , price = math.random (50 , 100 )}
378
+ { item = ' cocaine' , price = math.random (100 , 200 ), moneyType = ' cash ' },
379
+ { item = ' joint' , price = math.random (50 , 100 ), moneyType = ' cash ' },
380
+ { item = ' weed_lemonhaze' , price = math.random (50 , 100 ), moneyType = ' cash ' },
394
381
}
395
382
},
396
383
[' vinewood' ] = {
@@ -409,9 +396,9 @@ Config.SellZones = {
409
396
},
410
397
thickness = 59.0 ,
411
398
drugs = {
412
- { item = ' cocaine' , price = math.random (100 , 200 )},
413
- { item = ' joint' , price = math.random (50 , 100 )},
414
- { item = ' weed_lemonhaze' , price = math.random (50 , 100 )}
399
+ { item = ' cocaine' , price = math.random (100 , 200 ), moneyType = ' cash ' },
400
+ { item = ' joint' , price = math.random (50 , 100 ), moneyType = ' cash ' },
401
+ { item = ' weed_lemonhaze' , price = math.random (50 , 100 ), moneyType = ' cash ' },
415
402
}
416
403
},
417
404
[' beach' ] = {
@@ -428,9 +415,9 @@ Config.SellZones = {
428
415
},
429
416
thickness = 4.0 ,
430
417
drugs = {
431
- { item = ' cocaine' , price = math.random (100 , 200 )},
432
- { item = ' joint' , price = math.random (50 , 100 )},
433
- { item = ' weed_lemonhaze' , price = math.random (50 , 100 )}
418
+ { item = ' cocaine' , price = math.random (100 , 200 ), moneyType = ' cash ' },
419
+ { item = ' joint' , price = math.random (50 , 100 ), moneyType = ' cash ' },
420
+ { item = ' weed_lemonhaze' , price = math.random (50 , 100 ), moneyType = ' cash ' },
434
421
}
435
422
},
436
423
}
@@ -464,11 +451,11 @@ Config.DrugDealers = {
464
451
},
465
452
items = {
466
453
[' buying' ] = { -- Items the dealer buys from you
467
- [' weed_lemonhaze' ] = {min = 100 , max = 200 }, -- min/max price
454
+ [' weed_lemonhaze' ] = {min = 100 , max = 200 , moneyType = ' cash ' }, -- min/max price
468
455
},
469
456
[' selling' ] = { -- Items the dealer sells to you
470
- [' weed_lemonhaze_seed' ] = {min = 100 , max = 200 }, -- min/max price
471
- [' coca_seed' ] = {min = 100 , max = 300 },
457
+ [' weed_lemonhaze_seed' ] = {min = 100 , max = 200 , moneyType = ' bank ' }, -- min/max price
458
+ [' coca_seed' ] = {min = 100 , max = 300 , moneyType = ' black_money ' },
472
459
},
473
460
},
474
461
},
@@ -491,7 +478,7 @@ Config.BlacklistPeds = {
491
478
but it's only for development.
492
479
]]
493
480
Config .EnableVersionCheck = true -- Enable version check
494
- Config .Branch = ' main ' -- Set to 'master' to use the master branch, set to 'development' to use the dev branch
495
- Config .ManuelDatabaseSetup = true -- Set to true to disable the automatic database setup and check
496
- Config .Debug = true -- Set to true to enable debug mode
481
+ Config .Branch = ' v1.3.0beta ' -- Set to 'master' to use the master branch, set to 'development' to use the dev branch
482
+ Config .ManualDatabaseSetup = false -- Set to true to disable the automatic database setup and check
483
+ Config .Debug = false -- Set to true to enable debug mode
497
484
Config .DebugPoly = false -- Set to true to enable debug mode for PolyZone
0 commit comments