Adding restaurants
Adding new restaurants and their menu items. (sh_main.lua)
Requirements
Configuration
Config.Restaurants = {
['burgershot'] = {--Your restaurant job name
logo = 'burgershot_logo.png',--Restaurant logo, add it in peuren_foodapp/web/dist/
banner = 'burgershot.png',--Restaurant banner, add it in peuren_foodapp/web/dist/
label = 'Burgershot',--Restaurant title name
description = 'Burgershot specializes in burger cuisine. Our ingredients are fresh and locally sourced when possible.',
street = 'Grove Street 123',--Restaurant street location name
job = 'burgershot',--Restaurant job name
pos = vector3(-1197.56, -895.35, 13.99),--Restaurant location coords
number = '555-0101',--Phone number of the restaurent if it has one
playerOwned = true, -- If the restaurant is runned by real players
foodPickup = {--Order pickup location in your restaurant interior or exterior
package = {--Use this if you want players pick up bags
model = 'peuren_delivery_bag',--Bag prop name
pos = vector4(-1191.2090, -896.0873, 14.9413, 32.6248),--Bag spawn location
},
-- npc = {--Use this if you want players pick up orders from npc
-- model = 'a_m_y_business_01',--Npc ped model name
-- pos = vector4(-1183.4087, -884.1689, 13.7416, 308.0729),--Npc spawn location
-- }
npc = false
},
menu = {--Adding new menu items
['bs-heartstopper'] = {--Item name
label = 'Heart Stopper',--Item label
description = 'A towering triple-patty beast loaded with bacon, cheese and our signature Heart Stopper sauce.',
price = 12,--Item price
ingredients = { 'Triple beef patty', 'Bacon', 'American cheese', 'Lettuce', 'Tomato', 'Heart Stopper sauce', 'Brioche bun' },
allergens = { 'Gluten', 'Dairy' },
},
['bs-torpedo'] = {--Item name
label = 'Torpedo',--Item label
description = 'A spicy double-patty burger with jalapeños, pepper jack cheese and chipotle mayo.',
price = 12,--Item price
ingredients = { 'Double beef patty', 'Pepper jack cheese', 'Jalapeños', 'Chipotle mayo', 'Lettuce', 'Sesame bun' },
allergens = { 'Gluten', 'Dairy' },
},
['bs-mystery-burger'] = {--Item name
label = 'Mystery Burger',--Item label
description = 'Feeling adventurous? A daily rotating burger with a surprise combination of toppings.',
price = 12,--Item price
ingredients = { 'Beef patty', 'Mystery cheese', 'Secret toppings', 'Special sauce', 'Sesame bun' },
allergens = { 'Gluten', 'Dairy' },
},
},
}Last updated