๐ฒdv-drugs
Whole Config
Config = {}
Config.WelcomeText = "dv-drugs loaded"
--Addiction Settings
Config.AddictionChance = math.random(1, 5) --Chance when you use a drug that you'll get addicted
Config.RagdollChance = math.random(1, 5) --Chance you ragdoll when addicted
Config.RagdollTime = 120000 --How often you have a chance of ragdolling when addicted
--Selling Settings
Config.SellChance = {1,3} --Chance the ped isnt interested
Config.CopsCalledChance = {1,2} --Chance if they arent interested, that they call the cops
Config.SellBarTimer = 5000 --How long it takes to sell to a ped
Config.SellCoolDown = 15000 --Not used
Config.BlacklistedPeds = { --Peds that you cant sell to
"s_f_y_hooker_01",
"a_f_y_hipster_01",
"a_m_m_afriamer_01",
--1131233579,
--2109222095,
}
--"a_f_y_hipster_01",
--Meth Run Settings
Config.MethRunCopsRequired = 2 --Self explanatory
Config.MethRunProductAmount = math.random(25, 50) --How much product you get if cops are on. If they arent, its halved
Config.MethRecipe = {'3', '9', '8'} --Recipe for the laptop sliders
Config.MethLaptopLocation = vector3(1001.916, -3194.389, -39.14656) --Laptop spot
Config.MethTubLocation = vector3(1005.745, -3200.782, -38.48354) --Mixer spot
Config.MethTubConfigLocation = vector3(1007.013, -3197.758, -38.67499) --Mixer panel spot
Config.MethCuringRackLocation = vector3(1007.903, -3194.557, -38.79626) --Curing racks spot
Config.MethProgressBarTimer = 5000 --Timer for all meth run progress bars
Config.MethMixTimer = 5000 --How long mixing takes once loaded
Config.MethCuringTime = 5000 --How long curing takes once loaded
Config.MethEntrance = vector4(321.72, -305.87, 52.50, 94.5)
Config.MethExit = vector4(997.01, -3200.65, -36.4, 90.4)
Config.Drugs = {
[1] = {
drug = "moonshine",
label = "Moonshine",
xpRequired = 0,
xpPerSell = 1,
class = 0,
processingminigame = true,
processinglocation = vector3(-1460.26, 2150.498, 39.16238),
processingtime = math.random(20000,30000),
processcoffeetime = math.random(15000,20000),
sellprice = math.random(100, 225),
ingredients = {
[1] = {
type = "gather", --Can be 'gather' or 'shop'
item = "sugar", --Items spawn name
label = "Sugar", --Name for progress bar
amountgathered = 2, --Amount you gat from gathering
amountneeded = 2, --Amount of this item you need to craft the drug
gatherpos = vector3(-1718.22, 2308.02, 71.57), --First gathering position
gather2pos = vector3(-1712.45, 2300.6, 72.79), --Second gathering position
gatheringtime = math.random(20000,30000), --Time in ms it takes to gather (1000 ms is 1 sec)
coffeetime = math.random(15000, 18000), --Time in ms it takes to gather while on coffee
},
[2] = {
type = "gather",
item = "yeast",
label = "Yeast",
amountgathered = 2,
amountneeded = 2,
gatherpos = vector3(2541.12, 4516.04, 36.17),
gather2pos = vector3(2533.36, 4513.62, 36.68),
gatheringtime = math.random(20000,30000),
coffeetime = math.random(15000, 18000),
},
},
}, --End of first drug
[2] = {
drug = "highgrade8th",
label = "Cannabis",
xpRequired = 50,
xpPerSell = 2,
class = 1,
processingminigame = true,
processinglocation = vector3(848.644, 2862.025, 57.0),
processingtime = math.random(20000,30000),
processcoffeetime = math.random(15000,20000),
sellprice = math.random(375, 500),
ingredients = {
[1] = {
type = "shop", --Can be 'gather' or 'shop'
item = "marijuana_seeds", --Items spawn name
label = "Marijuana Seeds", --Name for progress bar
amountgathered = 2, --Amount you gat from gathering
amountneeded = 2, --Amount of this item you need to craft the drug
gatherpos = vector3(380.1559, -828.0174, 29.30238), --First gathering position
gather2pos = vector3(0,0,0), --Second gathering position
gatheringtime = math.random(20000,30000), --Time in ms it takes to gather (1000 ms is 1 sec)
coffeetime = math.random(15000, 18000), --Time in ms it takes to gather while on coffee
},
},
},
[3] = {
drug = "cokebaggy",
label = "Coke",
xpRequired = 350,
xpPerSell = 2,
class = 2,
processingminigame = true,
processingentrance = vector3(2156.99, 3385.58, 45.62),
processinglocation = vector3(1134.941, -3194.123, -40.39634),
processingtime = math.random(20000,30000),
processcoffeetime = math.random(15000,20000),
sellprice = math.random(400, 700),
ingredients = {
[1] = {
type = "gather", --Can be 'gather' or 'shop'
item = "cocaleaf", --Items spawn name
label = "Coca Leaf", --Name for progress bar
amountgathered = 2, --Amount you gat from gathering
amountneeded = 2, --Amount of this item you need to craft the drug
gatherpos = vector3(2201.724, 5189.462, 59.95219), --First gathering position
gather2pos = vector3(2193, 5195.244, 59.98302), --Second gathering position
gatheringtime = math.random(20000,30000), --Time in ms it takes to gather (1000 ms is 1 sec)
coffeetime = math.random(15000, 18000), --Time in ms it takes to gather while on coffee
},
[2] = {
type = "gather",
item = "gasoline",
label = "Gasoline",
amountgathered = 2,
amountneeded = 2,
gatherpos = vector3(1706.56, -1712.91, 112.37),
gather2pos = vector3(0,0,0),
gatheringtime = math.random(20000,30000),
coffeetime = math.random(15000, 18000),
},
},
},
[4] = {
drug = "codeine",
label = "Codeine",
xpRequired = 860,
xpPerSell = 3,
class = 2,
processingminigame = true,
processingentrance = vector3(-1262.79, -1139.1, 7.53),
processinglocation = vector3(1090.49, -3195.53, -39.48),
processingtime = math.random(20000,30000),
processcoffeetime = math.random(15000,20000),
sellprice = math.random(500, 800),
ingredients = {
[1] = {
type = "codeine", --Can be 'gather' or 'shop'
item = "rawcodeine", --Items spawn name
label = "Raw Codeine", --Name for progress bar
amountgathered = 2, --Amount you gat from gathering
amountneeded = 2, --Amount of this item you need to craft the drug
gatherpos = vector3(1103.79, -3195.64, -38.43), --First gathering position
gather2pos = vector3(1093.57, -3199.83, -38.72), --Second gathering position
gatheringtime = math.random(20000,30000), --Time in ms it takes to gather (1000 ms is 1 sec)
coffeetime = math.random(15000, 18000), --Time in ms it takes to gather while on coffee
},
[2] = {
type = "shop",
item = "cornsyrup",
label = "Corn Syrup",
amountgathered = 2,
amountneeded = 2,
gatherpos = vector3(491.9194, 2950.271, 42.52788),
gather2pos = vector3(0,0,0),
gatheringtime = math.random(20000,30000),
coffeetime = math.random(15000, 18000),
},
},
},
[5] = {
drug = "crack_baggy",
label = "Crack",
xpRequired = 1740,
xpPerSell = 4,
class = 3,
processingminigame = true,
processinglocation = vector3(0,0,0),
processingtime = math.random(20000,30000),
processcoffeetime = math.random(15000,20000),
sellprice = math.random(600, 900),
ingredients = {
[1] = {
type = "shop", --Can be 'gather' or 'shop'
item = "bakingsoda", --Items spawn name
label = "Baking Soda", --Name for progress bar
amountgathered = 2, --Amount you gat from gathering
amountneeded = 2, --Amount of this item you need to craft the drug
gatherpos = vector3(-54.22142, -1489.509, 31.75909), --First gathering position
gather2pos = vector3(0,0,0), --Second gathering position
gatheringtime = math.random(20000,30000), --Time in ms it takes to gather (1000 ms is 1 sec)
coffeetime = math.random(15000, 18000), --Time in ms it takes to gather while on coffee
},
},
},
[6] = {
drug = "meth",
label = "Meth",
xpRequired = 4090,
xpPerSell = 5,
class = 3,
processingminigame = true,
processingentrance = vector3(321.9152, -305.8463, 52.58604),
processinglocation = vector3(0,0,0),
processingtime = math.random(20000,30000),
processcoffeetime = math.random(15000,20000),
sellprice = math.random(800, 1200),
ingredients = {
[1] = {
type = "gather", --Can be 'gather' or 'shop'
item = "hydrochloricacid", --Items spawn name
label = "Hydrochloric Acid", --Name for progress bar
amountgathered = 2, --Amount you gat from gathering
amountneeded = 2, --Amount of this item you need to craft the drug
gatherpos = vector3(-150.9401, 6062.203, 30.89041), --First gathering position
gather2pos = vector3(-140.707, 6071.615, 30.87653), --Second gathering position
gatheringtime = math.random(20000,30000), --Time in ms it takes to gather (1000 ms is 1 sec)
coffeetime = math.random(15000, 18000), --Time in ms it takes to gather while on coffee
},
[2] = {
type = "gather",
item = "acetone",
label = "Acetone",
amountgathered = 2,
amountneeded = 2,
gatherpos = vector3(2457.983, 4774.232, 34.4356),
gather2pos = vector3(2452.037, 4777.901, 34.48),
gatheringtime = math.random(20000,30000),
coffeetime = math.random(15000, 18000),
},
[3] = {
type = "gather",
item = "ephedrine",
label = "Ephedrine",
amountgathered = 2,
amountneeded = 2,
gatherpos = vector3(429.7772, 3072.314, 41.94431),
gather2pos = vector3(427.8498, 3078.525, 41.94437),
gatheringtime = math.random(20000,30000),
coffeetime = math.random(15000, 18000),
},
},
},
}Selling Settings
Config.SellChance = {1,3} --Chance the ped isnt interested
Config.CopsCalledChance = {1,2} --Chance if they arent interested, that they call the cops
Config.SellBarTimer = 5000 --How long it takes to sell to a ped
Config.SellCoolDown = 15000 --Not used
Config.BlacklistedPeds = { --Peds that you cant sell to
"s_f_y_hooker_01",
"a_f_y_hipster_01",
"a_m_m_afriamer_01",
--1131233579,
--2109222095,
}Config.SellChance: Chance that the ped is NOT interested in buying from you. This should actually say something like "Config.DeclineChance" because its the chance that they will turn you down but...
Config.CopsCalledChance: Chance AFTER the ped isnt interested that they'll call the cops. If they are interested, obviously they wont call the cops lol
Config.SellBarTimer: Time it takes the progress bar to fill and you to sell
Config.BlacklistedPeds: Any peds that shouldn't be able to buy drugs
Numbers inside the "chance" settings are a random number between first number and second number, so in Config.CopsCalledChance it would be a random number from 1-2. And if our randomly generated number is 1, we have "success" therefore making Config.CopsCalledChance a 1 in 2 chance of being "successful"
Meth Settings
Config.MethRunCopsRequired = 2 --Self explanatory
Config.MethRunProductAmount = math.random(25, 50) --How much product you get if cops are on. If they arent, its halved
Config.MethRecipe = {'3', '9', '8'} --Recipe for the laptop sliders
Config.MethLaptopLocation = vector3(1001.916, -3194.389, -39.14656) --Laptop spot
Config.MethTubLocation = vector3(1005.745, -3200.782, -38.48354) --Mixer spot
Config.MethTubConfigLocation = vector3(1007.013, -3197.758, -38.67499) --Mixer panel spot
Config.MethCuringRackLocation = vector3(1007.903, -3194.557, -38.79626) --Curing racks spot
Config.MethProgressBarTimer = 5000 --Timer for all meth run progress bars
Config.MethMixTimer = 5000 --How long mixing takes once loaded
Config.MethCuringTime = 5000 --How long curing takes once loaded
Config.MethEntrance = vector4(321.72, -305.87, 52.50, 94.5)
Config.MethExit = vector4(997.01, -3200.65, -36.4, 90.4)Config.,MethRunCopsRequired: Amount of cops required online to be able to get the FULL AMOUNT of meth from a run (you can still do runs without any officers online)
Config.MethRunProductAmount: Random number between the first and second number you choose. The amount of product you get at the end of a run if enough cops are online. If they aren't, this number is halved.
Config.MethRecipe: Recipe for 100% pure meth BABY! Lmao each number should be a random number from 1-9, you choose :)
Config.MethLaptopLocation: Location of the laptop where you configure the recipe for a run (where a run starts)
Last updated