-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.lua
111 lines (96 loc) · 2.84 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
Config, Locales = {}, {}
----------------------------------------------------------------
Config.Locale = 'en'
Config.checkForUpdates = true
Config.Debug = true
----------------------------------------------------------------
Config.StartProduction = {
Item = {
Enabled = true,
ItemName = 'methlab',
ConsumeOnStart = false
},
Key = {
Enabled = true,
StartKey = 'G'
}
}
Config.Inventory = {
ForceAdd = false, --Should the meth alsways be added, including when the player cant carry it?
--Only works with ox_inventory
oxSplit = true, -- if true, the player only receives the amount he can carry
}
-- Time between every % update
Config.PauseTime = 4000
-- % every update gets added
Config.Progress = {
Min = 5,
Max = 10
}
Config.Police = 'police' -- Your Police society name
Config.PoliceCount = 0
Config.Cam = true --Enable the new camera system
Config.LogType = 'disabled' --Valid options are 'ox_lib', 'discord' or 'disabled'
Config.Items = {
Methlab = 'methlab',
EnableDifferentMethTypes = true, -- If you disabble the different meth types the input dialog disappeares and it takes the values out of the Easy type
["Easy"] = {
Label = "Easy",
Ingredients = {
["acetone"] = 1,
["lithium"] = 1,
},
Meth = {
ItemName = 'meth',
Chance = { -- At the End a random amount of Meth gets added to the quantity received by questions
Min = -5,
Max = 5
},
}
},
["Medium"] = {
Label = "Medium",
Ingredients = {
["acetone"] = 8,
["lithium"] = 4,
},
Meth = {
ItemName = 'meth',
Chance = { -- At the End a random amount of Meth gets added to the quantity received by questions
Min = 0,
Max = 12
},
}
},
["Hard"] = {
Label = "Hard",
Ingredients = {
["acetone"] = 12,
["lithium"] = 8,
},
Meth = {
ItemName = 'meth',
Chance = { -- At the End a random amount of Meth gets added to the quantity received by questions
Min = 7,
Max = 20
},
}
}
}
Config.Noti = {
--Notifications types:
success = 'success',
error = 'error',
info = 'inform',
--Notification time:
time = 5000,
}
function notifications(notitype, message, time)
--Change this trigger for your notification system keeping the variables
lib.notify({
title = 'Meth Van',
description = message,
type = notitype,
duration = time
})
end