Page cover

πŸ’»Installation

Dependencies :

QBCore

You will need the latest version of qb-core

  • Extract the contents of the archive to your resources folder.

  • Start the resource near the top of your resources in your server.cfg.

INTERACT OR TARGET

You will need the latest version of Interact or qb-target

  • Extract the contents of the archive to your resources folder.

  • Start the resource near the top of your resources in your server.cfg.


JOBS

SHARED/JOBS.LUA
	snrsmoothie = {
		label = 'Fresh Fruit',
		defaultDuty = true,
		offDutyPay = false,
		grades = {
			['0'] = { name = 'Recruit', payment = 50 },
			['1'] = { name = 'Novice', payment = 75 },
			['2'] = { name = 'Experienced', payment = 100 },
			['3'] = { name = 'Advanced', payment = 125 },
			['4'] = { name = 'Manager', isboss = true, payment = 150 },
		},
	},
	snrburger = {
		label = 'Burger',
		defaultDuty = true,
		offDutyPay = false,
		grades = {
			['0'] = { name = 'Recruit', payment = 50 },
			['1'] = { name = 'Novice', payment = 75 },
			['2'] = { name = 'Experienced', payment = 100 },
			['3'] = { name = 'Advanced', payment = 125 },
			['4'] = { name = 'Manager', isboss = true, payment = 150 },
		},
	},
	snrsandwich = {
		label = 'Sandwich',
		defaultDuty = true,
		offDutyPay = false,
		grades = {
			['0'] = { name = 'Recruit', payment = 50 },
			['1'] = { name = 'Novice', payment = 75 },
			['2'] = { name = 'Experienced', payment = 100 },
			['3'] = { name = 'Advanced', payment = 125 },
			['4'] = { name = 'Manager', isboss = true, payment = 150 },
		},
	},
	snrtacos = {
		label = 'Tacos',
		defaultDuty = true,
		offDutyPay = false,
		grades = {
			['0'] = { name = 'Recruit', payment = 50 },
			['1'] = { name = 'Novice', payment = 75 },
			['2'] = { name = 'Experienced', payment = 100 },
			['3'] = { name = 'Advanced', payment = 125 },
			['4'] = { name = 'Manager', isboss = true, payment = 150 },
		},
	},
	snrpizza = {
		label = 'Pizza',
		defaultDuty = true,
		offDutyPay = false,
		grades = {
			['0'] = { name = 'Recruit', payment = 50 },
			['1'] = { name = 'Novice', payment = 75 },
			['2'] = { name = 'Experienced', payment = 100 },
			['3'] = { name = 'Advanced', payment = 125 },
			['4'] = { name = 'Manager', isboss = true, payment = 150 },
		},
	},
	snrsushi = {
		label = 'Sushi',
		defaultDuty = true,
		offDutyPay = false,
		grades = {
			['0'] = { name = 'Recruit', payment = 50 },
			['1'] = { name = 'Novice', payment = 75 },
			['2'] = { name = 'Experienced', payment = 100 },
			['3'] = { name = 'Advanced', payment = 125 },
			['4'] = { name = 'Manager', isboss = true, payment = 150 },
		},
	},
	snrcoffee = {
		label = 'Coffee',
		defaultDuty = true,
		offDutyPay = false,
		grades = {
			['0'] = { name = 'Recruit', payment = 50 },
			['1'] = { name = 'Novice', payment = 75 },
			['2'] = { name = 'Experienced', payment = 100 },
			['3'] = { name = 'Advanced', payment = 125 },
			['4'] = { name = 'Manager', isboss = true, payment = 150 },
		},
	},
	snrnoodle = {
		label = 'Noodle',
		defaultDuty = true,
		offDutyPay = false,
		grades = {
			['0'] = { name = 'Recruit', payment = 50 },
			['1'] = { name = 'Novice', payment = 75 },
			['2'] = { name = 'Experienced', payment = 100 },
			['3'] = { name = 'Advanced', payment = 125 },
			['4'] = { name = 'Manager', isboss = true, payment = 150 },
		},
	},
	snrkebab = {
		label = 'Kebab',
		defaultDuty = true,
		offDutyPay = false,
		grades = {
			['0'] = { name = 'Recruit', payment = 50 },
			['1'] = { name = 'Novice', payment = 75 },
			['2'] = { name = 'Experienced', payment = 100 },
			['3'] = { name = 'Advanced', payment = 125 },
			['4'] = { name = 'Manager', isboss = true, payment = 150 },
		},
	},
	snrhotdog = {
		label = 'Hotodg',
		defaultDuty = true,
		offDutyPay = false,
		grades = {
			['0'] = { name = 'Recruit', payment = 50 },
			['1'] = { name = 'Novice', payment = 75 },
			['2'] = { name = 'Experienced', payment = 100 },
			['3'] = { name = 'Advanced', payment = 125 },
			['4'] = { name = 'Manager', isboss = true, payment = 150 },
		},
	},

Inventories :

QB INVENTORY

Add this into your qb-inventory/html/js/app.js file :

        case "snr_box":
            return `<p>Order ID: ${itemData.info.id}</p>`; 
        case "snr_strsmoothie":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`; 
        case "snr_rassmoothie":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_bansmoothie":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_bbrsmoothie":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_kiwsmoothie":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_stricecream":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_bavicecream":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_vanicecream":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_manicecream":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_pisicecream":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_sprunk":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_sprunklight":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_ecola":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_eclight":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_fries":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_hamburger":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_cheburger":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_dchburger":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_bbqburger":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_chiburger":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_thonsandwich":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_thontortilla":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_chiksandwich":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_chiktortilla":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_bacosandwich":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_bacotortilla":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_beeftacos":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_chictacos":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_bacontacos":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_shrimpstacos":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_thonpizza":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_beefpizza":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_chicpizza":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_bacopizza":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_shripizza":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_nigirisushi":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_makisushi":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_uramakisushi":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_temarisushi":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_cherryccake":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_smileyccake":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_fnafccake":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_loveccake":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_rollccake":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_espressocoffee":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_cappucinocoffee":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_americanocoffee":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_macchiatocoffee":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_lattecoffee":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_thaisoup":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_cthainoodle":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_mthainoodle":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_vthainoodle":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_hotdogchicken":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_hotdogmeat":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_hotdocheese":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;
        case "snr_hotdochilicheese":
            return `<p>Ingredients: ${itemData.info.ingredients}</p>`;

Add the items below to the qb-core/shared/items.lua


--------------------------------------------------------------------------------------------------
    --------------------------------------------- Common items  --------------------------------------
    --------------------------------------------------------------------------------------------------
    snr_box               = { name = 'snr_box',                   label = 'Food Box',                           weight = 100,       type = 'item',      image = 'snr_box.png',                                                   unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Food Box' }, 
    snr_ice               = { name = 'snr_ice',                   label = 'Ice',                                weight = 100,       type = 'item',      image = 'snr_ice.png',                                                   unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Ice' },
    snr_fries             = { name = 'snr_fries',                 label = 'Fries',                              weight = 100,       type = 'item',      image = 'snr_fries.png',                                                 unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Fries' },
     -- drinks
    snr_sprunk            = { name = 'snr_sprunk',                label = 'Sprunk',                             weight = 100,       type = 'item',      image = 'snr_sprunk.png',                                                 unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Sprunk' },
    snr_sprunklight       = { name = 'snr_sprunklight',           label = 'Sprunk Light',                       weight = 100,       type = 'item',      image = 'snr_sprunklight.png',                                                 unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Sprunk Light' },
    snr_ecola             = { name = 'snr_ecola',                 label = 'E-Cola',                             weight = 100,       type = 'item',      image = 'snr_ecola.png',                                                 unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'E-Cola' },
    snr_eclight           = { name = 'snr_eclight',               label = 'E-Cola Light',                       weight = 100,       type = 'item',      image = 'snr_eclight.png',                                                 unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'E-Cola Light' },
   -- addons
    snr_ketchup         = { name = 'snr_ketchup',             label = 'Ketchup',                                weight = 100,       type = 'item',      image = 'snr_ketchup.png',                                              unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Ketchup' },    
    snr_mayo            = { name = 'snr_mayo',                label = 'Mayonaise',                              weight = 100,       type = 'item',      image = 'snr_mayo.png',                                                unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Mayonaise' },
    snr_tomato          = { name = 'snr_tomato',              label = 'Tomato',                                 weight = 100,       type = 'item',      image = 'snr_tomato.png',                                                  unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Tomato' },
    snr_onions          = { name = 'snr_onions',              label = 'Onions',                                 weight = 100,       type = 'item',      image = 'snr_onions.png',                                               unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Onions' },
    snr_lettuce         = { name = 'snr_lettuce',             label = 'Lettuce',                                weight = 100,       type = 'item',      image = 'snr_lettuce.png',                                              unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Lettuce' },
    snr_pickles         = { name = 'snr_pickles',             label = 'Pickles',                                weight = 100,       type = 'item',      image = 'snr_pickles.png',                                              unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Pickles' },
    snr_mushrooms       = { name = 'snr_mushrooms',           label = 'Mushrooms',                              weight = 100,       type = 'item',      image = 'snr_mushrooms.png',                                            unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Mushrooms' },
    snr_chilies         = { name = 'snr_chilies',             label = 'Chilies',                                weight = 100,       type = 'item',      image = 'snr_chilies.png',                                            unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Chilies' },
    
    
    snr_eggs            = { name = 'snr_eggs',                 label = 'Eggs',                                   weight = 100,       type = 'item',      image = 'snr_eggs.png',                                             unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Eggs' },
    snr_tonno           = { name = 'snr_tonno',                label = 'Tonno',                                   weight = 100,       type = 'item',      image = 'snr_tonno.png',                                             unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Tonno' },
        
    -- ingredients
    snr_meat            = { name = 'snr_meat',                label = 'Meat',                                   weight = 100,       type = 'item',      image = 'snr_meat.png',                                             unique = false, useable = true,     shouldClose = true,    combinable = nil,   description = 'Meat' },
    snr_cheese          = { name = 'snr_cheese',              label = 'Cheese',                                 weight = 100,       type = 'item',      image = 'snr_cheese.png',                                           unique = false, useable = true,     shouldClose = true,    combinable = nil,   description = 'Cheese' },
    snr_bacon           = { name = 'snr_bacon',               label = 'Bacon',                                  weight = 100,       type = 'item',      image = 'snr_bacon.png',                                            unique = false, useable = true,     shouldClose = true,    combinable = nil,   description = 'Bacon' },
    snr_chicken         = { name = 'snr_chicken',             label = 'Chicken',                                weight = 100,       type = 'item',      image = 'snr_chicken.png',                                          unique = false, useable = true,     shouldClose = true,    combinable = nil,   description = 'Chicken' },
    snr_potatos         = { name = 'snr_potatos',             label = 'Potatos',                                weight = 100,       type = 'item',      image = 'snr_potatos.png',                                          unique = false, useable = true,     shouldClose = true,    combinable = nil,   description = 'Potatos' },
    snr_thon            = { name = 'snr_thon',                label = 'Thon',                                   weight = 100,       type = 'item',      image = 'snr_thon.png',                                             unique = false, useable = true,     shouldClose = true,    combinable = nil,   description = 'Thon' },
    snr_shrimps         = { name = 'snr_shrimps',             label = 'Shrimps',                                weight = 100,       type = 'item',      image = 'snr_shrimps.png',                                          unique = false, useable = true,     shouldClose = true,    combinable = nil,   description = 'Shrimps' },
    snr_riz             = { name = 'snr_riz',                 label = 'Riz',                                    weight = 100,       type = 'item',      image = 'snr_riz.png',                                              unique = false, useable = true,     shouldClose = true,    combinable = nil,   description = 'Riz' },
    snr_fish            = { name = 'snr_fish',                label = 'Fish',                                   weight = 100,       type = 'item',      image = 'snr_fish.png',                                              unique = false, useable = true,     shouldClose = true,    combinable = nil,   description = 'Fish' },
    snr_avocado         = { name = 'snr_avocado',             label = 'Avocado',                                weight = 100,       type = 'item',      image = 'snr_avocado.png',                                              unique = false, useable = true,     shouldClose = true,    combinable = nil,   description = 'Avocado' },



    snr_coffee            = { name = 'snr_coffee',                label = 'Coffee',                             weight = 100,       type = 'item',      image = 'snr_coffee.png',                                               unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Coffee' },
    snr_suggar            = { name = 'snr_suggar',                label = 'Sugar',                              weight = 100,       type = 'item',      image = 'snr_suggar.png',                                               unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Suggar' },
    snr_milk              = { name = 'snr_milk',                  label = 'Milk',                               weight = 100,       type = 'item',      image = 'snr_milk.png',                                                  unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Milk' },
    snr_yogurt            = { name = 'snr_yogurt',                label = 'Yogurt',                             weight = 100,       type = 'item',      image = 'snr_yogurt.png',                                                unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Yogurt' },
    snr_starwberry        = { name = 'snr_starwberry',            label = 'Strawberry',                         weight = 100,       type = 'item',      image = 'snr_starwberry.png',                                            unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Strawberry' },
    snr_rasberry          = { name = 'snr_rasberry',              label = 'Raspberry',                          weight = 100,       type = 'item',      image = 'snr_rasberry.png',                                              unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Raspberry' },
    snr_banana            = { name = 'snr_banana',                label = 'Banana',                             weight = 100,       type = 'item',      image = 'snr_banana.png',                                                unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Banana' },
    snr_blueberry         = { name = 'snr_blueberry',             label = 'Blueberry',                          weight = 100,       type = 'item',      image = 'snr_blueberry.png',                                             unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Blueberry' },
    snr_kiwi              = { name = 'snr_kiwi',                  label = 'Kiwi',                               weight = 100,       type = 'item',      image = 'snr_kiwi.png',                                                  unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Kiwi' },
    snr_chocolate         = { name = 'snr_chocolate',             label = 'Chocolate',                          weight = 100,       type = 'item',      image = 'snr_chocolate.png',                                             unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Chocolate' },
    snr_vanille           = { name = 'snr_vanille',               label = 'Vanille',                            weight = 100,       type = 'item',      image = 'snr_vanille.png',                                               unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Vanille' },
    snr_mango             = { name = 'snr_mango',                 label = 'Mango',                              weight = 100,       type = 'item',      image = 'snr_mango.png',                                                 unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Mango' },
    snr_pistache          = { name = 'snr_pistache',              label = 'Pistache',                           weight = 100,       type = 'item',      image = 'snr_pistache.png',                                              unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Pistache' },
 
    --------------------------------------------------------------------------------------------------
    --------------------------------------------- Smoothie ------------------------------------------- 
    --------------------------------------------------------------------------------------------------
    -- drinks
    snr_strsmoothie       = { name = 'snr_strsmoothie',           label = 'Strawberry Smoothie',                weight = 100,       type = 'item',      image = 'snr_strsmoothie.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Strawberry Smoothie' },
    snr_rassmoothie       = { name = 'snr_rassmoothie',           label = 'Raspberry Smoothie',                 weight = 100,       type = 'item',      image = 'snr_rassmoothie.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Raspberry Smoothie' },
    snr_bansmoothie        = { name = 'snr_bansmoothie',          label = 'Banana Smoothie',                    weight = 100,       type = 'item',      image = 'snr_bansmoothie.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Banana Smoothie' },
    snr_bbrsmoothie       = { name = 'snr_bbrsmoothie',           label = 'Blueberry Smoothie',                 weight = 100,       type = 'item',      image = 'snr_bbrsmoothie.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Blueberry Smoothie' },
    snr_kiwsmoothie       = { name = 'snr_kiwsmoothie',           label = 'Kiwi Smoothie',                      weight = 100,       type = 'item',      image = 'snr_kiwsmoothie.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Kiwi Smoothie' },
    
    -- food
    snr_stricecream       = { name = 'snr_stricecream',           label = 'Strawberry  Ice Cream',              weight = 100,       type = 'item',      image = 'snr_stricecream.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Strawberry Ice Cream' },
    snr_bavicecream       = { name = 'snr_bavicecream',           label = 'Chocolate Ice Cream',                weight = 100,       type = 'item',      image = 'snr_bavicecream.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Bavarian Chocolate Ice Cream' },
    snr_rasicecream       = { name = 'snr_rasicecream',           label = 'Rasberry Ice Cream',                 weight = 100,       type = 'item',      image = 'snr_rasicecream.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Rasberry Ice Cream' },
    snr_bluicecream       = { name = 'snr_bluicecream',           label = 'Blueberry Ice Cream',                weight = 100,       type = 'item',      image = 'snr_bluicecream.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Blueberry Ice Cream' },
    snr_kiwicecream       = { name = 'snr_kiwicecream',           label = 'Kiwi  Ice Cream',                    weight = 100,       type = 'item',      image = 'snr_kiwicecream.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Kiwi Ice Cream' },
    

    -- ingredients   
    -- addons
    snr_chocchips         = { name = 'snr_chocchips',             label = 'Chocolate chips',                    weight = 100,       type = 'item',      image = 'snr_chocchips.png',                                              unique = false, useable = true,     shouldClose = true,    combinable = nil,   description = 'Chocolate chips' },
    snr_cookies           = { name = 'snr_cookies',               label = 'Cookies',                            weight = 100,       type = 'item',      image = 'snr_cookies.png',                                                unique = false, useable = true,     shouldClose = true,    combinable = nil,   description = 'Cookies' },
    snr_candy             = { name = 'snr_candy',                 label = 'Candy',                              weight = 100,       type = 'item',      image = 'snr_candy.png',                                                  unique = false, useable = true,     shouldClose = true,    combinable = nil,   description = 'Candy' },
    snr_freshfruits       = { name = 'snr_freshfruits',           label = 'Fresh Fruits',                       weight = 100,       type = 'item',      image = 'snr_freshfruits.png',                                            unique = false, useable = true,     shouldClose = true,    combinable = nil,   description = 'Fresh Fruits' },
    snr_nuts              = { name = 'snr_nuts',                  label = 'Nuts',                               weight = 100,       type = 'item',      image = 'snr_nuts.png',                                                   unique = false, useable = true,     shouldClose = true,    combinable = nil,   description = 'Nuts' },

    --------------------------------------------------------------------------------------------------
    --------------------------------------------- Burger --------------------------------------------- 
    --------------------------------------------------------------------------------------------------
    -- food
    snr_hamburger       = { name = 'snr_hamburger',           label = 'Hamburger',                              weight = 100,       type = 'item',      image = 'snr_hamburger.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Hamburger' },
    snr_cheburger       = { name = 'snr_cheburger',           label = 'Cheese Burger',                          weight = 100,       type = 'item',      image = 'snr_cheburger.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Cheese Burger' },
    snr_dchburger       = { name = 'snr_dchburger',           label = 'Double Cheese Burger',                   weight = 100,       type = 'item',      image = 'snr_dchburger.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Double Cheese Burger' },
    snr_bbqburger       = { name = 'snr_bbqburger',           label = 'BBQ Bacon Burger',                       weight = 100,       type = 'item',      image = 'snr_bbqburger.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'BBQ Bacon Burger' },
    snr_chiburger       = { name = 'snr_chiburger',           label = 'Chicken Cheese Burger',                  weight = 100,       type = 'item',      image = 'snr_chiburger.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Chicken Cheese Burger' },

    --  drinks
    --  all common
    
    --  ingredients (most are common)
    snr_buns            = { name = 'snr_buns',                label = 'Burger Buns',                                   weight = 100,       type = 'item',      image = 'snr_buns.png',                                             unique = false, useable = true,     shouldClose = true,    combinable = nil,   description = 'Buns' },
   
    --------------------------------------------------------------------------------------------------
    --------------------------------------------- Sandwich and Kebab ---------------------------------
    --------------------------------------------------------------------------------------------------
    -- food
    snr_thonsandwich       = { name = 'snr_thonsandwich',           label = 'Sandwich Thon',                         weight = 100,       type = 'item',      image = 'snr_thonsandwich.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Sandwich Thon' },
    snr_thontortilla       = { name = 'snr_thontortilla',           label = 'Tortilla Thon',                         weight = 100,       type = 'item',      image = 'snr_thontortilla.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Tortilla Thon' },
    snr_chiksandwich       = { name = 'snr_chiksandwich',           label = 'Sandwich Chicken',                      weight = 100,       type = 'item',      image = 'snr_chiksandwich.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Sandwich Chicken' },
    snr_chiktortilla       = { name = 'snr_chiktortilla',           label = 'Tortilla Chicken',                      weight = 100,       type = 'item',      image = 'snr_chiktortilla.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Tortilla Chicken' },
    snr_bacosandwich       = { name = 'snr_bacosandwich',           label = 'Sandwich Bacon',                      weight = 100,       type = 'item',      image = 'snr_bacosandwich.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Sandwich Bacon' },
    snr_bacotortilla       = { name = 'snr_bacotortilla',           label = 'Tortilla Bacon',                      weight = 100,       type = 'item',      image = 'snr_bacotortilla.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Tortilla Bacon' },
   
    --  drinks
    --  all common
    
    --  ingredients (most are common)
    snr_sandwichbuns   = { name = 'snr_sandwichbuns',        label = 'Sandwich Buns',                          weight = 100,       type = 'item',      image = 'snr_sandwichbuns.png',                                             unique = false, useable = true,     shouldClose = true,    combinable = nil,   description = 'Buns' },
    snr_tortillabuns   = { name = 'snr_tortillabuns',        label = 'Tortilla Buns',                          weight = 100,       type = 'item',      image = 'snr_tortillabuns.png',                                             unique = false, useable = true,     shouldClose = true,    combinable = nil,   description = 'Buns' },


    --------------------------------------------------------------------------------------------------
    --------------------------------------------- Tacos --------------------------------------------- 
    --------------------------------------------------------------------------------------------------
    -- food
    snr_beeftacos           = { name = 'snr_beeftacos',                 label = 'Beef Tacos',                               weight = 100,       type = 'item',      image = 'snr_beeftacos.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Beef Tacos' },
    snr_chictacos           = { name = 'snr_chictacos',                 label = 'Chicken Tacos',                            weight = 100,       type = 'item',      image = 'snr_chictacos.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Chicken Tacos' },
    snr_bacontacos          = { name = 'snr_bacontacos',                label = 'Bacon Tacos',                              weight = 100,       type = 'item',      image = 'snr_bacontacos.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Bacon Tacos' },
    snr_shrimpstacos        = { name = 'snr_shrimpstacos',              label = 'Shrimps Tacos',                            weight = 100,       type = 'item',      image = 'snr_shrimpstacos.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Shrimps Tacos' },
    --  drinks
    --  all common
    
    --  ingredients (most are common)
    snr_tacosbuns           = { name = 'snr_tacosbuns',                 label = 'Tacos Buns',                               weight = 100,       type = 'item',      image = 'snr_tacosbuns.png',                                             unique = false, useable = true,     shouldClose = true,    combinable = nil,   description = 'Buns' },

    --------------------------------------------------------------------------------------------------
    --------------------------------------------- Pizza --------------------------------------------- 
    --------------------------------------------------------------------------------------------------
    -- food
    snr_thonpizza         = { name = 'snr_thonpizza',               label = 'Thon pizza',                               weight = 100,       type = 'item',      image = 'snr_thonpizza.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Thon pizza' },
    snr_beefpizza         = { name = 'snr_beefpizza',               label = 'Beef Pizza',                               weight = 100,       type = 'item',      image = 'snr_beefpizza.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Beef Pizza' },
    snr_chicpizza         = { name = 'snr_chicpizza',               label = 'Chicken Pizza',                            weight = 100,       type = 'item',      image = 'snr_chicpizza.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Chicken Pizza' },
    snr_bacopizza         = { name = 'snr_bacopizza',               label = 'Bacon Pizza',                              weight = 100,       type = 'item',      image = 'snr_bacopizza.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Bacon Pizza' },
    snr_shripizza         = { name = 'snr_shripizza',               label = 'Shrimps Pizza',                            weight = 100,       type = 'item',      image = 'snr_shripizza.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Shrimps Pizza' },
    --  drinks
    --  all common
    
    --  ingredients (most are common)
    snr_pizzasbuns        = { name = 'snr_pizzasbuns',             label = 'Pizza Buns',                               weight = 100,       type = 'item',      image = 'snr_pizzasbuns.png',                                             unique = false, useable = true,     shouldClose = true,    combinable = nil,   description = 'Buns' },


    
    --------------------------------------------------------------------------------------------------
    --------------------------------------------- Sushi --------------------------------------------- 
    --------------------------------------------------------------------------------------------------
    -- food
    snr_nigirisushi         = { name = 'snr_nigirisushi',               label = 'Nigiri Sushi',                                 weight = 100,       type = 'item',      image = 'snr_nigirisushi.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Sushi Nigiri' },
    snr_makisushi           = { name = 'snr_makisushi',                 label = 'Maki Sushi',                                   weight = 100,       type = 'item',      image = 'snr_makisushi.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Sushi Maki' },
    snr_uramakisushi        = { name = 'snr_uramakisushi',              label = 'Uramaki Sushi',                                weight = 100,       type = 'item',      image = 'snr_uramakisushi.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Sushi Uramaki' },
    snr_temarisushi         = { name = 'snr_temarisushi',               label = 'Temari Sushi',                                 weight = 100,       type = 'item',      image = 'snr_temarisushi.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Sushi Temari' },
    --  drinks
    --  all common
    
    --  ingredients (most are common)
 

    --------------------------------------------------------------------------------------------------
    --------------------------------------------- Coffee --------------------------------------------- 
    --------------------------------------------------------------------------------------------------
    -- food
    snr_cherryccake         = { name = 'snr_cherryccake',               label = 'Cherry cup cake',                              weight = 100,       type = 'item',      image = 'snr_cherryccake.png',                                              unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Cherry cup cake' },
    snr_smileyccake         = { name = 'snr_smileyccake',               label = 'Smiley cup cake',                              weight = 100,       type = 'item',      image = 'snr_smileyccake.png',                                              unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Smiley cup cake' },
    snr_fnafccake           = { name = 'snr_fnafccake',                 label = 'Fnaf cup cake',                                weight = 100,       type = 'item',      image = 'snr_fnafccake.png',                                                unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Fnaf cup cake' },
    snr_loveccake           = { name = 'snr_loveccake',                 label = 'Love cup cake',                                weight = 100,       type = 'item',      image = 'snr_loveccake.png',                                                unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Love cup cake' },
    snr_rollccake           = { name = 'snr_rollccake',                 label = 'Roll cup cake',                                weight = 100,       type = 'item',      image = 'snr_rollccake.png',                                                unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Roll cup cake' },
    --  drinks
    snr_espressocoffee      = { name = 'snr_espressocoffee',            label = 'Espresso',                                     weight = 100,       type = 'item',      image = 'snr_espressocoffee.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Espresso' },
    snr_cappucinocoffee     = { name = 'snr_cappucinocoffee',           label = 'Cappucino',                                    weight = 100,       type = 'item',      image = 'snr_cappucinocoffee.png',                                          unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Cappucino' },
    snr_americanocoffee     = { name = 'snr_americanocoffee',           label = 'Americano',                                    weight = 100,       type = 'item',      image = 'snr_americanocoffee.png',                                          unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Americano' },
    snr_macchiatocoffee     = { name = 'snr_macchiatocoffee',           label = 'Macchiato',                                    weight = 100,       type = 'item',      image = 'snr_macchiatocoffee.png',                                          unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Macchiato' },
    snr_lattecoffee         = { name = 'snr_lattecoffee',               label = 'Latte',                                        weight = 100,       type = 'item',      image = 'snr_lattecoffee.png',                                              unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Latte' },
    --  all common
    
    --  ingredients (most are common)
 
    
    --------------------------------------------------------------------------------------------------
    --------------------------------------------- Noodle --------------------------------------------- 
    --------------------------------------------------------------------------------------------------
    -- food
    snr_thaisoup              = { name = 'snr_thaisoup',                  label = 'Thai Soup',                                 weight = 100,       type = 'item',      image = 'snr_thaisoup.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Thai Soup' },
    snr_cthainoodle           = { name = 'snr_cthainoodle',                  label = 'Chicken Noodle',                                 weight = 100,       type = 'item',      image = 'snr_cthainoodle.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Chicken Noodle' },
    snr_mthainoodle           = { name = 'snr_mthainoodle',                  label = 'Meat Noodle',                                 weight = 100,       type = 'item',      image = 'snr_mthainoodle.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Meat Noodle' },
    snr_vthainoodle           = { name = 'snr_vthainoodle',                  label = 'Vegan Noodle',                                 weight = 100,       type = 'item',      image = 'snr_vthainoodle.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Vegan Noodle' },
  
    snr_noodle          = { name = 'snr_noodle',                  label = 'Noodle',                                 weight = 100,       type = 'item',      image = 'snr_noodle.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Noodle' },
 
    --  drinks
    --  all common
    
    --  ingredients (most are common)
 
    
    --------------------------------------------------------------------------------------------------
    --------------------------------------------- Hotdog --------------------------------------------- 
    --------------------------------------------------------------------------------------------------
    -- food
    snr_hotdogchicken             = { name = 'snr_hotdogchicken',           label = 'Smoked Chicken Hotdog',                       weight = 100,       type = 'item',      image = 'snr_hotdogchicken.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Smoked Chicken Hotdog' },
    snr_hotdogmeat                = { name = 'snr_hotdogmeat',              label = 'Meat Hotdog',                                 weight = 100,       type = 'item',      image = 'snr_hotdogmeat.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Meat Hotdog' },
    snr_hotdocheese               = { name = 'snr_hotdocheese',             label = 'Cheese Dog',                                 weight = 100,       type = 'item',      image = 'snr_hotdocheese.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Cheese Dog' },
    snr_hotdochilicheese          = { name = 'snr_hotdochilicheese',        label = 'Chili Cheese Dog',                                 weight = 100,       type = 'item',      image = 'snr_hotdochilicheese.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Chili Cheese Dog' },


    snr_hotdogbuns            = { name = 'snr_hotdogbuns',                  label = 'Hotdog buns',                                 weight = 100,       type = 'item',      image = 'snr_hotdogbuns.png',                                           unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Hotdog buns' },
 
    --  drinks
    --  all common
    
    --  ingredients (most are common)
 
QS INVENTORY

Add this into qs-inventory/server/custom/misc/CreateUseableItem.lua :

Add this into your qs-inventory/config/metadata.js:

Add the items below into your qs-inventory/shared/items.lua

OX INVENTORY

Add this into ox_inventory/modules/items/client.lua

Add the items below into your ox-inventory/data/items.lua


MAP SETTINGS

IF YOU USE THE SHOWCASE MAP

If you use the same map shown in the showcase, please make sure you set this into the map folder entityset file :

ENSURE RESOURCES

Last updated