Config
Config = {}
-- Enabling this will add additional prints and display of the resource within the pot
Config.debug = false
--
Config.locale = 'en'
Config.recipe = {
preMixtureCookingTemperature = 80, -- Always in Celsius (minimum of 50, maximum of 200)
cookingTemperature = 65, -- Always in Celsius (minimum of 40, maximum of 200) - Must be at least 10 lower than the preMixtureCookingTemperature !
-- (float/int)Number between 0.1 and 10
cookingSpeed = 1,
coolingSpeed = 6,
}
Config.production = {
-- The amount of meth players can get when producing 1000g of "amphetamines" incl. cuts
itemsPer1000g = 10,
-- Define which item players will get based on the minimum purity of their meth. The highest possible will be given
itemPerPurity = {
{
minimumPurity = 25,
item = 'kq_amphetamines_low',
},
{
minimumPurity = 50,
item = 'kq_amphetamines_mid',
},
{
minimumPurity = 80,
item = 'kq_amphetamines_high',
},
},
}
-- Item name mapping
-- Here you can replace the script items with items which you may already have on your server
Config.items = {
amphetamines_lab_kit = 'kq_amphetamines_lab_kit',
sulfuric_acid = 'kq_sulfuric_acid',
sodium = 'kq_sodium',
amphetamines_cut = 'kq_caffeine_powder',
}
Config.npcLoot = {
{
-- Model of the npc
model = 'S_M_M_Scientist_01',
-- Respawn time of the npc.
-- Must be at least long enough for players to be able to loot them in time. Recommendations (30-300 seconds)
respawnTime = 120,
-- One item type picked at random
loot = {
{
item = 'kq_sodium',
amount = {
min = 1,
max = 1,
}
},
{
item = 'kq_sulfuric_acid',
amount = {
min = 2,
max = 5,
}
},
{
item = 'kq_acetone',
amount = {
min = 1,
max = 2,
}
},
},
-- Animation and prop for the NPC
animation = {
dict = 'anim@heists@load_box',
name = 'idle',
attachment = {
holdModel = 'xm3_prop_xm3_box_ch_01a',
delay = 1200,
bone = 57005,
offset = vec3(0.16, 0.0, -0.23),
rotation = vec3(0, 90, 120),
}
},
-- All spawn locations of the NPCs. One at a time, per location
locations = {
vec4(3573.94, 3736.39, 36.6, 170.0), -- Humane labs
vec4(3593.8, 3673.75, 33.87, 170.0), -- Humane labs
vec4(3601.3, 3702.36, 36.64, 60.0), -- Humane labs
vec4(1230.6, -2911.2, 9.3, 85.0), -- Ship in the docks
},
},
}
-- Simple item collection system. You'll probably want to replace it with your own more advanced system for gathering supplies.
-- We recommend adding these items to your stores, robberies etc.
-- Obviously this system works perfectly fine, it's just a simple solution for easy looting
Config.itemCollection = {
{
enabled = true,
label = 'caffeine powder',
model = 'kq_caffeine_pot_loot',
offset = vec3(0, 0, 0),
interactionDistance = 2,
item = 'kq_caffeine_powder',
amount = 1,
animation = {
dict = 'anim@heists@load_box',
name = 'lift_box',
attachment = {
holdModel = 'kq_caffeine_pot_loot',
delay = 1200,
bone = 57005,
offset = vec3(0.05, 0.0, -0.25),
rotation = vec3(0, 90, 120),
}
},
-- Find out more: https://docs.fivem.net/docs/game-references/blips/
blip = {
sprite = 653,
color = 39,
alpha = 255, -- 0 to 255
scale = 0.5,
label = 'Caffeine powder'
},
-- All locations of where the loot should spawn at
locations = {
{
coords = vec3(-1208.8, -1566.54, 3.61),
rotation = vec3(0, 0, 40),
blip = true,
},
{
coords = vec3(1980.88, 3051.91, 47.23),
rotation = vec3(0, 0, 0),
blip = true,
},
},
},
{
enabled = true,
label = 'amphetamines lab kit',
model = 'kq_meth_mixer',
offset = vec3(0, 0, 0),
interactionDistance = 2,
item = 'kq_amphetamines_lab_kit',
amount = 1,
animation = {
dict = 'anim@heists@load_box',
name = 'lift_box',
attachment = {
holdModel = 'kq_meth_mixer',
delay = 1200,
bone = 57005,
offset = vec3(0.05, 0.0, -0.25),
rotation = vec3(90, 90, 120),
}
},
-- Find out more: https://docs.fivem.net/docs/game-references/blips/
blip = {
sprite = 653,
color = 39,
alpha = 255, -- 0 to 255
scale = 0.5,
label = 'Amphetamines lab kit'
},
-- All locations of where the loot should spawn at
locations = {
{
coords = vec3(1917.7, 3910.0, 33.22),
rotation = vec3(0, 0, 331),
blip = true,
},
},
},
}
-- https://docs.fivem.net/docs/game-references/controls/
-- Use the input index for the "input" value
Config.keybinds = {
interact = {
label = 'E',
name = 'INPUT_PICKUP',
input = 38,
},
}
Last updated