Installation
Last updated
Last updated
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.
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 },
},
},
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)
Add this into qs-inventory/server/custom/misc/CreateUseableItem.lua :
--- SNR
CreateUsableItem("snr_box", function(source, item)
local src = source
for k, v in pairs(item.info.items[1]) do
local emojis = ''
local ingredients = ''
local info = {}
if #v.ingredients > 0 then
local hunger = 0 -- extra hunger for each ingredient
local thirst = 0 -- extra thirst for each ingredient
for i, j in pairs(v.ingredients) do
ingredients = ingredients..' '..j.label..' '..j.emojis
hunger = hunger + j.hunger
thirst = thirst + j.thirst
end
info ={
hunger = hunger,-- extra hunger for all ingredients
thirst = thirst,-- extra thirst for all ingredients
ingredients = ingredients,
}
else
info ={
hunger = 0,-- extra hunger for all ingredients
thirst = 0,-- extra thirst for all ingredients
ingredients = 'No Addons',
}
end
exports['qs-inventory']:AddItem(src, k, v.count, nil, info)
end
exports['qs-inventory']:RemoveItem(src, item.name, 1, item.slot)
end)
RegisterNetEvent('qs-inventory:client:CreateUseableItems', function(item, itemData)
CreateUsableItem(item, function(source, item)
local src = source
TriggerClientEvent('zat-snrbuns_shopss:client:EatDrink', src, itemData, item.info)
exports['qs-inventory']:RemoveItem(src, item.name, 1, item.slot)
end)
end)
Add this into your qs-inventory/config/metadata.js:
//////////////////////////////// SNR ////////////////////////////////////
} else if (itemData.name == "snr_box") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Order ID: " + itemData.info.id + "</p>");
} else if (itemData.name == "snr_strsmoothie") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_rassmoothie") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_bansmoothie") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_bbrsmoothie") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_kiwsmoothie") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_stricecream") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_bavicecream") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_rasicecream") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_bluicecream") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_kiwicecream") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_hamburger") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_cheburger") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_dchburger") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_bbqburger") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_chiburger") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_thonsandwich") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_thontortilla") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_chiksandwich") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_chiktortilla") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_bacosandwich") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_bacotortilla") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_beeftacos") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_chictacos") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_bacontacos") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_shrimpstacos") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_thonpizza") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_beefpizza") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_chicpizza") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_bacopizza") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_shripizza") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_nigirisushi") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_makisushi") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_uramakisushi") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_temarisushi") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_cherryccake") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_smileyccake") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_fnafccake") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_loveccake") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_rollccake") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_espressocoffee") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_cappucinocoffee") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_americanocoffee") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_macchiatocoffee") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_lattecoffee") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_thaisoup") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_cthainoodle") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_mthainoodle") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_vthainoodle") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_hotdogchicken") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_hotdogmeat") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_hotdocheese") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_hotdochilicheese") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_fries") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_sprunk") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_sprunklight") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_ecola") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
} else if (itemData.name == "snr_eclight") {
$(".item-info-title").html("<p>" + `${itemData.info.label || label}` + "</p>");
$(".item-info-description").html("<p>Ingredients: " + itemData.info.ingredients + "</p>");
Add the items below into your qs-inventory/shared/items.lua
--- SNR
['snr_box'] = {
['name'] = 'snr_box',
['label'] = 'Food Box',
['weight'] = 0,
['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'] = 0,
['type'] = 'item',
['image'] = 'snr_ice.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Ice...'
},
['snr_fries'] = {
['name'] = 'snr_fries',
['label'] = 'Fries',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_fries.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Fries...'
},
['snr_sprunk'] = {
['name'] = 'snr_sprunk',
['label'] = 'Sprunk',
['weight'] = 0,
['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'] = 0,
['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'] = 0,
['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'] = 0,
['type'] = 'item',
['image'] = 'snr_eclight.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'E-Cola Light...'
},
['snr_ketchup'] = {
['name'] = 'snr_ketchup',
['label'] = 'Ketchup',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_ketchup.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Ketchup...'
},
['snr_mayo'] = {
['name'] = 'snr_mayo',
['label'] = 'Mayonaise',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_mayo.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Mayonaise...'
},
['snr_tomato'] = {
['name'] = 'snr_tomato',
['label'] = 'Tomato',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_tomato.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Tomato...'
},
['snr_onions'] = {
['name'] = 'snr_onions',
['label'] = 'Onions',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_onions.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Onions...'
},
['snr_lettuce'] = {
['name'] = 'snr_lettuce',
['label'] = 'Lettuce',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_lettuce.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Lettuce...'
},
['snr_pickles'] = {
['name'] = 'snr_pickles',
['label'] = 'Pickles',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_pickles.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Pickles...'
},
['snr_mushrooms'] = {
['name'] = 'snr_mushrooms',
['label'] = 'Mushrooms',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_mushrooms.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Mushrooms...'
},
['snr_chilies'] = {
['name'] = 'snr_chilies',
['label'] = 'Chilies',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_chilies.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Chilies...'
},
['snr_eggs'] = {
['name'] = 'snr_eggs',
['label'] = 'Eggs',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_eggs.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Eggs...'
},
['snr_tonno'] = {
['name'] = 'snr_tonno',
['label'] = 'Tonno',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_tonno.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Tonno...'
},
['name'] = {
['name'] = 'name',
['label'] = 'LABEL',
['weight'] = 0,
['type'] = 'item',
['image'] = 'name.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'LABEL...'
},
['snr_meat'] = {
['name'] = 'snr_meat',
['label'] = 'Meat',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_meat.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Meat...'
},
['snr_cheese'] = {
['name'] = 'snr_cheese',
['label'] = 'Cheese',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_cheese.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Cheese...'
},
['snr_bacon'] = {
['name'] = 'snr_bacon',
['label'] = 'Bacon',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_bacon.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Bacon...'
},
['snr_chicken'] = {
['name'] = 'snr_chicken',
['label'] = 'Chicken',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_chicken.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Chicken...'
},
['snr_potatos'] = {
['name'] = 'snr_potatos',
['label'] = 'Potatos',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_potatos.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Potatos...'
},
['snr_thon'] = {
['name'] = 'snr_thon',
['label'] = 'Thon',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_thon.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Thon...'
},
['snr_shrimps'] = {
['name'] = 'snr_shrimps',
['label'] = 'Shrimps',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_shrimps.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Shrimps...'
},
['snr_riz'] = {
['name'] = 'snr_riz',
['label'] = 'Riz',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_riz.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Riz...'
},
['snr_fish'] = {
['name'] = 'snr_fish',
['label'] = 'Fish',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_fish.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Fish...'
},
['snr_avocado'] = {
['name'] = 'snr_avocado',
['label'] = 'Avocado',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_avocado.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Avocado...'
},
['snr_coffee'] = {
['name'] = 'snr_coffee',
['label'] = 'Coffee',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_coffee.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Coffee...'
},
['name'] = {
['name'] = 'name',
['label'] = 'LABEL',
['weight'] = 0,
['type'] = 'item',
['image'] = 'name.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'LABEL...'
},
['snr_suggar'] = {
['name'] = 'snr_suggar',
['label'] = 'Sugar',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_suggar.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Sugar...'
},
['snr_milk'] = {
['name'] = 'snr_milk',
['label'] = 'Milk',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_milk.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Milk...'
},
['snr_yogurt'] = {
['name'] = 'snr_yogurt',
['label'] = 'Yogurt',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_yogurt.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Yogurt...'
},
['snr_starwberry'] = {
['name'] = 'snr_starwberry',
['label'] = 'Strawberry',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_starwberry.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Strawberry...'
},
['snr_rasberry'] = {
['name'] = 'snr_rasberry',
['label'] = 'Raspberry',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_rasberry.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Raspberry...'
},
['snr_banana'] = {
['name'] = 'snr_banana',
['label'] = 'Banana',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_banana.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Banana...'
},
['snr_blueberry'] = {
['name'] = 'snr_blueberry',
['label'] = 'Blueberry',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_blueberry.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Blueberry...'
},
['snr_kiwi'] = {
['name'] = 'snr_kiwi',
['label'] = 'Kiwi',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_kiwi.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Kiwi...'
},
['snr_chocolate'] = {
['name'] = 'snr_chocolate',
['label'] = 'Chocolate',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_chocolate.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Chocolate...'
},
['snr_vanille'] = {
['name'] = 'snr_vanille',
['label'] = 'Vanille',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_vanille.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Vanille...'
},
['snr_mango'] = {
['name'] = 'snr_mango',
['label'] = 'Mango',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_mango.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Mango...'
},
['snr_pistache'] = {
['name'] = 'snr_pistache',
['label'] = 'Pistache',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_pistache.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Pistache...'
},
-- Smmothie
['snr_strsmoothie'] = {
['name'] = 'snr_strsmoothie',
['label'] = 'Strawberry Smoothie',
['weight'] = 0,
['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'] = 0,
['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'] = 0,
['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'] = 0,
['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'] = 0,
['type'] = 'item',
['image'] = 'snr_kiwsmoothie.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Kiwi Smoothie...'
},
['snr_stricecream'] = {
['name'] = 'snr_stricecream',
['label'] = 'Strawberry Ice Cream',
['weight'] = 0,
['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'] = 0,
['type'] = 'item',
['image'] = 'snr_bavicecream.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Chocolate Ice Cream...'
},
['snr_rasicecream'] = {
['name'] = 'snr_rasicecream',
['label'] = 'Rasberry Ice Cream',
['weight'] = 0,
['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'] = 0,
['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'] = 0,
['type'] = 'item',
['image'] = 'snr_kiwicecream.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Kiwi Ice Cream...'
},
['snr_chocchips'] = {
['name'] = 'snr_chocchips',
['label'] = 'Chocolate chips',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_chocchips.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Chocolate chips...'
},
['snr_cookies'] = {
['name'] = 'snr_cookies',
['label'] = 'Cookies',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_cookies.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Cookies...'
},
['snr_candy'] = {
['name'] = 'snr_candy',
['label'] = 'Candy',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_candy.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Candy...'
},
['snr_freshfruits'] = {
['name'] = 'snr_freshfruits',
['label'] = 'Fresh Fruits',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_freshfruits.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Fresh Fruits...'
},
['snr_nuts'] = {
['name'] = 'snr_nuts',
['label'] = 'Nuts',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_nuts.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Nuts...'
},
-- BURGER
['snr_hamburger'] = {
['name'] = 'snr_hamburger',
['label'] = 'Hamburger',
['weight'] = 0,
['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'] = 0,
['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'] = 0,
['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'] = 0,
['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'] = 0,
['type'] = 'item',
['image'] = 'snr_chiburger.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Chicken Cheese Burger...'
},
['snr_buns'] = {
['name'] = 'snr_buns',
['label'] = 'Burger Buns',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_buns.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Burger Buns...'
},
-- SANDWICH + KEBAB
['snr_thonsandwich'] = {
['name'] = 'snr_thonsandwich',
['label'] = 'Sandwich Thon',
['weight'] = 0,
['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'] = 0,
['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'] = 0,
['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'] = 0,
['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'] = 0,
['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'] = 0,
['type'] = 'item',
['image'] = 'snr_bacotortilla.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Tortilla Bacon...'
},
['snr_sandwichbuns'] = {
['name'] = 'snr_sandwichbuns',
['label'] = 'Sandwich Buns',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_sandwichbuns.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Sandwich Buns...'
},
['snr_tortillabuns'] = {
['name'] = 'snr_tortillabuns',
['label'] = 'Tortilla Buns',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_tortillabuns.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Tortilla Buns...'
},
-- TACOS
['snr_beeftacos'] = {
['name'] = 'snr_beeftacos',
['label'] = 'Beef Tacos',
['weight'] = 0,
['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'] = 0,
['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'] = 0,
['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'] = 0,
['type'] = 'item',
['image'] = 'name.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Shrimps Tacos...'
},
['snr_tacosbuns'] = {
['name'] = 'snr_tacosbuns',
['label'] = 'Tacos Buns',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_tacosbuns.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Tacos Buns...'
},
-- Pizza
['snr_thonpizza'] = {
['name'] = 'snr_thonpizza',
['label'] = 'Thon pizza',
['weight'] = 0,
['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'] = 0,
['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'] = 0,
['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'] = 0,
['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'] = 0,
['type'] = 'item',
['image'] = 'snr_shripizza.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Shrimps Pizza...'
},
['snr_pizzasbuns'] = {
['name'] = 'snr_pizzasbuns',
['label'] = 'Pizza Buns',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_pizzasbuns.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Pizza Buns...'
},
-- SUSHI
['snr_nigirisushi'] = {
['name'] = 'snr_nigirisushi',
['label'] = 'Nigiri Sushi',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_nigirisushi.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Nigiri Sushi...'
},
['snr_makisushi'] = {
['name'] = 'snr_makisushi',
['label'] = 'Maki Sushi',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_makisushi.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Maki Sushi...'
},
['snr_uramakisushi'] = {
['name'] = 'snr_uramakisushi',
['label'] = 'Uramaki Sushi',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_uramakisushi.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Uramaki Sushi...'
},
['snr_temarisushi'] = {
['name'] = 'snr_temarisushi',
['label'] = 'Temari Sushi',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_temarisushi.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Temari Sushi...'
},
-- COFFEEE
['snr_cherryccake'] = {
['name'] = 'snr_cherryccake',
['label'] = 'Cherry cup cake',
['weight'] = 0,
['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'] = 0,
['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'] = 0,
['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'] = 0,
['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'] = 0,
['type'] = 'item',
['image'] = 'snr_rollccake.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Roll cup cake...'
},
['snr_espressocoffee'] = {
['name'] = 'snr_espressocoffee',
['label'] = 'Espresso',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_espressocoffee.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Espresso...'
},
['snr_cappucinocoffee'] = {
['name'] = 'snr_cappucinocoffee',
['label'] = 'Cappucino',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_cappucinocoffee.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Cappucino...'
},
['snr_americanocoffee'] = {
['name'] = 'snr_americanocoffee',
['label'] = 'Americano',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_americanocoffee.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Americano...'
},
['snr_macchiatocoffee'] = {
['name'] = 'snr_macchiatocoffee',
['label'] = 'Macchiato',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_macchiatocoffee.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Macchiato...'
},
['snr_lattecoffee'] = {
['name'] = 'snr_lattecoffee',
['label'] = 'Latte',
['weight'] = 0,
['type'] = 'item',
['image'] = 'snr_lattecoffee.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Latte...'
},
-- Noodle
['snr_thaisoup'] = {
['name'] = 'snr_thaisoup',
['label'] = 'Thai Soup',
['weight'] = 0,
['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'] = 0,
['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'] = 0,
['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'] = 0,
['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'] = 0,
['type'] = 'item',
['image'] = 'snr_noodle.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Noodle...'
},
-- HOT DOG
['snr_hotdogchicken'] = {
['name'] = 'snr_hotdogchicken',
['label'] = 'Smoked Chicken Hotdog',
['weight'] = 0,
['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'] = 0,
['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'] = 0,
['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'] = 0,
['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'] = 0,
['type'] = 'item',
['image'] = 'snr_hotdogbuns.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Hotdog buns...'
},
Add this into ox_inventory/modules/items/client.lua
--- SNR
Item('snr_box', function(data, slot)
ox_inventory:useItem(data, function(data)
if data then
for k, v in pairs(data.metadata.items[1]) do
local emojis = ''
local ingredients = ''
local info = {}
if #v.ingredients > 0 then
local hunger = 0 -- extra hunger for each ingredient
local thirst = 0 -- extra thirst for each ingredient
for i, j in pairs(v.ingredients) do
ingredients = ingredients..' '..j.label..' '..j.emojis
hunger = hunger + j.hunger
thirst = thirst + j.thirst
end
info ={
hunger = hunger,-- extra hunger for all ingredients
thirst = thirst,-- extra thirst for all ingredients
ingredients = ingredients,
}
else
info ={
hunger = 0,-- extra hunger for all ingredients
thirst = 0,-- extra thirst for all ingredients
ingredients = 'No Addons',
}
end
TriggerServerEvent('zat-snrbuns_shops:server:additem', k, v.count, info)
end
TriggerServerEvent('zat-snrbuns_shops:server:removeitem', 'snr_box', 1, slot)
end
end)
end)
RegisterNetEvent('ox_inventory:client:CreateUseableItems', function(item, itemData)
Item(item, function(data, slot)
ox_inventory:useItem(data, function(data)
if data then
print(json.encode(itemData, { indent = true }))
TriggerEvent('zat-snrbuns_shopss:client:EatDrink', itemData, data.metadata)
TriggerServerEvent('zat-snrbuns_shops:server:removeitem', item, 1, slot)
end
end)
end)
end)
Add the items below into your ox-inventory/data/items.lua
["snr_chiktortilla"] = {
label = "Tortilla Chicken",
weight = 100,
stack = true,
close = true,
description = "Tortilla Chicken",
client = {
image = "snr_chiktortilla.png",
}
},
["snr_thontortilla"] = {
label = "Tortilla Thon",
weight = 100,
stack = true,
close = true,
description = "Tortilla Thon",
client = {
image = "snr_thontortilla.png",
}
},
["snr_fish"] = {
label = "Fish",
weight = 100,
stack = true,
close = true,
description = "Fish",
client = {
image = "snr_fish.png",
}
},
["snr_ecola"] = {
label = "E-Cola",
weight = 100,
stack = true,
close = true,
description = "E-Cola",
client = {
image = "snr_ecola.png",
}
},
["snr_cheburger"] = {
label = "Cheese Burger",
weight = 100,
stack = true,
close = true,
description = "Cheese Burger",
client = {
image = "snr_cheburger.png",
}
},
["snr_nuts"] = {
label = "Nuts",
weight = 100,
stack = true,
close = true,
description = "Nuts",
client = {
image = "snr_nuts.png",
}
},
["snr_bacon"] = {
label = "Bacon",
weight = 100,
stack = true,
close = true,
description = "Bacon",
client = {
image = "snr_bacon.png",
}
},
["snr_mayo"] = {
label = "Mayonaise",
weight = 100,
stack = true,
close = true,
description = "Mayonaise",
client = {
image = "snr_mayo.png",
}
},
["snr_bavicecream"] = {
label = "Chocolate Ice Cream",
weight = 100,
stack = true,
close = true,
description = "Bavarian Chocolate Ice Cream",
client = {
image = "snr_bavicecream.png",
}
},
["snr_tonno"] = {
label = "Tonno",
weight = 100,
stack = true,
close = true,
description = "Tonno",
client = {
image = "snr_tonno.png",
}
},
["snr_thonsandwich"] = {
label = "Sandwich Thon",
weight = 100,
stack = true,
close = true,
description = "Sandwich Thon",
client = {
image = "snr_thonsandwich.png",
}
},
["snr_strsmoothie"] = {
label = "Strawberry Smoothie",
weight = 100,
stack = true,
close = true,
description = "Strawberry Smoothie",
client = {
image = "snr_strsmoothie.png",
}
},
["snr_americanocoffee"] = {
label = "Americano",
weight = 100,
stack = true,
close = true,
description = "Americano",
client = {
image = "snr_americanocoffee.png",
}
},
["snr_bacosandwich"] = {
label = "Sandwich Bacon",
weight = 100,
stack = true,
close = true,
description = "Sandwich Bacon",
client = {
image = "snr_bacosandwich.png",
}
},
["snr_bacontacos"] = {
label = "Bacon Tacos",
weight = 100,
stack = true,
close = true,
description = "Bacon Tacos",
client = {
image = "snr_bacontacos.png",
}
},
["snr_box"] = {
label = "Food Box",
weight = 100,
stack = true,
close = true,
description = "Food Box",
client = {
image = "snr_box.png",
}
},
["snr_kiwicecream"] = {
label = "Kiwi Ice Cream",
weight = 100,
stack = true,
close = true,
description = "Kiwi Ice Cream",
client = {
image = "snr_kiwicecream.png",
}
},
["snr_riz"] = {
label = "Riz",
weight = 100,
stack = true,
close = true,
description = "Riz",
client = {
image = "snr_riz.png",
}
},
["snr_starwberry"] = {
label = "Strawberry",
weight = 100,
stack = true,
close = true,
description = "Strawberry",
client = {
image = "snr_starwberry.png",
}
},
["snr_banana"] = {
label = "Banana",
weight = 100,
stack = true,
close = true,
description = "Banana",
client = {
image = "snr_banana.png",
}
},
["snr_beeftacos"] = {
label = "Beef Tacos",
weight = 100,
stack = true,
close = true,
description = "Beef Tacos",
client = {
image = "snr_beeftacos.png",
}
},
["snr_chictacos"] = {
label = "Chicken Tacos",
weight = 100,
stack = true,
close = true,
description = "Chicken Tacos",
client = {
image = "snr_chictacos.png",
}
},
["snr_hotdogchicken"] = {
label = "Smoked Chicken Hotdog",
weight = 100,
stack = true,
close = true,
description = "Smoked Chicken Hotdog",
client = {
image = "snr_hotdogchicken.png",
}
},
["snr_bacotortilla"] = {
label = "Tortilla Bacon",
weight = 100,
stack = true,
close = true,
description = "Tortilla Bacon",
client = {
image = "snr_bacotortilla.png",
}
},
["snr_hotdocheese"] = {
label = "Cheese Dog",
weight = 100,
stack = true,
close = true,
description = "Cheese Dog",
client = {
image = "snr_hotdocheese.png",
}
},
["snr_lettuce"] = {
label = "Lettuce",
weight = 100,
stack = true,
close = true,
description = "Lettuce",
client = {
image = "snr_lettuce.png",
}
},
["snr_thon"] = {
label = "Thon",
weight = 100,
stack = true,
close = true,
description = "Thon",
client = {
image = "snr_thon.png",
}
},
["snr_cherryccake"] = {
label = "Cherry cup cake",
weight = 100,
stack = true,
close = true,
description = "Cherry cup cake",
client = {
image = "snr_cherryccake.png",
}
},
["snr_temarisushi"] = {
label = "Temari Sushi",
weight = 100,
stack = true,
close = true,
description = "Sushi Temari",
client = {
image = "snr_temarisushi.png",
}
},
["snr_avocado"] = {
label = "Avocado",
weight = 100,
stack = true,
close = true,
description = "Avocado",
client = {
image = "snr_avocado.png",
}
},
["snr_ice"] = {
label = "Ice",
weight = 100,
stack = true,
close = true,
description = "Ice",
client = {
image = "snr_ice.png",
}
},
["snr_blueberry"] = {
label = "Blueberry",
weight = 100,
stack = true,
close = true,
description = "Blueberry",
client = {
image = "snr_blueberry.png",
}
},
["snr_mthainoodle"] = {
label = "Meat Noodle",
weight = 100,
stack = true,
close = true,
description = "Meat Noodle",
client = {
image = "snr_mthainoodle.png",
}
},
["snr_shrimps"] = {
label = "Shrimps",
weight = 100,
stack = true,
close = true,
description = "Shrimps",
client = {
image = "snr_shrimps.png",
}
},
["snr_freshfruits"] = {
label = "Fresh Fruits",
weight = 100,
stack = true,
close = true,
description = "Fresh Fruits",
client = {
image = "snr_freshfruits.png",
}
},
["snr_rassmoothie"] = {
label = "Raspberry Smoothie",
weight = 100,
stack = true,
close = true,
description = "Raspberry Smoothie",
client = {
image = "snr_rassmoothie.png",
}
},
["snr_pickles"] = {
label = "Pickles",
weight = 100,
stack = true,
close = true,
description = "Pickles",
client = {
image = "snr_pickles.png",
}
},
["snr_chiksandwich"] = {
label = "Sandwich Chicken",
weight = 100,
stack = true,
close = true,
description = "Sandwich Chicken",
client = {
image = "snr_chiksandwich.png",
}
},
["snr_bacopizza"] = {
label = "Bacon Pizza",
weight = 100,
stack = true,
close = true,
description = "Bacon Pizza",
client = {
image = "snr_bacopizza.png",
}
},
["snr_beefpizza"] = {
label = "Beef Pizza",
weight = 100,
stack = true,
close = true,
description = "Beef Pizza",
client = {
image = "snr_beefpizza.png",
}
},
["snr_vthainoodle"] = {
label = "Vegan Noodle",
weight = 100,
stack = true,
close = true,
description = "Vegan Noodle",
client = {
image = "snr_vthainoodle.png",
}
},
["snr_sandwichbuns"] = {
label = "Sandwich Buns",
weight = 100,
stack = true,
close = true,
description = "Buns",
client = {
image = "snr_sandwichbuns.png",
}
},
["snr_onions"] = {
label = "Onions",
weight = 100,
stack = true,
close = true,
description = "Onions",
client = {
image = "snr_onions.png",
}
},
["snr_sprunklight"] = {
label = "Sprunk Light",
weight = 100,
stack = true,
close = true,
description = "Sprunk Light",
client = {
image = "snr_sprunklight.png",
}
},
["snr_bbrsmoothie"] = {
label = "Blueberry Smoothie",
weight = 100,
stack = true,
close = true,
description = "Blueberry Smoothie",
client = {
image = "snr_bbrsmoothie.png",
}
},
["snr_buns"] = {
label = "Burger Buns",
weight = 100,
stack = true,
close = true,
description = "Buns",
client = {
image = "snr_buns.png",
}
},
["snr_espressocoffee"] = {
label = "Espresso",
weight = 100,
stack = true,
close = true,
description = "Espresso",
client = {
image = "snr_espressocoffee.png",
}
},
["snr_rasberry"] = {
label = "Raspberry",
weight = 100,
stack = true,
close = true,
description = "Raspberry",
client = {
image = "snr_rasberry.png",
}
},
["snr_vanille"] = {
label = "Vanille",
weight = 100,
stack = true,
close = true,
description = "Vanille",
client = {
image = "snr_vanille.png",
}
},
["snr_kiwsmoothie"] = {
label = "Kiwi Smoothie",
weight = 100,
stack = true,
close = true,
description = "Kiwi Smoothie",
client = {
image = "snr_kiwsmoothie.png",
}
},
["snr_hotdochilicheese"] = {
label = "Chili Cheese Dog",
weight = 100,
stack = true,
close = true,
description = "Chili Cheese Dog",
client = {
image = "snr_hotdochilicheese.png",
}
},
["snr_macchiatocoffee"] = {
label = "Macchiato",
weight = 100,
stack = true,
close = true,
description = "Macchiato",
client = {
image = "snr_macchiatocoffee.png",
}
},
["snr_shrimpstacos"] = {
label = "Shrimps Tacos",
weight = 100,
stack = true,
close = true,
description = "Shrimps Tacos",
client = {
image = "snr_shrimpstacos.png",
}
},
["snr_noodle"] = {
label = "Noodle",
weight = 100,
stack = true,
close = true,
description = "Noodle",
client = {
image = "snr_noodle.png",
}
},
["snr_pistache"] = {
label = "Pistache",
weight = 100,
stack = true,
close = true,
description = "Pistache",
client = {
image = "snr_pistache.png",
}
},
["snr_hotdogmeat"] = {
label = "Meat Hotdog",
weight = 100,
stack = true,
close = true,
description = "Meat Hotdog",
client = {
image = "snr_hotdogmeat.png",
}
},
["snr_yogurt"] = {
label = "Yogurt",
weight = 100,
stack = true,
close = true,
description = "Yogurt",
client = {
image = "snr_yogurt.png",
}
},
["snr_bbqburger"] = {
label = "BBQ Bacon Burger",
weight = 100,
stack = true,
close = true,
description = "BBQ Bacon Burger",
client = {
image = "snr_bbqburger.png",
}
},
["snr_nigirisushi"] = {
label = "Nigiri Sushi",
weight = 100,
stack = true,
close = true,
description = "Sushi Nigiri",
client = {
image = "snr_nigirisushi.png",
}
},
["snr_pizzasbuns"] = {
label = "Pizza Buns",
weight = 100,
stack = true,
close = true,
description = "Buns",
client = {
image = "snr_pizzasbuns.png",
}
},
["snr_mango"] = {
label = "Mango",
weight = 100,
stack = true,
close = true,
description = "Mango",
client = {
image = "snr_mango.png",
}
},
["snr_meat"] = {
label = "Meat",
weight = 100,
stack = true,
close = true,
description = "Meat",
client = {
image = "snr_meat.png",
}
},
["snr_eclight"] = {
label = "E-Cola Light",
weight = 100,
stack = true,
close = true,
description = "E-Cola Light",
client = {
image = "snr_eclight.png",
}
},
["snr_rasicecream"] = {
label = "Rasberry Ice Cream",
weight = 100,
stack = true,
close = true,
description = "Rasberry Ice Cream",
client = {
image = "snr_rasicecream.png",
}
},
["snr_chocchips"] = {
label = "Chocolate chips",
weight = 100,
stack = true,
close = true,
description = "Chocolate chips",
client = {
image = "snr_chocchips.png",
}
},
["snr_fnafccake"] = {
label = "Fnaf cup cake",
weight = 100,
stack = true,
close = true,
description = "Fnaf cup cake",
client = {
image = "snr_fnafccake.png",
}
},
["snr_milk"] = {
label = "Milk",
weight = 100,
stack = true,
close = true,
description = "Milk",
client = {
image = "snr_milk.png",
}
},
["snr_hotdogbuns"] = {
label = "Hotdog buns",
weight = 100,
stack = true,
close = true,
description = "Hotdog buns",
client = {
image = "snr_hotdogbuns.png",
}
},
["snr_eggs"] = {
label = "Eggs",
weight = 100,
stack = true,
close = true,
description = "Eggs",
client = {
image = "snr_eggs.png",
}
},
["snr_tomato"] = {
label = "Tomato",
weight = 100,
stack = true,
close = true,
description = "Tomato",
client = {
image = "snr_tomato.png",
}
},
["snr_potatos"] = {
label = "Potatos",
weight = 100,
stack = true,
close = true,
description = "Potatos",
client = {
image = "snr_potatos.png",
}
},
["snr_cappucinocoffee"] = {
label = "Cappucino",
weight = 100,
stack = true,
close = true,
description = "Cappucino",
client = {
image = "snr_cappucinocoffee.png",
}
},
["snr_suggar"] = {
label = "Sugar",
weight = 100,
stack = true,
close = true,
description = "Suggar",
client = {
image = "snr_suggar.png",
}
},
["snr_dchburger"] = {
label = "Double Cheese Burger",
weight = 100,
stack = true,
close = true,
description = "Double Cheese Burger",
client = {
image = "snr_dchburger.png",
}
},
["snr_stricecream"] = {
label = "Strawberry Ice Cream",
weight = 100,
stack = true,
close = true,
description = "Strawberry Ice Cream",
client = {
image = "snr_stricecream.png",
}
},
["snr_chicken"] = {
label = "Chicken",
weight = 100,
stack = true,
close = true,
description = "Chicken",
client = {
image = "snr_chicken.png",
}
},
["snr_makisushi"] = {
label = "Maki Sushi",
weight = 100,
stack = true,
close = true,
description = "Sushi Maki",
client = {
image = "snr_makisushi.png",
}
},
["snr_fries"] = {
label = "Fries",
weight = 100,
stack = true,
close = true,
description = "Fries",
client = {
image = "snr_fries.png",
}
},
["snr_bluicecream"] = {
label = "Blueberry Ice Cream",
weight = 100,
stack = true,
close = true,
description = "Blueberry Ice Cream",
client = {
image = "snr_bluicecream.png",
}
},
["snr_lattecoffee"] = {
label = "Latte",
weight = 100,
stack = true,
close = true,
description = "Latte",
client = {
image = "snr_lattecoffee.png",
}
},
["snr_chicpizza"] = {
label = "Chicken Pizza",
weight = 100,
stack = true,
close = true,
description = "Chicken Pizza",
client = {
image = "snr_chicpizza.png",
}
},
["snr_cthainoodle"] = {
label = "Chicken Noodle",
weight = 100,
stack = true,
close = true,
description = "Chicken Noodle",
client = {
image = "snr_cthainoodle.png",
}
},
["snr_candy"] = {
label = "Candy",
weight = 100,
stack = true,
close = true,
description = "Candy",
client = {
image = "snr_candy.png",
}
},
["snr_chilies"] = {
label = "Chilies",
weight = 100,
stack = true,
close = true,
description = "Chilies",
client = {
image = "snr_chilies.png",
}
},
["snr_smileyccake"] = {
label = "Smiley cup cake",
weight = 100,
stack = true,
close = true,
description = "Smiley cup cake",
client = {
image = "snr_smileyccake.png",
}
},
["snr_tortillabuns"] = {
label = "Tortilla Buns",
weight = 100,
stack = true,
close = true,
description = "Buns",
client = {
image = "snr_tortillabuns.png",
}
},
["snr_coffee"] = {
label = "Coffee",
weight = 100,
stack = true,
close = true,
description = "Coffee",
client = {
image = "snr_coffee.png",
}
},
["snr_kiwi"] = {
label = "Kiwi",
weight = 100,
stack = true,
close = true,
description = "Kiwi",
client = {
image = "snr_kiwi.png",
}
},
["snr_cheese"] = {
label = "Cheese",
weight = 100,
stack = true,
close = true,
description = "Cheese",
client = {
image = "snr_cheese.png",
}
},
["snr_chiburger"] = {
label = "Chicken Cheese Burger",
weight = 100,
stack = true,
close = true,
description = "Chicken Cheese Burger",
client = {
image = "snr_chiburger.png",
}
},
["snr_thonpizza"] = {
label = "Thon pizza",
weight = 100,
stack = true,
close = true,
description = "Thon pizza",
client = {
image = "snr_thonpizza.png",
}
},
["snr_uramakisushi"] = {
label = "Uramaki Sushi",
weight = 100,
stack = true,
close = true,
description = "Sushi Uramaki",
client = {
image = "snr_uramakisushi.png",
}
},
["snr_thaisoup"] = {
label = "Thai Soup",
weight = 100,
stack = true,
close = true,
description = "Thai Soup",
client = {
image = "snr_thaisoup.png",
}
},
["snr_shripizza"] = {
label = "Shrimps Pizza",
weight = 100,
stack = true,
close = true,
description = "Shrimps Pizza",
client = {
image = "snr_shripizza.png",
}
},
["snr_chocolate"] = {
label = "Chocolate",
weight = 100,
stack = true,
close = true,
description = "Chocolate",
client = {
image = "snr_chocolate.png",
}
},
["snr_loveccake"] = {
label = "Love cup cake",
weight = 100,
stack = true,
close = true,
description = "Love cup cake",
client = {
image = "snr_loveccake.png",
}
},
["snr_ketchup"] = {
label = "Ketchup",
weight = 100,
stack = true,
close = true,
description = "Ketchup",
client = {
image = "snr_ketchup.png",
}
},
["snr_bansmoothie"] = {
label = "Banana Smoothie",
weight = 100,
stack = true,
close = true,
description = "Banana Smoothie",
client = {
image = "snr_bansmoothie.png",
}
},
["snr_rollccake"] = {
label = "Roll cup cake",
weight = 100,
stack = true,
close = true,
description = "Roll cup cake",
client = {
image = "snr_rollccake.png",
}
},
["snr_cookies"] = {
label = "Cookies",
weight = 100,
stack = true,
close = true,
description = "Cookies",
client = {
image = "snr_cookies.png",
}
},
["snr_mushrooms"] = {
label = "Mushrooms",
weight = 100,
stack = true,
close = true,
description = "Mushrooms",
client = {
image = "snr_mushrooms.png",
}
},
["snr_tacosbuns"] = {
label = "Tacos Buns",
weight = 100,
stack = true,
close = true,
description = "Buns",
client = {
image = "snr_tacosbuns.png",
}
},
["snr_sprunk"] = {
label = "Sprunk",
weight = 100,
stack = true,
close = true,
description = "Sprunk",
client = {
image = "snr_sprunk.png",
}
},
["snr_hamburger"] = {
label = "Hamburger",
weight = 100,
stack = true,
close = true,
description = "Hamburger",
client = {
image = "snr_hamburger.png",
}
},
If you use the same map shown in the showcase, please make sure you set this into the map folder entityset file :
local interiors = {
{
ipl = '3dp_snrbuns_milo', -- snrbuns
coords = { x=-515.792969, y=-706.0899, z=38.7752 },
entitySets = {
{ name = 'shutter01', enable = false },
{ name = 'shutter02', enable = false },
{ name = 'shutter03', enable = false },
{ name = 'shutter04', enable = false },
{ name = 'shutter05', enable = false },
{ name = 'shutter06', enable = false },
{ name = 'shutter07', enable = false },
{ name = 'shutter08', enable = false },
{ name = 'shutter09', enable = false },
{ name = 'shutter10', enable = false },
{ name = 'pizza', enable = true },
{ name = 'coffee', enable = true },
{ name = 'hotdog', enable = true },
{ name = 'sushi', enable = true },
{ name = 'smoothie', enable = true },
{ name = 'burger', enable = true },
{ name = 'sandwich', enable = true },
{ name = 'kebab', enable = true },
{ name = 'taco', enable = true },
{ name = 'noodle', enable = true },
}
},
}