Config file

Config = {}

--If false then will use marker 
Config.Target = true

Config.UseBlip = true

Config.ProgressSettings = {
    duration = 20000,
    scenario = "PROP_HUMAN_BUM_BIN"
}

Config.BlipSettings = {
    {title = "Crafting", colour=5, id=150, scale=1.0, x=2135.7739, y=4790.7109, z=40.9703}
}


--If you use target use this settings.
Config.TargetLocation = {
    coords = vector3(2138.0632, 4791.7246, 41.7712),
    heading = 287.2938,
    minZ = 25.98,
    maxZ = 29.98
}

Config.TargetSettings = {
    icon = "fa-solid fa-pen-ruler",
    iconColor = "white",
    label = "Open crafting",
    distance = 1.3
}


--If you use marker then use this settings.
Config.MarkerText = {
    textColor = {r = 255, g = 255, b = 255, a = 255},
    textFont = 4,
    textScale = {s = 0.5, c = 0.5}
}

Config.MarkerLocation = {
    type = 1, 
    coords = vector3(2135.7739, 4790.7109, 40.9703), 
    heading = 0,
    markerRadius = 2.0, 
    zOffset = -1, 
    markerHeight = 0.4, 
    markerColor = {r = 255, g = 255, b = 255, a = 255} 
}


--You can add unlimited categories here
Config.categories = {
    {
        catid = 'rifles',--id for items in Config.items to refrence to the category 
        label = 'Rifles'--label shown on the nui
    },
    {
        catid = 'pistols',
        label = 'Pistols'
    },
    {
        catid = 'ammo',   
        label = 'Ammo' 
    },
    {
        catid = 'grips',
        label = 'Grips' 
    },
}

Config.items = {
    ['WEAPON_CARBINERIFLE'] = { 
        name = 'WEAPON_CARBINERIFLE',   
        label = 'Carbine Rifle',   
        catid = 'rifles',  
        material = {
            {name = 'zeljezo', label = "Iron", count = 3350},
            {name = 'aluminijum', label = "Aluminium", count = 4000},
            {name = 'metalniotpad', label = "Metal Waste", count = 3000},
            {name = 'bakar', label = "Copper", count = 3000},
        }
    },
    ['WEAPON_SPECIALCARBINE'] = { 
        name = 'WEAPON_SPECIALCARBINE',
        label = 'Special Carbine',
        catid = 'rifles',
        material = {
            {name = 'zeljezo', label = "Iron", count = 4000},  
            {name = 'aluminijum', label = "Aluminium", count = 4000},
            {name = 'metalniotpad', label = "Metal Waste", count = 3500},
            {name = 'bakar', label = "Copper", count = 3500},
        }
    },
    ['WEAPON_COMBATPDW'] = { 
        name = 'WEAPON_COMBATPDW',
        label = 'Combat PDW',
        catid = 'rifles',
        material = {
            {name = 'zeljezo', label = "Iron", count = 2350},
            {name = 'aluminijum', label = "Aluminium", count = 2000},
            {name = 'metalniotpad', label = "Metal Waste", count = 2300},
            {name = 'bakar', label = "Copper", count = 1700},
        }
    },
    ['WEAPON_ASSAULTRIFLE'] = {
        name = 'WEAPON_ASSAULTRIFLE',
        label = 'Ak-47',
        catid = 'rifles',
        material = {
            {name = 'zeljezo', label = "Iron", count = 3350},
            {name = 'aluminijum', label = "Aluminium", count = 4350},
            {name = 'metalniotpad', label = "Metal Waste", count = 3400},
            {name = 'bakar', label = "Copper", count = 2250},
        }
    },
    ['WEAPON_COMPACTRIFLE'] = { 
        name = 'WEAPON_COMPACTRIFLE',
        label = 'Compact Rifle',
        catid = 'rifles',
        material = {
            {name = 'zeljezo', label = "Iron", count = 1500},
            {name = 'aluminijum', label = "Aluminium", count = 2000},
            {name = 'metalniotpad', label = "Metal Waste", count = 1300},
            {name = 'bakar', label = "Copper", count = 1900},
        }
    },
    ['WEAPON_MICROSMG'] = {
        name = 'WEAPON_MICROSMG', 
        label = 'Micro Smg',
        catid = 'rifles',
        material = {
            {name = 'zeljezo', label = "Iron", count = 1200},
            {name = 'aluminijum', label = "Aluminium", count = 1100},
            {name = 'metalniotpad', label = "Metal Waste", count = 1200},
            {name = 'bakar', label = "Copper", count = 1500},
        }
    },
    ['WEAPON_SMG'] = {
        name = 'WEAPON_SMG', 
        label = 'Smg',
        catid = 'rifles',
        material = {
            {name = 'zeljezo', label = "Iron", count = 1100},
            {name = 'aluminijum', label = "Aluminium", count = 1200},
            {name = 'metalniotpad', label = "Metal Waste", count = 2000},
            {name = 'bakar', label = "Copper", count = 700},
        }
    },
    ['WEAPON_ASSAULTSMG'] = { 
        name = 'WEAPON_ASSAULTSMG',
        label = 'Assault Smg',
        catid = 'rifles',
        material = {
            {name = 'zeljezo', label = "Iron", count = 2350},
            {name = 'aluminijum', label = "Aluminium", count = 2000},
            {name = 'metalniotpad', label = "Metal Waste", count = 1350},
            {name = 'bakar', label = "Copper", count = 1000},
        }
    },
    ['WEAPON_PISTOL'] = {
        name = 'WEAPON_PISTOL',
        label = 'Pistolj',
        catid = 'pistols',
        material = {
            {name = 'zeljezo', label = "Iron", count = 70},
            {name = 'aluminijum', label = "Aluminium", count = 130},
            {name = 'metalniotpad', label = "Metal Waste", count = 100},
            {name = 'bakar', label = "Copper", count = 50},
        }
    },
    ['WEAPON_COMBATPISTOL'] = {
        name = 'WEAPON_COMBATPISTOL',
        label = 'Glock 17',
        catid = 'pistols',
        material = {
            {name = 'zeljezo', label = "Iron", count = 250},
            {name = 'aluminijum', label = "Aluminium", count = 150},
            {name = 'metalniotpad', label = "Metal Waste", count = 200},
            {name = 'bakar', label = "Copper", count = 100},
        }
    },
    ['WEAPON_PISTOL50'] = {
        name = 'WEAPON_PISTOL50',
        label = 'Deagle',
        catid = 'pistols',
        material = {
            {name = 'zeljezo', label = "Iron", count = 750},
            {name = 'aluminijum', label = "Aluminium", count = 750},
            {name = 'metalniotpad', label = "Metal Waste", count = 800},
            {name = 'bakar', label = "Copper", count = 400},
        }
    },
    ['WEAPON_HEAVYPISTOL'] = {
        name = 'WEAPON_HEAVYPISTOL',
        label = 'Heavy pistolj',
        catid = 'pistols',
        material = {
            {name = 'zeljezo', label = "Iron", count = 700},
            {name = 'aluminijum', label = "Aluminium", count = 550},
            {name = 'metalniotpad', label = "Metal Waste", count = 550},
            {name = 'bakar', label = "Copper", count = 550},
        }
    },
    ['WEAPON_SNSPISTOL'] = {
        name = 'WEAPON_SNSPISTOL',
        label = 'SNS Pistolj',
        catid = 'pistols',
        material = {
            {name = 'zeljezo', label = "Iron", count = 350},
            {name = 'aluminijum', label = "Aluminium", count = 350},
            {name = 'metalniotpad', label = "Metal Waste", count = 350},
            {name = 'bakar', label = "Copper", count = 450},
        }
    },
    ['WEAPON_PISTOL_MK2'] = { 
        name = 'WEAPON_PISTOL_MK2',
        label = 'Pistolj mk2',
        catid = 'pistols',
        material = {
            {name = 'zeljezo', label = "Iron", count = 450},
            {name = 'aluminijum', label = "Aluminium", count = 500},
            {name = 'metalniotpad', label = "Metal Waste", count = 1000},
            {name = 'bakar', label = "Copper", count = 400},
        }
    },
    ['ammo-rifle'] = {
        name = 'ammo-rifle',
        label = '5.56',
        catid = 'ammo',
        material = {
            {name = 'black_money', label = 'Black Money', count = 65},
        }
    },
    ['ammo-rifle2'] = {
        name = 'ammo-rifle2',
        label = '7.62',
        catid = 'ammo',
        material = {
            {name = 'black_money', label = 'Black Money', count = 65},
        }
    },
    ['ammo-50'] = {
        name = 'ammo-50',
        label = '.50',
        catid = 'ammo',
        material = {
            {name = 'black_money', label = 'Black Money', count = 70},
        }
    },
    ['ammo-9'] = {
        name = 'ammo-9',
        label = '9 mm',
        catid = 'ammo',
        material = {
            {name = 'black_money', label = 'Black Money', count = 55},
        }
    },
    ['ammo-45'] = {
        name = 'ammo-45',
        label = '.45',
        catid = 'ammo',
        material = {
            {name = 'black_money', label = 'Black Money', count = 50},
        }
    },
    ['at_clip_extended_pistol'] = {
        name = 'at_clip_extended_pistol',
        label = 'pistol extended',
        catid = 'grips',
        material = {
            {name = 'zeljezo', label = "Iron", count = 350},
            {name = 'aluminijum', label = "Aluminium", count = 200},
            {name = 'metalniotpad', label = "Metal Waste", count = 1000},
            {name = 'bakar', label = "Copper", count = 200},
        }
    },
    ['at_clip_extended_rifle'] = {
        name = 'at_clip_extended_rifle',
        label = 'rifle extended',
        catid = 'grips',
        material = {
            {name = 'zeljezo', label = "Iron", count = 450},
            {name = 'aluminijum', label = "Aluminium", count = 250},
            {name = 'metalniotpad', label = "Metal Waste", count = 1000},
            {name = 'bakar', label = "Copper", count = 250},
        }
    },
    ['at_clip_extended_smg'] = {
        name = 'at_clip_extended_smg',
        label = 'smg extended',
        catid = 'grips',
        material = {
            {name = 'zeljezo', label = "Iron", count = 250},
            {name = 'aluminijum', label = "Aluminium", count = 150},
            {name = 'metalniotpad', label = "Metal Waste", count = 700},
            {name = 'bakar', label = "Copper", count = 230},
        }
    },
    ['at_grip'] = {
        name = 'at_grip',
        label = 'Grip',
        catid = 'grips',
        material = {
            {name = 'zeljezo', label = "Iron", count = 750},
            {name = 'aluminijum', label = "Aluminium", count = 550},
            {name = 'metalniotpad', label = "Metal Waste", count = 1000},
            {name = 'bakar', label = "Copper", count = 250},
        }
    },
    ['at_suppressor_heavy'] = {
        name = 'at_suppressor_heavy',
        label = 'heavy suppressor',
        catid = 'grips',
        material = {
            {name = 'zeljezo', label = "Iron", count = 1150},
            {name = 'aluminijum', label = "Aluminium", count = 550},
            {name = 'metalniotpad', label = "Metal Waste", count = 423},
            {name = 'bakar', label = "Copper", count = 354},
        }
    },
    ['at_suppressor_light'] = {
        name = 'at_suppressor_light',
        label = 'light suppressor',
        catid = 'grips',
        material = {
            {name = 'zeljezo', label = "Iron", count = 250},
            {name = 'aluminijum', label = "Aluminium", count = 450},
            {name = 'metalniotpad', label = "Metal Waste", count = 323},
            {name = 'bakar', label = "Copper", count = 254},
        }
    },
}


Config.Translate = {
    notEnoughResources = "You dont have enough resources to craft this item.",
    notEnoughSpace = "You dont have enough space in inventory.",
    successCraftItem = "You successfully crafted your item.",
    openMenu = "Press [E] to open crafting."
}

Last updated