Envi-Food-Truck
Envi-Food-Truck Official Documentation
Prerequisites
A working FiveM Server.
Basic Understanding of FiveM server setup and resource management.
Target issues
qb-target is known for having issues where zones cannot overlap and you are likely seeing an option like 'Push Vehicle' from qb-smallresources taking priority.
to get around this you can try increase the TargetDistance option in the config.lua of foodtrucks, or edit the conflicting script to have a lower distance. The best option to not have this problem in future with other scripts is to upgrade to ox_target
Items Layouts
["bacon_burger"] = {
label = 'Bacon Burger',
description = 'Mmm.. Delicious!',
weight = 100,
stack = true,
close = true,
},
["bleeder"] = {
label = 'Bleeder Burger',
description = 'A BurgerShot Classic!',
weight = 100,
stack = true,
close = true,
},
["heartstopper"] = {
label = 'Heart-Stopper Burger',
description = 'Clogged FULL of Goodness!',
weight = 100,
stack = true,
close = true,
},
["cutted_potato"] = {
label = 'Cut Potato',
description = 'Used for Cooking',
weight = 20,
stack = true,
close = true,
},
["cutted_tomato"] = {
label = 'Tomato Slices',
description = 'Used for Cooking',
weight = 20,
stack = true,
close = true,
},
["cutted_onion"] = {
label = 'Onion Slices',
description = 'Used for Cooking',
weight = 20,
stack = true,
close = true,
},
["cheddar"] = {
label = 'Cheddar Cheese Slice',
description = 'Used for Cooking',
weight = 20,
stack = true,
close = true,
},
["cutted_lettuce"] = {
label = 'Diced Lettuce',
description = 'Used for Cooking',
weight = 20,
stack = true,
close = true,
},
["burgerbun"] = {
label = 'Bun',
description = 'Basically just bread..',
weight = 20,
stack = true,
close = true,
},
["raw_bacon"] = {
label = 'Raw Bacon Slice',
description = 'Fresh from the farm!',
weight = 20,
stack = true,
close = true,
},
["raw_burgerpatty"] = {
label = 'Raw Burger Patty',
description = 'BurgerShots Secret Recipe',
weight = 20,
stack = true,
close = true,
},
["fries"] = {
label = 'French Fries',
description = 'Hot and Salty!',
weight = 20,
stack = true,
close = true,
},
["burgerpatty"] = {
label = 'Burger Patty',
description = 'BurgerShots Finest!',
weight = 20,
stack = true,
close = true,
},
["bacon"] = {
label = 'Cooked Bacon',
description = 'Mmm. Crispy..',
weight = 20,
stack = true,
close = true,
},
["beer"] = {
label = 'Beer',
description = 'Cold and Delicious',
weight = 30,
stack = true,
close = true,
},
["water"] = {
label = 'Water',
description = 'Good old h20',
weight = 10,
stack = true,
close = true,
},
["taco"] = {
label = "Taco",
weight = 100,
stack = true,
close = true,
},
["raw_taco"] = {
label = "Raw Taco Meat",
weight = 50,
stack = true,
close = true
},
["taco_meat"] = {
label = "Cooked Taco Meat",
weight = 50,
stack = true,
close = true
},
["taco_shell"] = {
label = "Taco Shell",
weight = 10,
stack = true,
close = true
},
["taco_sauce"] = {
label = "Taco Sauce",
weight = 20,
stack = true,
close = true
},
["bacon_burger"] = { ['name'] = 'bacon_burger' ['label'] = 'Bacon Burger', ['weight'] = 100, ['useable'] = true, ['type'] = 'item', ['image'] = 'bacon_burger.png', ['unique'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Mmm.. Delicious!' },
["bleeder"] = { ['name'] = 'bleeder' ['label'] = 'Bleeder Burger', ['weight'] = 100, ['useable'] = true, ['type'] = 'item', ['image'] = 'bleeder.png', ['unique'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A BurgerShot Classic!' },
["heartstopper"] = { ['name'] = 'heartstopper' ['label'] = 'Heart-Stopper Burger', ['weight'] = 100, ['useable'] = true, ['type'] = 'item', ['image'] = 'heartstopper.png', ['unique'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Clogged FULL of Goodness!' },
["cutted_potato"] = { ['name'] = 'cutted_potato' ['label'] = 'Cut Potato', ['weight'] = 20, ['useable'] = true, ['type'] = 'item', ['image'] = 'cutted_potato.png', ['unique'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Used for Cooking' },
["cutted_tomato"] = { ['name'] = 'cutted_tomato' ['label'] = 'Tomato Slices', ['weight'] = 20, ['useable'] = true, ['type'] = 'item', ['image'] = 'cutted_tomato.png', ['unique'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Used for Cooking' },
["cutted_onion"] = { ['name'] = 'cutted_onion' ['label'] = 'Onion Slices', ['weight'] = 20, ['useable'] = true, ['type'] = 'item', ['image'] = 'cutted_onion.png', ['unique'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Used for Cooking' },
["cheddar"] = { ['name'] = 'cheddar' ['label'] = 'Cheddar Cheese Slice', ['weight'] = 20, ['useable'] = true, ['type'] = 'item', ['image'] = 'cheddar.png', ['unique'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Used for Cooking' },
["cutted_lettuce"] = { ['name'] = 'cutted_lettuce' ['label'] = 'Diced Lettuce', ['weight'] = 20, ['useable'] = true, ['type'] = 'item', ['image'] = 'cutted_lettuce.png', ['unique'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Used for Cooking' },
["burgerbun"] = { ['name'] = 'burgerbun' ['label'] = 'Bun', ['weight'] = 20, ['useable'] = true, ['type'] = 'item', ['image'] = 'burgerbun.png', ['unique'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Basically just bread..' },
["raw_bacon"] = { ['name'] = 'raw_bacon' ['label'] = 'Raw Bacon Slice', ['weight'] = 20, ['useable'] = true, ['type'] = 'item', ['image'] = 'raw_bacon.png', ['unique'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Fresh from the farm!' },
["raw_burgerpatty"] = { ['name'] = 'raw_burgerpatty' ['label'] = 'Raw Burger Patty', ['weight'] = 20, ['useable'] = true, ['type'] = 'item', ['image'] = 'raw_burgerpatty.png', ['unique'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'BurgerShots Secret Recipe' },
["fries"] = { ['name'] = 'fries' ['label'] = 'French Fries', ['weight'] = 20, ['useable'] = true, ['type'] = 'item', ['image'] = 'fries.png', ['unique'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Hot and Salty!' },
["burgerpatty"] = { ['name'] = 'burgerpatty' ['label'] = 'Burger Patty', ['weight'] = 20, ['useable'] = true, ['type'] = 'item', ['image'] = 'burgerpatty.png', ['unique'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'BurgerShots Finest' },
["bacon"] = { ['name'] = 'bacon' ['label'] = 'Cooked Bacon', ['weight'] = 20, ['useable'] = true, ['type'] = 'item', ['image'] = 'bacon.png', ['unique'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Mmm. Crispy..' },
["taco"] = { ['name'] = 'taco', ['label'] = 'Taco', ['weight'] = 100, ['useable'] = true, ['type'] = 'item', ['image'] = 'taco.png', ['unique'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Delicious taco' },
["raw_taco"] = { ['name'] = 'raw_taco', ['label'] = 'Raw Taco Meat', ['weight'] = 50, ['useable'] = true, ['type'] = 'item', ['image'] = 'raw_taco.png', ['unique'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Uncooked taco meat' },
["taco_meat"] = { ['name'] = 'taco_meat', ['label'] = 'Cooked Taco Meat', ['weight'] = 50, ['useable'] = true, ['type'] = 'item', ['image'] = 'taco_meat.png', ['unique'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Cooked taco meat' },
["taco_shell"] = { ['name'] = 'taco_shell', ['label'] = 'Taco Shell', ['weight'] = 10, ['useable'] = true, ['type'] = 'item', ['image'] = 'taco_shell.png', ['unique'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Crispy taco shell' },
["taco_sauce"] = { ['name'] = 'taco_sauce', ['label'] = 'Taco Sauce', ['weight'] = 20, ['useable'] = true, ['type'] = 'item', ['image'] = 'taco_sauce.png', ['unique'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Spicy taco sauce' },
bacon_burger = { name = 'bacon_burger' label = 'Bacon Burger', weight = 100, useable = true, type = 'item', image = 'bacon_burger.png', unique = false, shouldClose = true, combinable = nil, description = 'Mmm.. Delicious!' },
bleeder = { name = 'bleeder' label = 'Bleeder Burger', weight = 100, useable = true, type = 'item', image = 'bleeder.png', unique = false, shouldClose = true, combinable = nil, description = 'A BurgerShot Classic!' },
heartstopper = { name = 'heartstopper' label = 'Heart-Stopper Burger', weight = 100, useable = true, type = 'item', image = 'heartstopper.png', unique = false, shouldClose = true, combinable = nil, description = 'Clogged FULL of Goodness!' },
cutted_potato = { name = 'cutted_potato' label = 'Cut Potato', weight = 20, useable = true, type = 'item', image = 'cutted_potato.png', unique = false, shouldClose = true, combinable = nil, description = 'Used for Cooking' },
cutted_tomato = { name = 'cutted_tomato' label = 'Tomato Slices', weight = 20, useable = true, type = 'item', image = 'cutted_tomato.png', unique = false, shouldClose = true, combinable = nil, description = 'Used for Cooking' },
cutted_onion = { name = 'cutted_onion' label = 'Onion Slices', weight = 20, useable = true, type = 'item', image = 'cutted_onion.png', unique = false, shouldClose = true, combinable = nil, description = 'Used for Cooking' },
cheddar = { name = 'cheddar' label = 'Cheddar Cheese Slice', weight = 20, useable = true, type = 'item', image = 'cheddar.png', unique = false, shouldClose = true, combinable = nil, description = 'Used for Cooking' },
cutted_lettuce = { name = 'cutted_lettuce' label = 'Diced Lettuce', weight = 20, useable = true, type = 'item', image = 'cutted_lettuce.png', unique = false, shouldClose = true, combinable = nil, description = 'Used for Cooking' },
burgerbun = { name = 'burgerbun' label = 'Bun', weight = 20, useable = true, type = 'item', image = 'burgerbun.png', unique = false, shouldClose = true, combinable = nil, description = 'Basically just bread..' },
raw_bacon = { name = 'raw_bacon' label = 'Raw Bacon Slice', weight = 20, useable = true, type = 'item', image = 'raw_bacon.png', unique = false, shouldClose = true, combinable = nil, description = 'Fresh from the farm!' },
raw_burgerpatty = { name = 'raw_burgerpatty' label = 'Raw Burger Patty', weight = 20, useable = true, type = 'item', image = 'raw_burgerpatty.png', unique = false, shouldClose = true, combinable = nil, description = 'BurgerShots Secret Recipe' },
fries = { name = 'fries' label = 'French Fries', weight = 20, useable = true, type = 'item', image = 'fries.png', unique = false, shouldClose = true, combinable = nil, description = 'Hot and Salty!' },
burgerpatty = { name = 'burgerpatty' label = 'Burger Patty', weight = 20, useable = true, type = 'item', image = 'burgerpatty.png', unique = false, shouldClose = true, combinable = nil, description = 'BurgerShots Finest' },
bacon = { name = 'bacon' label = 'Cooked Bacon', weight = 20, useable = true, type = 'item', image = 'bacon.png', unique = false, shouldClose = true, combinable = nil, description = 'Mmm. Crispy..' },
taco = { name = 'taco', label = 'Taco', weight = 100, useable = true, type = 'item', image = 'taco.png', unique = false, shouldClose = true, combinable = nil, description = 'Delicious taco' },
raw_taco = { name = 'raw_taco', label = 'Raw Taco Meat', weight = 50, useable = true, type = 'item', image = 'raw_taco.png', unique = false, shouldClose = true, combinable = nil, description = 'Uncooked taco meat' },
taco_meat = { name = 'taco_meat', label = 'Cooked Taco Meat', weight = 50, useable = true, type = 'item', image = 'taco_meat.png', unique = false, shouldClose = true, combinable = nil, description = 'Cooked taco meat' },
taco_shell = { name = 'taco_shell', label = 'Taco Shell', weight = 10, useable = true, type = 'item', image = 'taco_shell.png', unique = false, shouldClose = true, combinable = nil, description = 'Crispy taco shell' },
taco_sauce = { name = 'taco_sauce', label = 'Taco Sauce', weight = 20, useable = true, type = 'item', image = 'taco_sauce.png', unique = false, shouldClose = true, combinable = nil, description = 'Spicy taco sauce' },
```lua
bacon_burger = { name = 'bacon_burger' label = 'Bacon Burger', weight = 100, useable = true, type = 'item', image = 'bacon_burger.png', unique = false, shouldClose = true, combinable = nil, description = 'Mmm.. Delicious!' },
bleeder = { name = 'bleeder' label = 'Bleeder Burger', weight = 100, useable = true, type = 'item', image = 'bleeder.png', unique = false, shouldClose = true, combinable = nil, description = 'A BurgerShot Classic!' },
heartstopper = { name = 'heartstopper' label = 'Heart-Stopper Burger', weight = 100, useable = true, type = 'item', image = 'heartstopper.png', unique = false, shouldClose = true, combinable = nil, description = 'Clogged FULL of Goodness!' },
cutted_potato = { name = 'cutted_potato' label = 'Cut Potato', weight = 20, useable = true, type = 'item', image = 'cutted_potato.png', unique = false, shouldClose = true, combinable = nil, description = 'Used for Cooking' },
cutted_tomato = { name = 'cutted_tomato' label = 'Tomato Slices', weight = 20, useable = true, type = 'item', image = 'cutted_tomato.png', unique = false, shouldClose = true, combinable = nil, description = 'Used for Cooking' },
cutted_onion = { name = 'cutted_onion' label = 'Onion Slices', weight = 20, useable = true, type = 'item', image = 'cutted_onion.png', unique = false, shouldClose = true, combinable = nil, description = 'Used for Cooking' },
cheddar = { name = 'cheddar' label = 'Cheddar Cheese Slice', weight = 20, useable = true, type = 'item', image = 'cheddar.png', unique = false, shouldClose = true, combinable = nil, description = 'Used for Cooking' },
cutted_lettuce = { name = 'cutted_lettuce' label = 'Diced Lettuce', weight = 20, useable = true, type = 'item', image = 'cutted_lettuce.png', unique = false, shouldClose = true, combinable = nil, description = 'Used for Cooking' },
burgerbun = { name = 'burgerbun' label = 'Bun', weight = 20, useable = true, type = 'item', image = 'burgerbun.png', unique = false, shouldClose = true, combinable = nil, description = 'Basically just bread..' },
raw_bacon = { name = 'raw_bacon' label = 'Raw Bacon Slice', weight = 20, useable = true, type = 'item', image = 'raw_bacon.png', unique = false, shouldClose = true, combinable = nil, description = 'Fresh from the farm!' },
raw_burgerpatty = { name = 'raw_burgerpatty' label = 'Raw Burger Patty', weight = 20, useable = true, type = 'item', image = 'raw_burgerpatty.png', unique = false, shouldClose = true, combinable = nil, description = 'BurgerShots Secret Recipe' },
fries = { name = 'fries' label = 'French Fries', weight = 20, useable = true, type = 'item', image = 'fries.png', unique = false, shouldClose = true, combinable = nil, description = 'Hot and Salty!' },
burgerpatty = { name = 'burgerpatty' label = 'Burger Patty', weight = 20, useable = true, type = 'item', image = 'burgerpatty.png', unique = false, shouldClose = true, combinable = nil, description = 'BurgerShots Finest' },
bacon = { name = 'bacon' label = 'Cooked Bacon', weight = 20, useable = true, type = 'item', image = 'bacon.png', unique = false, shouldClose = true, combinable = nil, description = 'Mmm. Crispy..' },
taco = { name = 'taco', label = 'Taco', weight = 100, useable = true, type = 'item', image = 'taco.png', unique = false, shouldClose = true, combinable = nil, description = 'Delicious taco' },
raw_taco = { name = 'raw_taco', label = 'Raw Taco Meat', weight = 50, useable = true, type = 'item', image = 'raw_taco.png', unique = false, shouldClose = true, combinable = nil, description = 'Uncooked taco meat' },
taco_meat = { name = 'taco_meat', label = 'Cooked Taco Meat', weight = 50, useable = true, type = 'item', image = 'taco_meat.png', unique = false, shouldClose = true, combinable = nil, description = 'Cooked taco meat' },
taco_shell = { name = 'taco_shell', label = 'Taco Shell', weight = 10, useable = true, type = 'item', image = 'taco_shell.png', unique = false, shouldClose = true, combinable = nil, description = 'Crispy taco shell' },
taco_sauce = { name = 'taco_sauce', label = 'Taco Sauce', weight = 20, useable = true, type = 'item', image = 'taco_sauce.png', unique = false, shouldClose = true, combinable = nil, description = 'Spicy taco sauce' },
```
["bacon_burger"] = {
label = 'Bacon Burger',
description = 'Mmm.. Delicious!',
weight = 100,
stack = true,
close = true,
client = {
status = { hunger = 100000 },
anim = { dict = "mp_player_inteat@burger", clip = "mp_player_int_eat_burger_fp" },
prop = {
model = 'prop_cs_burger_01',
bone = 18905,
pos = vec3(0.12, 0.04, 0.01),
rot = vec3(161.55, -47.5, -4.65)
},
usetime = 5000,
}
},
["bleeder"] = {
label = 'Bleeder Burger',
description = 'A BurgerShot Classic!',
weight = 100,
stack = true,
close = true,
client = {
status = { hunger = 150000 },
anim = { dict = "mp_player_inteat@burger", clip = "mp_player_int_eat_burger_fp" },
prop = {
model = 'prop_cs_burger_01',
bone = 18905,
pos = vec3(0.12, 0.04, 0.01),
rot = vec3(161.55, -47.5, -4.65)
},
usetime = 5000,
}
},
["heartstopper"] = {
label = 'Heart-Stopper Burger',
description = 'Clogged FULL of Goodness!',
weight = 100,
stack = true,
close = true,
client = {
status = { hunger = 200000 },
anim = { dict = "mp_player_inteat@burger", clip = "mp_player_int_eat_burger_fp" },
prop = {
model = 'prop_cs_burger_01',
bone = 18905,
pos = vec3(0.12, 0.04, 0.01),
rot = vec3(161.55, -47.5, -4.65)
},
usetime = 5000,
}
},
["fries"] = {
label = 'French Fries',
description = 'Hot and Salty!',
weight = 20,
stack = true,
close = true,
client = {
status = { hunger = 50000 },
anim = { dict = "mp_player_inteat@burger", clip = "mp_player_int_eat_burger_fp" },
prop = {
model = 'prop_food_bs_chips',
bone = 18905,
pos = vec3(0.12, 0.0, 0.04),
rot = vec3(-60.36, 152.8, 1.36)
},
usetime = 5000,
}
},
["taco"] = {
label = "Taco",
weight = 100,
stack = true,
close = true,
client = {
status = { hunger = 150000 },
anim = { dict = "mp_player_inteat@burger", clip = "mp_player_int_eat_burger_fp" },
prop = {
model = 'prop_taco_01',
bone = 18905,
pos = vec3(0.12, 0.04, 0.01),
rot = vec3(161.55, -47.5, -4.65)
},
usetime = 5000,
}
},
Config File
Take note of the vehicle models as the defining factors of food that may be cooked per vehicle. This is your indication to jobs and food prep to utilise and how they function.
Config = {}
Config.RealisticMode = false -- If false, the ingredients storage will be a shop where you can buy all needed ingredients
-- If true, the ingredients storage will only be a storage and ingredients would come from elsewhere in your server!
Config.TargetDistance = 0.7
Config.FoodTrucks = {
[`voodoofoodtruck`] = {
['label'] = 'Burgershot Truck',
---
['society'] = { ---------------- NEWLY ADDED IN 1.0.5 !!!!
name = 'burgershot',
payToSociety = false, -- if true, money from the order will go to the society account, if false, money will be given to the cashier who made the order
},
---
['fridgeShop'] = {
['label'] = 'Burgershot Truck Fridge',
['items'] = {
{
name = 'beer',
price = 9,
count = 500,
metadata = {},
},
{
name = 'water',
price = 5,
count = 500,
metadata = {},
},
},
['groups'] = { -- Job / Gang Compatibility
burgershot = 0,
--ambulance = 0
},
},
['storage'] = {
['label'] = 'Storage',
['groups'] = { -- Job / Gang Compatibility
burgershot = 0,
--ambulance = 0
},
},
['cashRegister'] = {
['label'] = 'Cash Register',
['groups'] = { -- Job / Gang Compatibility
burgershot = 0,
--ambulance = 0
},
},
['cooking'] = {
['groups'] = { -- Job / Gang Compatibility
burgershot = 0,
--ambulance = 0
},
['dishes'] = { -- NEW IN 1.2.0 -- ADD ALL DISHES HERE (CRAFTABLES AND COOKABLES)
'bleeder',
'heartstopper',
'bacon_burger',
'burgerpatty',
'bacon',
'fries',
}
},
['shop'] = { -- disabled when RealisticMode is true
['label'] = 'Ingredients Shop',
['items'] = {
{
name = 'cutted_potato',
price = 2,
count = 500,
metadata = {},
},
{
name = 'raw_burgerpatty',
price = 3,
count = 500,
metadata = {},
},
{
name = 'raw_bacon',
price = 3,
count = 500,
metadata = {},
},
{
name = 'burgerbun',
price = 1,
count = 500,
metadata = {},
},
{
name = 'cutted_lettuce',
price = 2,
count = 500,
metadata = {},
},
{
name = 'cheddar',
price = 2,
count = 500,
metadata = {},
},
{
name = 'cutted_tomato',
price = 2,
count = 500,
metadata = {},
},
{
name = 'cutted_onion',
price = 2,
count = 500,
metadata = {},
},
},
['groups'] = { -- Job / Gang Compatibility
burgershot = 0,
--ambulance = 0
},
},
},
[`voodootacotruck`] = {
['label'] = 'Attack-A-Taco Truck',
---
['society'] = { ---------------- NEWLY ADDED IN 1.0.5 !!!!
name = 'taco',
payToSociety = false, -- if true, money from the order will go to the society account, if false, money will be given to the cashier who made the order
},
---
['fridgeShop'] = {
['label'] = 'Attack-A-Taco Truck Fridge',
['items'] = {
{
name = 'beer',
price = 9,
count = 500,
metadata = {},
},
{
name = 'water',
price = 5,
count = 500,
metadata = {},
},
},
['groups'] = { -- Job / Gang Compatibility
taco = 0,
--ambulance = 0
},
},
['storage'] = {
['label'] = 'Storage',
['groups'] = { -- Job / Gang Compatibility
taco = 0,
--ambulance = 0
},
},
['cashRegister'] = {
['label'] = 'Cash Register',
['groups'] = { -- Job / Gang Compatibility
taco = 0,
--ambulance = 0
},
},
['cooking'] = {
['groups'] = { -- Job / Gang Compatibility
taco = 0,
--ambulance = 0
},
['dishes'] = { -- NEW IN 1.2.0 -- ADD ALL DISHES HERE (CRAFTABLES AND COOKABLES)
'taco_meat',
'taco',
'fries',
}
},
['shop'] = { -- disabled when RealisticMode is true
['label'] = 'Ingredients Shop',
['items'] = {
{
name = 'cutted_potato',
price = 2,
count = 500,
metadata = {},
},
{
name = 'raw_taco',
price = 3,
count = 500,
metadata = {},
},
{
name = 'raw_bacon',
price = 3,
count = 500,
metadata = {},
},
{
name = 'taco_shell',
price = 1,
count = 500,
metadata = {},
},
{
name = 'cutted_lettuce',
price = 2,
count = 500,
metadata = {},
},
{
name = 'taco_sauce',
price = 2,
count = 500,
metadata = {},
},
{
name = 'cutted_tomato',
price = 2,
count = 500,
metadata = {},
},
{
name = 'cutted_onion',
price = 2,
count = 500,
metadata = {},
},
},
['groups'] = { -- Job / Gang Compatibility
taco = 0,
--ambulance = 0
},
},
}
}
Config.Grades = {
quality = {
[0] = "Poor",
[25] = "Bad",
[50] = "Good",
[75] = "Great",
[100] = "Perfect"
},
}
Config.Stations = {
['fryer'] = {
name = "Fryer",
grill = true,
recipes = {
['fries'] = {
amount = 1,
ingredients = {
['cutted_potato'] = 1
},
icon = 'french-fries',
time = 18000
}
},
max = 3
},
['grill-1'] = {
name = "Grill",
grill = true,
recipes = {
['burgerpatty'] = {
amount = 1,
ingredients = {
['raw_burgerpatty'] = 1
},
icon = 'burger',
time = 40000,
propsName = '_burger', -- DONT TOUCH (or set to nil for no prop)
},
['bacon'] = {
amount = 1,
ingredients = {
['raw_bacon'] = 1
},
icon = 'bacon',
time = 25000,
propsName = '_bacon', -- DONT TOUCH (or set to nil for no prop)
},
['taco_meat'] = {
amount = 1,
ingredients = {
['raw_taco'] = 1
},
icon = 'taco',
time = 25000,
propsName = nil, -- DONT TOUCH (or set to nil for no prop)
}
},
max = 6
},
['assembly'] = {
name = "Assembly",
recipes = {
['bleeder'] = {
amount = 1,
description = "A Classic Burger with a little bit of everything!",
ingredients = {
['burgerbun'] = 1,
['cutted_lettuce'] = 2,
['cheddar'] = 1,
['cutted_tomato'] = 1,
['cutted_onion'] = 1,
['burgerpatty'] = 2,
},
time = 5000,
},
['heartstopper'] = {
description = "Clogged FULL of Goodness!",
amount = 1,
ingredients = {
['burgerbun'] = 1,
['cutted_lettuce'] = 1,
['cheddar'] = 4,
['cutted_tomato'] = 1,
['burgerpatty'] = 3
},
time = 5000,
},
['bacon_burger']= {
description = "A Classic Burger with extra bacon!",
amount = 1,
ingredients = {
['burgerbun'] = 1,
['cutted_onion'] = 1,
['cheddar'] = 1,
['burgerpatty'] = 1,
['bacon'] = 2,
}
},
['taco'] = {
amount = 1,
ingredients = {
['taco_meat'] = 1,
['taco_shell'] = 1,
['taco_sauce'] = 1,
['cutted_onion'] = 1,
}
}
}
}
}
Config.MaxActiveOrders = 25
Config.CashRegisterItems = {
{
name = 'Burger',
defaultPrice = 15,
},
{
name = 'Taco',
defaultPrice = 15,
},
{
name = 'Bacon Burger',
defaultPrice = 15,
},
{
name = 'Fries',
defaultPrice = 5,
},
{
name = 'Beer',
defaultPrice = 12,
},
{
name = 'Soft Drink',
defaultPrice = 7,
},
}
--------------------------------------------------
Config.Lang = {
['PendingPayment'] = '[PENDING PAYMENT]',
['Paid'] = '[PAID]',
['PlacedOnGrill'] = 'Placed on grill',
['MissingIngredients'] = 'Your missing the correct ingredients',
['Cooked'] = 'Cooked',
['NotEnoughSpace'] = "You didn't have enough space!",
['HandsGrimey'] = 'Your hands start to get grimey',
['HandsClean'] = 'All washed up - Your hands are clean!',
['NoStorageAccess'] = 'You do not have access to this storage',
['IngredientsRequired'] = '🥩 Ingredients Required 🌿',
['IngredientsRequiredGrill'] = '🥩 Ingredients Required 🥔',
['SelectFood'] = 'Select Food',
['Empty'] = 'Empty',
['FlipFood'] = 'Flip Food',
['UseFryer'] = 'Use Fryer',
['UseGrill'] = 'Use Grill',
['UseSink'] = 'Use Sink',
['FoodTray1'] = 'Food Tray #1',
['FoodTray2'] = 'Food Tray #2',
['FoodTray3'] = 'Food Tray #3',
['UsePrepArea'] = 'Use Prep Area',
['BuyIngredients'] = 'Buy Ingredients',
['OpenStorage'] = 'Open Storage',
['OpenFridge'] = 'Open Fridge',
['ItemAddedToOrder'] = 'Item added to order',
['FailedToAddItem'] = 'Failed to add item to order',
['RemovedFromOrder'] = 'Removed item from order',
['FailedToRemoveItem'] = 'Failed to remove item from order',
['OrderDeleted'] = 'Order #%d Deleted',
['FailedToDeleteOrder'] = 'Failed to Delete Order %d',
['OrderCreated'] = 'Order #%d Created!',
['FailedToCreateOrder'] = 'Failed to create order',
['NoOrders'] = 'No orders',
['NoActiveOrders'] = 'There are currently no active orders',
['BackToMainMenu'] = 'Back to Main Menu',
['BackToOrders'] = 'Back to Orders',
['BackToOrderDetails'] = 'Back to Order Details',
['BackToAllOrders'] = 'Back to All Orders',
['ActiveOrders'] = 'Active Orders',
['OrderDetails'] = 'Order #%d Details',
['OrderItemDetails'] = 'Order #%d Item Details',
['AddItem'] = 'Add Item',
['DeleteOrder'] = 'Delete Order',
['PayOrder'] = 'Pay Order',
['PayForOrder'] = 'Pay for this Order',
['CoverOrderCost'] = 'Cover the cost of the order yourself',
['ViewActiveOrders'] = 'View Active Orders',
['OrderUp'] = 'Order Up!',
['CreateNewOrder'] = 'Create New Order',
['CreateOrder'] = 'Create a new order',
['CashRegister'] = 'Cash Register',
['Checkout'] = 'Checkout',
['PaymentMethod'] = 'Payment Method',
['PaymentMethodDesc'] = 'Cash or Card',
['TipPercentage'] = 'Enter Tip %',
['TipPercentageDesc'] = '0 - 100%',
['MissingItem'] = 'Missing %d %s',
['OrderPaidWithTip'] = 'Order #%d has been paid - $%d (Tip: $%d)',
['OrderPaymentFailed'] = 'Order #%d Failed to Pay! - $%d',
}
Additional food example GRILL
Check the props in the stream folder and their layout of the 5 cooking stages
Make your props with the same layout (for example: raw_fish, rare_fish etc.)
Add your food type to the config like this:
['grill-1'] = {
name = "Grill 1",
grill = true,
recipes = {
['burgerpatty'] = {
amount = 1,
ingredients = {
['raw_burgerpatty'] = 1
},
icon = 'burger',
time = 40000,
propsName = '_burger', -- DONT TOUCH
},
['bacon'] = {
amount = 1,
ingredients = {
['raw_bacon'] = 1
},
icon = 'bacon',
time = 25000,
propsName = '_bacon', -- DONT TOUCH
},
------ adding fish
['fish'] = {
amount = 1,
ingredients = {
['raw_fish'] = 1
},
icon = 'fish',
time = 25000,
propsName = '_fish', -- DONT TOUCH -- 'raw_fish', 'rare_fish', 'cooked_fish', 'overcooked_fish', 'burnt_fish'
}
------ adding chicken
['chicken'] = {
amount = 1,
ingredients = {
['raw_chicken'] = 1
},
icon = 'chicken',
time = 35000,
propsName = 'chicken', -- DONT TOUCH -- 'raw_chicken', 'rare_chicken', 'cooked_chicken', 'overcooked_chicken', 'burnt_chicken'
}
},
max = 6
Last updated