Skip to content

Commit 75a9f3d

Browse files
committed
Final Config
1 parent 1d7d233 commit 75a9f3d

File tree

1 file changed

+28
-41
lines changed

1 file changed

+28
-41
lines changed

Diff for: shared/config.lua

+28-41
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Locales = Locales or {}
2424

2525
Config.Framework = 'autodetect' -- Choose your framework ('ox_inventory', 'qb-inventory', 'esx_inventory', 'custom_inventory', 'autodetect')
2626
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)
2828

2929
--[[
3030
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
174174
['weed_lemonhaze_seed'] = {
175175
label = 'Lemon Haze', -- Label for the plant
176176
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
178178
onlyZone = false, -- Set to zone id if you want to plant this seed only in a specific zone
179179
zones = {'weed_zone_one', 'weed_zone_two'}, -- Zones where the seed can be planted
180180
products = { -- Item the plant is going to produce when harvested with the max amount
@@ -187,21 +187,12 @@ Config.Plants = { -- Create seeds for drugs
187187
max = 2 -- Max amount of seeds
188188
},
189189
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-
}
200190
},
201191
['coca_seed'] = {
202192
growthTime = 45, -- Cutsom growth time in minutes false if you want to use the global growth time
203193
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
205196
plantType = 'small_plant', -- Choose plant types from (plant1, plant2, small_plant) also you can change plants yourself in main/client.lua line: 2
206197
products = { -- Item the plant is going to produce when harvested with the max amount
207198
['coca']= {min = 1, max = 2}
@@ -260,19 +251,6 @@ Config.ProcessingTables = { -- Create processing table
260251
anim = 'player_search',
261252
}
262253
},
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-
},
276254
}
277255
},
278256

@@ -377,6 +355,15 @@ Config.SellSettings = {
377355
['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
378356
}
379357

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+
380367
Config.SellZones = {
381368
['groove'] = {
382369
points = {
@@ -388,9 +375,9 @@ Config.SellZones = {
388375
},
389376
thickness = 27,
390377
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'},
394381
}
395382
},
396383
['vinewood'] = {
@@ -409,9 +396,9 @@ Config.SellZones = {
409396
},
410397
thickness = 59.0,
411398
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'},
415402
}
416403
},
417404
['beach'] = {
@@ -428,9 +415,9 @@ Config.SellZones = {
428415
},
429416
thickness = 4.0,
430417
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'},
434421
}
435422
},
436423
}
@@ -464,11 +451,11 @@ Config.DrugDealers = {
464451
},
465452
items = {
466453
['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
468455
},
469456
['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'},
472459
},
473460
},
474461
},
@@ -491,7 +478,7 @@ Config.BlacklistPeds = {
491478
but it's only for development.
492479
]]
493480
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
497484
Config.DebugPoly = false -- Set to true to enable debug mode for PolyZone

0 commit comments

Comments
 (0)