-
Notifications
You must be signed in to change notification settings - Fork 8
/
config.lua
116 lines (100 loc) · 4.09 KB
/
config.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
Config = {}
-- Before you move on, import the sql file. For old esx versions import oldesx.sql,
-- for new versions use newesx.sql.
-- Set to true if your ESX uses item limit instead of weight.
Config.OldESX = false
-- The amount of items it gives you after you have finished cooking.
Config.ProductAmount = 1
-- The time it takes for the player to cook (ms)
Config.CookingTime = 15000
-- The distance required for the 3D test to be created.
Config.Distance = 1.5
-- The keybind for using the stove. (https://docs.fivem.net/docs/game-references/controls/)
Config.Keybinds = 54 -- E
-- If you want to use okokNotify set this to true
Config.UseOkOkNotify = false
-- Aligns the ESX Menu in the screen. Default - 'left'
Config.MenuAlign = 'left'
-- Strings, edit these if you want to translate to another language.
Config.Strings = {
StoveMenu = "Stove Menu",
ToasterMenu = "Toaster Menu",
MicroMenu = "Microwave Menu",
EToCookStove = "~b~Press ~y~[E]~b~ to use the stove.",
EToCookToaster = "~b~Press ~y~[E]~b~ to use the toaster.",
EToCookMicro = "~b~Press ~y~[E]~b~ to use the microwave.",
WrongIngredients = "You are missing some ingredients.",
NotEnoughSpace = "You do not have enough inventory space."
}
-- The stove objects. Use hash keys. (https://gtahash.ru/)
Config.StoveModels = {
[-1781967271] = true -- prop_cooker_03
}
-- The toaster objects. Use hash keys. (https://gtahash.ru/)
Config.ToasterModels = {
[1055533654] = true, -- prop_toaster_02
[1697216212] = true -- prop_toaster_01
}
-- The microwaves objects. Use hash keys. (https://gtahash.ru/)
Config.MicroModels = {
[1306960905] = true, -- prop_microwave_1
[356462018] = true, -- prop_micro_04
[1490269418] = true, -- prop_micro_01
[1796594030] = true -- prop_micro_02
}
-- You can add new stove recipes by following the examples
Config.StoveRecipes = {
{['recipe'] = 'Gourmet Burger', ['item'] ='gourmetburger', ['ingredients'] = {
{['ingredient'] = 'Bread', ['amount'] = 1},
{['ingredient'] = 'Tomato', ['amount'] = 1},
{['ingredient'] = 'Lettuce', ['amount'] = 1},
{['ingredient'] = 'Pickles', ['amount'] = 1},
{['ingredient'] = 'Beef', ['amount'] = 1},
{['ingredient'] = 'Cheddar Cheese', ['amount'] = 1}
}},
{['recipe'] = 'Vegan Burger', ['item'] ='veganburger', ['ingredients'] = {
{['ingredient'] = 'Bread', ['amount'] = 1},
{['ingredient'] = 'Tomato', ['amount'] = 1},
{['ingredient'] = 'Lettuce', ['amount'] = 1},
{['ingredient'] = 'Pickles', ['amount'] = 1},
{['ingredient'] = 'Vpatty', ['amount'] = 1}
}},
{['recipe'] = 'Chicken Sandwich', ['item'] ='chickensand', ['ingredients'] = {
{['ingredient'] = 'Bread', ['amount'] = 1},
{['ingredient'] = 'Tomato', ['amount'] = 1},
{['ingredient'] = 'Lettuce', ['amount'] = 1},
{['ingredient'] = 'Pickles', ['amount'] = 1},
{['ingredient'] = 'Mayo', ['amount'] = 1},
{['ingredient'] = 'Chicken Breast', ['amount'] = 1},
{['ingredient'] = 'Cheddar Cheese', ['amount'] = 1}
}},
}
-- You can add new toaster recipes by following the examples
Config.ToasterRecipes = {
{['recipe'] = 'Toasted Bread', ['item'] ='toastedbread', ['ingredients'] = {
{['ingredient'] = 'Bread', ['amount'] = 1}
}},
}
-- You can add new microwave recipes by following the examples
Config.MicroRecipes = {
{['recipe'] = 'Peperoni Pizza', ['item'] ='peperonipizza', ['ingredients'] = {
{['ingredient'] = 'Frozen Peperoni Pizza', ['amount'] = 1}
}},
}
-- Add new ingredients in this list. You also have to insert the items in the database yourself.
Config.Items = {
['Tomato'] = 'tomato',
['Beef'] = 'beef',
['Bread'] = 'bread',
['Sausage'] = 'chickensausage',
['Lettuce'] = 'lettuce',
['Flour'] = 'flour',
['Potato'] = 'potato',
['Cheddar Cheese'] = 'cheddarcheese',
['Chicken Breast'] = 'chicken_breast1',
['Lobster Tails'] = 'lobstertails',
['Pickles'] = 'pickles',
['Vpatty'] = 'vpatty',
['Mayo'] = 'mayo',
['Frozen Peperoni Pizza'] = 'frozenpeperonipizza',
}