test2
This commit is contained in:
1 parent
07481651b8
commit
c81d113494
6 files changed
+78
-71
No files matched your search
@@ -180,6 +180,7 @@ function minigame()
|
|||||||
function GetImage(img)
|
function GetImage(img)
|
||||||
if GetResourceState('ox_inventory') == 'started' then
|
if GetResourceState('ox_inventory') == 'started' then
|
||||||
local Items = exports['ox_inventory']:Items()
|
local Items = exports['ox_inventory']:Items()
|
||||||
|
if not Items[img] then print(' You Are Missing: ' .. img .. ' From Your ox items.lua') return end
|
||||||
local itemClient = Items[img] and Items[img]['client']
|
local itemClient = Items[img] and Items[img]['client']
|
||||||
if itemClient and itemClient['image'] then
|
if itemClient and itemClient['image'] then
|
||||||
return itemClient['image']
|
return itemClient['image']
|
||||||
@@ -196,6 +197,7 @@ function GetImage(img)
|
|||||||
['core_inventory'] = "nui://core_inventory/html/img/"
|
['core_inventory'] = "nui://core_inventory/html/img/"
|
||||||
}
|
}
|
||||||
for k, v in pairs(invs) do
|
for k, v in pairs(invs) do
|
||||||
|
if not QBCore.Shared.Items[img] then print(' You Are Missing: ' .. img .. ' From Your QB items.lua') return end
|
||||||
if GetResourceState(k) == 'started' then
|
if GetResourceState(k) == 'started' then
|
||||||
return v .. QBCore.Shared.Items[img].image
|
return v .. QBCore.Shared.Items[img].image
|
||||||
end
|
end
|
||||||
@@ -205,8 +207,10 @@ end
|
|||||||
function GetLabel(label)
|
function GetLabel(label)
|
||||||
if GetResourceState('ox_inventory') == 'started' then
|
if GetResourceState('ox_inventory') == 'started' then
|
||||||
local Items = exports['ox_inventory']:Items()
|
local Items = exports['ox_inventory']:Items()
|
||||||
|
if not Items[img] then print(' You Are Missing: ' .. img .. ' From Your ox items.lua') return end
|
||||||
return Items[label]['label']
|
return Items[label]['label']
|
||||||
else
|
else
|
||||||
|
if QBCore.Shared.Items[label] == nil then print("There Is No " .. label .. " In Your QB Items.lua") return end
|
||||||
return QBCore.Shared.Items[label]['label']
|
return QBCore.Shared.Items[label]['label']
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
+14
-12
@@ -1,5 +1,7 @@
|
|||||||
local QBCore = exports['qb-core']:GetCoreObject()
|
local QBCore = exports['qb-core']:GetCoreObject()
|
||||||
|
local prices = {
|
||||||
|
heroinlabkitprice = 10000
|
||||||
|
}
|
||||||
local h = {
|
local h = {
|
||||||
{ location = vector3(-2251.3, -99.18, 100.11), heading = 334.49, model = "prop_plant_01b"},
|
{ location = vector3(-2251.3, -99.18, 100.11), heading = 334.49, model = "prop_plant_01b"},
|
||||||
{ location = vector3(-2249.63, -92.97, 101.8), heading = 329.56, model = "prop_plant_01b"},
|
{ location = vector3(-2249.63, -92.97, 101.8), heading = 329.56, model = "prop_plant_01b"},
|
||||||
@@ -64,17 +66,17 @@ RegisterServerEvent('md-drugs:server:dryplant', function(num)
|
|||||||
local heroin = getRep(src, 'heroin')
|
local heroin = getRep(src, 'heroin')
|
||||||
if heroin <= Config.Tier1 then
|
if heroin <= Config.Tier1 then
|
||||||
if not GetRecipe(src, 'heroin', 'dryheroin', 'tier1') then return end
|
if not GetRecipe(src, 'heroin', 'dryheroin', 'tier1') then return end
|
||||||
Log(GetName(src) ..' Made Heroin Powder With a distance of ' .. dist(source, Config.dryplant[num]['loc']) .. ' vectors', 'heroin')
|
Log(GetName(src) ..' Made Heroin Powder', 'heroin')
|
||||||
elseif heroin >= Config.Tier1 and heroin <= Config.Tier2 then
|
elseif heroin >= Config.Tier1 and heroin <= Config.Tier2 then
|
||||||
if not GetRecipe(src, 'heroin', 'dryheroin', 'tier2') then return end
|
if not GetRecipe(src, 'heroin', 'dryheroin', 'tier2') then return end
|
||||||
Log(GetName(src) ..' Made Heroin Powder Tier 2 With a distance of ' .. dist(source, Config.dryplant[num]['loc']) .. ' vectors', 'heroin')
|
Log(GetName(src) ..' Made Heroin Powder Tier 2', 'heroin')
|
||||||
else
|
else
|
||||||
if not GetRecipe(src, 'heroin', 'dryheroin', 'tier3') then return end
|
if not GetRecipe(src, 'heroin', 'dryheroin', 'tier3') then return end
|
||||||
Log(GetName(src) ..' Made Heroin Powder Tier 3 With a distance of ' .. dist(source, Config.dryplant[num]['loc']) .. ' vectors', 'heroin')
|
Log(GetName(src) ..' Made Heroin Powder Tier 3', 'heroin')
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
if not GetRecipe(src, 'heroin', 'dryheroin', 'tier1') then return end
|
if not GetRecipe(src, 'heroin', 'dryheroin', 'tier1') then return end
|
||||||
Log(GetName(src) ..' Made Heroin Powder With a distance of ' .. dist(source, Config.dryplant[num]['loc']) .. ' vectors', 'heroin')
|
Log(GetName(src) ..' Made Heroin Powder With a distance of', 'heroin')
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
@@ -90,19 +92,19 @@ RegisterServerEvent('md-drugs:server:cutheroin', function(num)
|
|||||||
local rawh3 = Player.Functions.GetItemByName('heroinstagethree')
|
local rawh3 = Player.Functions.GetItemByName('heroinstagethree')
|
||||||
if rawh then
|
if rawh then
|
||||||
if not GetRecipe(src, 'heroin', 'cutheroin', 'tier1') then return end
|
if not GetRecipe(src, 'heroin', 'cutheroin', 'tier1') then return end
|
||||||
Log(GetName(src) ..' Cut Heroin With a distance of ' .. dist(source, Config.cutheroinone[num]['loc']) .. ' vectors', 'heroin')
|
Log(GetName(src) ..' Cut Heroin With a distance of', 'heroin')
|
||||||
elseif rawh2 then
|
elseif rawh2 then
|
||||||
if not GetRecipe(src, 'heroin', 'cutheroin', 'tier2') then return end
|
if not GetRecipe(src, 'heroin', 'cutheroin', 'tier2') then return end
|
||||||
Log(GetName(src) ..' Cut Heroin Tier 2 With a distance of ' .. dist(source, Config.cutheroinone[num]['loc']) .. ' vectors', 'heroin')
|
Log(GetName(src) ..' Cut Heroin Tier 2 With a distance of', 'heroin')
|
||||||
elseif rawh3 then
|
elseif rawh3 then
|
||||||
if not GetRecipe(src, 'heroin', 'cutheroin', 'tier3') then return end
|
if not GetRecipe(src, 'heroin', 'cutheroin', 'tier3') then return end
|
||||||
Log(GetName(src) .. ' Cut Heroin Tier 3 With a distance of ' .. dist(source, Config.cutheroinone[num]['loc']) .. ' vectors', 'heroin')
|
Log(GetName(src) .. ' Cut Heroin Tier 3 With a distance of', 'heroin')
|
||||||
else
|
else
|
||||||
Notifys(src, Lang.Heroin.noheroin, "error")
|
Notifys(src, Lang.Heroin.noheroin, "error")
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
if not GetRecipe(src, 'heroin', 'cutheroin', 'tier1') then return end
|
if not GetRecipe(src, 'heroin', 'cutheroin', 'tier1') then return end
|
||||||
Log(GetName(src) ..' Cut Heroin With a distance of ' .. dist(source, Config.cutheroinone[num]['loc']) .. ' vectors', 'heroin')
|
Log(GetName(src) ..' Cut Heroin With a distance of', 'heroin')
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
@@ -110,11 +112,11 @@ RegisterServerEvent('md-drugs:server:getheroinlabkit', function()
|
|||||||
local src = source
|
local src = source
|
||||||
local Player = getPlayer(src)
|
local Player = getPlayer(src)
|
||||||
if not checkLoc(source, 'singleSpot', 'buyheroinlabkit') then return end
|
if not checkLoc(source, 'singleSpot', 'buyheroinlabkit') then return end
|
||||||
if Player.Functions.RemoveMoney('cash', Config.heroinlabkitprice) then
|
if Player.Functions.RemoveMoney('cash', prices.heroinlabkitprice) then
|
||||||
AddItem(src, 'heroinlabkit', 1)
|
AddItem(src, 'heroinlabkit', 1)
|
||||||
Log(GetName(src) ..' Bought A Heroin lab Kit ' .. dist(source, vector3(Config.buyheroinlabkit.x,Config.buyheroinlabkit.y,Config.buyheroinlabkit.z)) .. ' vectors', 'heroin')
|
Log(GetName(src) ..' Bought A Heroin lab Kit', 'heroin')
|
||||||
else
|
else
|
||||||
Notifys(src, 'You Need '.. Config.heroinlabkitprice .. ' In Cash For This', 'error')
|
Notifys(src, 'You Need '.. prices.heroinlabkitprice .. ' In Cash For This', 'error')
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|||||||
+8
-5
@@ -1,10 +1,13 @@
|
|||||||
local QBCore = exports['qb-core']:GetCoreObject()
|
local QBCore = exports['qb-core']:GetCoreObject()
|
||||||
|
local prices = {
|
||||||
|
tabcost = 100, -- price per piece of tab paper event does 10 at a time
|
||||||
|
lsdlabkitcost = 10000 -- price of the lsd lab kit
|
||||||
|
}
|
||||||
RegisterServerEvent('md-drugs:server:getlysergic', function(num)
|
RegisterServerEvent('md-drugs:server:getlysergic', function(num)
|
||||||
local src = source
|
local src = source
|
||||||
if not checkLoc(src, 'lysergicacid', num) then return end
|
if not checkLoc(src, 'lysergicacid', num) then return end
|
||||||
if AddItem(src,'lysergic_acid', 2) then
|
if AddItem(src,'lysergic_acid', 2) then
|
||||||
Log(GetName(src) ..' Got Lysergic acid with a distance of ' .. dist(source, Config.lysergicacid[num]['loc']) .. '!', 'lsd')
|
Log(GetName(src) ..' Got Lysergic acid!', 'lsd')
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
@@ -12,7 +15,7 @@ RegisterServerEvent('md-drugs:server:getdiethylamide', function(num)
|
|||||||
local src = source
|
local src = source
|
||||||
if not checkLoc(src, 'diethylamide', num) then return end
|
if not checkLoc(src, 'diethylamide', num) then return end
|
||||||
if AddItem(src,'diethylamide', 2) then
|
if AddItem(src,'diethylamide', 2) then
|
||||||
Log(GetName(src) ..' Got Diethylamide with a distance of ' .. dist(source, Config.diethylamide[num]['loc']) .. '!', 'lsd')
|
Log(GetName(src) ..' Got diethylamide!', 'lsd')
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
@@ -106,7 +109,7 @@ RegisterServerEvent('md-drugs:server:gettabpaper', function(num)
|
|||||||
local src = source
|
local src = source
|
||||||
local Player = getPlayer(src)
|
local Player = getPlayer(src)
|
||||||
if not checkLoc(src, 'gettabs', num) then return end
|
if not checkLoc(src, 'gettabs', num) then return end
|
||||||
if Player.Functions.RemoveMoney('cash', Config.tabcost * 10) then
|
if Player.Functions.RemoveMoney('cash', prices.tabcost * 10) then
|
||||||
AddItem(src,'tab_paper', 10)
|
AddItem(src,'tab_paper', 10)
|
||||||
Log(GetName(src) ..' Bought Tab Paper!', 'lsd')
|
Log(GetName(src) ..' Bought Tab Paper!', 'lsd')
|
||||||
else
|
else
|
||||||
@@ -118,7 +121,7 @@ RegisterServerEvent('md-drugs:server:getlabkit', function()
|
|||||||
local src = source
|
local src = source
|
||||||
local Player = getPlayer(src)
|
local Player = getPlayer(src)
|
||||||
if not checkLoc(src,'singleSpot', 'buylsdlabkit') then return end
|
if not checkLoc(src,'singleSpot', 'buylsdlabkit') then return end
|
||||||
if Player.Functions.RemoveMoney('cash', Config.lsdlabkitcost) then
|
if Player.Functions.RemoveMoney('cash', prices.lsdlabkitcost) then
|
||||||
AddItem(src,'lsdlabkit', 1)
|
AddItem(src,'lsdlabkit', 1)
|
||||||
Log(GetName(src) ..' Bought A LSD Lab Kit!', 'lsd')
|
Log(GetName(src) ..' Bought A LSD Lab Kit!', 'lsd')
|
||||||
else
|
else
|
||||||
|
|||||||
+10
-7
@@ -1,9 +1,13 @@
|
|||||||
QBCore = exports['qb-core']:GetCoreObject()
|
QBCore = exports['qb-core']:GetCoreObject()
|
||||||
|
local prices = {
|
||||||
|
payfortruck = 500,
|
||||||
|
hotchance = 30,
|
||||||
|
itemChance = 20,
|
||||||
|
}
|
||||||
lib.callback.register('md-drugs:server:payfortruck', function()
|
lib.callback.register('md-drugs:server:payfortruck', function()
|
||||||
local src = source
|
local src = source
|
||||||
local Player = getPlayer(src)
|
local Player = getPlayer(src)
|
||||||
if Player.Functions.RemoveMoney('cash', 500) or Player.Functions.RemoveMoney('bank', 500) then
|
if Player.Functions.RemoveMoney('cash', prices.payfortruck) or Player.Functions.RemoveMoney('bank', prices.payfortruck) then
|
||||||
Log(GetName(src) .. ' Rented A Van For OxyRuns', 'oxy')
|
Log(GetName(src) .. ' Rented A Van For OxyRuns', 'oxy')
|
||||||
return true
|
return true
|
||||||
else
|
else
|
||||||
@@ -21,21 +25,20 @@ RegisterServerEvent('md-drugs:server:giveoxybox', function()
|
|||||||
local itemchance = math.random(1,100)
|
local itemchance = math.random(1,100)
|
||||||
local itemList = {
|
local itemList = {
|
||||||
{item = 'oxy', amount = 2},
|
{item = 'oxy', amount = 2},
|
||||||
{item = 'lockpick', amount = 1},
|
{item = 'houselockpick', amount = 1},
|
||||||
{item = 'cryptostick', amount = 1},
|
|
||||||
}
|
}
|
||||||
local item = itemList[math.random(1, #itemList)]
|
local item = itemList[math.random(1, #itemList)]
|
||||||
if chance <= 30 then
|
if chance <= prices.hotchance then
|
||||||
Notifys(src, Lang.oxy.hot, "error")
|
Notifys(src, Lang.oxy.hot, "error")
|
||||||
Player.Functions.AddMoney("cash", cash * 0.5)
|
Player.Functions.AddMoney("cash", cash * 0.5)
|
||||||
if itemchance <= 30 then
|
if itemchance <= prices.itemChance then
|
||||||
AddItem(src, item.item, item.amount)
|
AddItem(src, item.item, item.amount)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
Notifys(Lang.oxy.next, "success")
|
Notifys(Lang.oxy.next, "success")
|
||||||
TriggerClientEvent("md-drugs:client:getoxylocationroute", src)
|
TriggerClientEvent("md-drugs:client:getoxylocationroute", src)
|
||||||
Player.Functions.AddMoney("cash", cash)
|
Player.Functions.AddMoney("cash", cash)
|
||||||
if itemchance <= 30 then
|
if itemchance <= prices.itemChance then
|
||||||
AddItem(src, item.item, item.amount)
|
AddItem(src, item.item, item.amount)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
+36
-36
@@ -3,38 +3,38 @@ local QBCore = exports['qb-core']:GetCoreObject()
|
|||||||
local recipe = {
|
local recipe = {
|
||||||
cocaine = {
|
cocaine = {
|
||||||
cokepowder = {
|
cokepowder = {
|
||||||
tier1 = {take = {coca_leaf = 1}, give = {coke = 1}},
|
tier1 = {take = {coca_leaf = 8}, give = {coke = 1}},
|
||||||
tier2 = {take = {coca_leaf = 1}, give = {cokestagetwo = 1}},
|
tier2 = {take = {coca_leaf = 8}, give = {cokestagetwo = 1}},
|
||||||
tier3 = {take = {coca_leaf = 1}, give = {cokestagethree = 1}},
|
tier3 = {take = {coca_leaf = 8}, give = {cokestagethree = 1}},
|
||||||
},
|
},
|
||||||
cutcoke = {
|
cutcoke = {
|
||||||
tier1 = {take = {coke = 1, bakingsoda = 1}, give = {loosecoke = 1}},
|
tier1 = {take = {coke = 1, bakingsoda = 1}, give = {loosecoke = 7}},
|
||||||
tier2 = {take = {cokestagetwo = 1, bakingsoda = 1}, give = {loosecokestagetwo = 1}},
|
tier2 = {take = {cokestagetwo = 1, bakingsoda = 1}, give = {loosecokestagetwo = 7}},
|
||||||
tier3 = {take = {cokestagethree = 1, bakingsoda = 1}, give = {loosecokestagethree = 1}},
|
tier3 = {take = {cokestagethree = 1, bakingsoda = 1}, give = {loosecokestagethree = 7}},
|
||||||
},
|
},
|
||||||
bagcoke = {
|
bagcoke = {
|
||||||
tier1 = {take = {loosecoke = 1, empty_weed_bag = 1}, give = {cokebaggy = 1}},
|
tier1 = {take = {loosecoke = 7, empty_bag = 7}, give = {cokebaggy = 7}},
|
||||||
tier2 = {take = {loosecokestagetwo = 1, empty_weed_bag = 1}, give = {cokebaggystagetwo = 1}},
|
tier2 = {take = {loosecokestagetwo = 7, empty_bag = 7}, give = {cokebaggystagetwo = 7}},
|
||||||
tier3 = {take = {loosecokestagethree = 1, empty_weed_bag = 1}, give = {cokebaggystagethree = 1}},
|
tier3 = {take = {loosecokestagethree = 7, empty_bag = 7}, give = {cokebaggystagethree = 7}},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
crack = {
|
crack = {
|
||||||
cookcrack = {
|
cookcrack = {
|
||||||
tier1 = {take = {loosecoke = 1, bakingsoda = 1}, give = {crackrock = 1}},
|
tier1 = {take = {loosecoke = 7, bakingsoda = 1}, give = {crackrock = 1}},
|
||||||
tier2 = {take = {loosecokestagetwo = 1, bakingsoda = 1}, give = {crackrockstagetwo = 1}},
|
tier2 = {take = {loosecokestagetwo = 7, bakingsoda = 1}, give = {crackrockstagetwo = 1}},
|
||||||
tier3 = {take = {loosecokestagethree = 1,bakingsoda = 1}, give = {crackrockstagethree = 1}},
|
tier3 = {take = {loosecokestagethree = 7,bakingsoda = 1}, give = {crackrockstagethree = 1}},
|
||||||
},
|
},
|
||||||
bagcrack = {
|
bagcrack = {
|
||||||
tier1 = {take = {crackrock = 1, empty_weed_bag = 1}, give = {baggedcracked = 1}},
|
tier1 = {take = {crackrock = 1, empty_bag = 9}, give = {baggedcracked = 10}},
|
||||||
tier2 = {take = {crackrockstagetwo = 1, empty_weed_bag = 1}, give = {baggedcrackedstagetwo = 1}},
|
tier2 = {take = {crackrockstagetwo = 1, empty_bag = 9}, give = {baggedcrackedstagetwo = 10}},
|
||||||
tier3 = {take = {crackrockstagethree = 1, empty_weed_bag = 1}, give = {baggedcrackedstagethree = 1}},
|
tier3 = {take = {crackrockstagethree = 1, empty_bag = 9}, give = {baggedcrackedstagethree = 10}},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
heroin = {
|
heroin = {
|
||||||
dryheroin = {
|
dryheroin = {
|
||||||
tier1 = {take = {poppyresin = 1}, give = {heroin = 1}},
|
tier1 = {take = {poppyresin = 6}, give = {heroin = 1}},
|
||||||
tier2 = {take = {poppyresin = 1}, give = {heroinstagetwo = 1}},
|
tier2 = {take = {poppyresin = 6}, give = {heroinstagetwo = 1}},
|
||||||
tier3 = {take = {poppyresin = 1}, give = {heroinstagethree = 1}},
|
tier3 = {take = {poppyresin = 6}, give = {heroinstagethree = 1}},
|
||||||
},
|
},
|
||||||
cutheroin = {
|
cutheroin = {
|
||||||
tier1 = {take = {heroin = 1, bakingsoda = 1}, give = {heroincut = 1}},
|
tier1 = {take = {heroin = 1, bakingsoda = 1}, give = {heroincut = 1}},
|
||||||
@@ -47,26 +47,26 @@ local recipe = {
|
|||||||
tier3 = {take = {heroincutstagethree = 1, emptyvial = 1}, give = {heroinvialstagethree = 1}},
|
tier3 = {take = {heroincutstagethree = 1, emptyvial = 1}, give = {heroinvialstagethree = 1}},
|
||||||
},
|
},
|
||||||
fillneedle = {
|
fillneedle = {
|
||||||
tier1 = {take = {heroinvial = 1, needle = 1}, give = {heroin_ready = 1}},
|
tier1 = {take = {heroinvial = 1, needle = 14}, give = {heroin_ready = 14}},
|
||||||
tier2 = {take = {heroin_readystagetwo = 1, needle = 1}, give = {heroin_readystagetwo = 1}},
|
tier2 = {take = {heroin_readystagetwo = 1, needle = 14}, give = {heroin_readystagetwo = 14}},
|
||||||
tier3 = {take = {heroinvialstagethree = 1, needle = 1}, give = {heroin_readystagethree = 1}},
|
tier3 = {take = {heroinvialstagethree = 1, needle = 14}, give = {heroin_readystagethree = 14}},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
lsd = {
|
lsd = {
|
||||||
vial = {
|
vial = {
|
||||||
heat = {take = {lysergic_acid = 1, diethylamide = 1,}, give = {lsd_one_vial = 1}}
|
heat = {take = {lysergic_acid = 1, diethylamide = 1,}, give = {lsd_one_vial = 2}}
|
||||||
},
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
mescaline = {
|
mescaline = {
|
||||||
dry = {
|
dry = {
|
||||||
dried = {take = {cactusbulb = 1}, give = {driedmescaline = 1} }
|
dried = {take = {cactusbulb = 1}, give = {driedmescaline = 2} }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
lean = {
|
lean = {
|
||||||
cups = {
|
cups = {
|
||||||
cupoflean = {take = {leancup = 1, sprunk = 1, mdlean = 1}, give = {cupoflean = 1}},
|
cupoflean = {take = {leancup = 1, sprunk = 1, mdlean = 1}, give = {cupoflean = 2}},
|
||||||
cupofdextro = {take = {leancup = 1, sprunk = 1, mdreddextro = 1}, give = {cupofdextro = 1}},
|
cupofdextro = {take = {leancup = 1, sprunk = 1, mdreddextro = 1}, give = {cupofdextro = 2}},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
meth = {
|
meth = {
|
||||||
@@ -74,25 +74,25 @@ local recipe = {
|
|||||||
heat = {take = {ephedrine = 1, acetone = 1}, give = {}}
|
heat = {take = {ephedrine = 1, acetone = 1}, give = {}}
|
||||||
},
|
},
|
||||||
bag = {
|
bag = {
|
||||||
bags = {take = {empty_weed_bag = 5}, give = {methbags = 5} }
|
bags = {take = {empty_bag = 15}, give = {methbags = 15} }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
weed = {
|
weed = {
|
||||||
edibles = {
|
edibles = {
|
||||||
cannabutter = {take = { mdbutter = 1, grindedweed = 1}, give = {cannabutter = 1}},
|
cannabutter = {take = { mdbutter = 1, grindedweed = 5}, give = {cannabutter = 2}},
|
||||||
specialbrownie = {take = { cannabutter = 1, flour = 1, chocolate = 1}, give = {specialbrownie = 1}},
|
specialbrownie = {take = { cannabutter = 1, flour = 1, chocolate = 1}, give = {specialbrownie = 5}},
|
||||||
specialcookie = { take = { cannabutter = 1, flour = 1}, give = {specialcookie = 1}},
|
specialcookie = { take = { cannabutter = 1, flour = 1}, give = {specialcookie = 3}},
|
||||||
specialchocolate = { take = { cannabutter = 1, chocolate = 1}, give = {specialchocolate = 1}},
|
specialchocolate = { take = { cannabutter = 1, chocolate = 1}, give = {specialchocolate = 2}},
|
||||||
specialmuffin = { take = { cannabutter = 1, flour = 1}, give = {specialmuffin = 1}},
|
specialmuffin = { take = { cannabutter = 1, flour = 1}, give = {specialmuffin = 3}},
|
||||||
},
|
},
|
||||||
oil = {
|
oil = {
|
||||||
shatter = {take = {butane = 1, grindedweed = 1}, give = {shatter = 1}}
|
shatter = {take = {butane = 1, grindedweed = 20}, give = {shatter = 10}}
|
||||||
},
|
},
|
||||||
blunts = {
|
blunts = {
|
||||||
blunt = {take = {bluntwrap = 1, grindedweed = 1}, give = {blunt = 1}},
|
blunt = {take = {bluntwrap = 2, grindedweed = 1}, give = {blunt = 2}},
|
||||||
chewyblunt = {take = {bluntwrap = 1, grindedweed = 1, loosecoke = 1}, give = {chewyblunt = 1}},
|
chewyblunt = {take = {bluntwrap = 2, grindedweed = 1, loosecoke = 1}, give = {chewyblunt = 2}},
|
||||||
leanblunts = {take = {leanbluntwrap = 1, grindedweed = 1}, give = {leanblunts = 1}},
|
leanblunts = {take = {leanbluntwrap = 2, grindedweed = 1}, give = {leanblunts = 2}},
|
||||||
dextroblunts = {take = {dextrobluntwrap = 1, grindedweed = 1}, give = {dextroblunts = 1}}
|
dextroblunts = {take = {dextrobluntwrap = 2, grindedweed = 1}, give = {dextroblunts = 2}}
|
||||||
},
|
},
|
||||||
bluntwrap = {
|
bluntwrap = {
|
||||||
leanbluntwrap = {take = {bluntwrap = 5, mdlean = 1}, give = {leanbluntwrap = 5}},
|
leanbluntwrap = {take = {bluntwrap = 5, mdlean = 1}, give = {leanbluntwrap = 5}},
|
||||||
|
|||||||
+6
-11
@@ -1,13 +1,13 @@
|
|||||||
Config = {} --Ignore.
|
Config = {} --Ignore.
|
||||||
|
|
||||||
Config.Target = 'interact' -- qb or ox
|
Config.Target = 'ox' -- qb or ox
|
||||||
Config.respawnTime = 10 -- Seconds
|
Config.respawnTime = 600 -- Seconds
|
||||||
Config.Fuel = "LegacyFuel" -- type the name of script you use i.e. ps-fuel, cdn-fuel, LegacyFuel
|
Config.Fuel = "ps-fuel" -- type the name of script you use i.e. ps-fuel, cdn-fuel, LegacyFuel
|
||||||
Config.TierSystem = true -- allows for three tiers of certain drugs ( coke, heroin, crack, lsd)
|
Config.TierSystem = true -- allows for three tiers of certain drugs ( coke, heroin, crack, lsd)
|
||||||
Config.StupidassNewQbItemName = true -- true if you have updated your items.lua from base qb after november 2023 because changing item names this far in a framework is 3 IQ points total
|
Config.StupidassNewQbItemName = true -- true if you have updated your items.lua from base qb after november 2023 because changing item names this far in a framework is 3 IQ points total
|
||||||
Config.RequestModelTime = 30000 -- if you need more time than this, uhhhh wow
|
Config.RequestModelTime = 30000 -- if you need more time than this, uhhhh wow
|
||||||
Config.minigametype = 'ox' -- look above for options or choose none if you dont want any minigames
|
|
||||||
Config.FancyCokeAnims = false -- if you want multi location this needs to be false
|
Config.FancyCokeAnims = true -- if you want multi location this needs to be false
|
||||||
Config.PharmaJob = "ems" -- what TYPE role you need to be on to get the command
|
Config.PharmaJob = "ems" -- what TYPE role you need to be on to get the command
|
||||||
Config.Joblock = false -- if you want weed to be a job
|
Config.Joblock = false -- if you want weed to be a job
|
||||||
Config.weedjob = "" -- what the job name is
|
Config.weedjob = "" -- what the job name is
|
||||||
@@ -47,9 +47,4 @@ Config.Minigames = {
|
|||||||
glspot = {gridSize = 6, timeLimit = 999999, charSet = "alphabet", required = 10},
|
glspot = {gridSize = 6, timeLimit = 999999, charSet = "alphabet", required = 10},
|
||||||
glmath = {timeLimit = 300000},
|
glmath = {timeLimit = 300000},
|
||||||
}
|
}
|
||||||
|
Config.minigametype = 'blrapidlines' -- look above for options or choose none if you dont want any minigames
|
||||||
|
|
||||||
--- TODO: Move these to server files
|
|
||||||
Config.tabcost = 100 -- price per piece of tab paper event does 10 at a time
|
|
||||||
Config.lsdlabkitcost = 10000 -- price of the lsd lab kit
|
|
||||||
Config.heroinlabkitprice = 10000 -- price of the lsd lab kit
|
|
||||||
Reference in new issue
Block a user