forked from 1OSaft/unr3al_meth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.lua
140 lines (107 loc) · 3.57 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
Config, Locales = {}, {}
----------------------------------------------------------------
Config.Locale = 'en'
Config.checkForUpdates = true --WIP
Config.Debug = true
----------------------------------------------------------------
Config.Inventory = {
Type = 'ox_inventory', --valid options are 'ox_inventory' or 'esx' this used for functions and the way items get added when max weight is reached
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
}
Config.Item = {
Meth = 'meth',
Acetone = 'acetone',
Lithium = 'lithium',
Methlab = 'methlab',
Chance = { -- At the End a random amount of Meth gets added to the quantity received by questions
Min = -5,
Max = 5
}
}
Config.LogType = 'discord' --Valid options are 'ox_lib', 'discord' or 'disabled'
Config.StartKey = 'G'
Config.PauseTime = 4000 -- Time between every % update
Config.Progress = { -- % every update gets added
Min = 1,
Max = 5
}
Config.ChangeMiniGame = 3 -- 1 out of 3 Progress updates gets a random minigame
Config.Police = 'police' -- Your Police society name
Config.PoliceCount = 0
Config.SmokeColor = 'orange' --orange, white or black
Config.DrugEffectLengh = 300000
Config.SkillCheck = {
StartingProd = {
Enabled = true,
Difficulty = {'easy', 'easy'},
Key = {'e'} --You can add multiple with {'w', 'a', 's', 'd'}
},
Questions = {
DisableAll = false, --if true, no Skillcheck will be done on questions
--Diffuclty 0 is no Skillcheck
Difficulty_1 = {
Difficulty = {'easy', 'easy'},
Key = {'e'} --You can add multiple with {'w', 'a', 's', 'd'}
},
Difficulty_2 = {
Difficulty = {'medium', 'medium'},
Key = {'e'} --You can add multiple with {'w', 'a', 's', 'd'}
},
Question_01 = {
Enabled = true,
DifficultyAnswer_1 = 1,
DifficultyAnswer_3 = 2
},
Question_02 = {
Enabled = true,
DifficultyAnswer_1 = 1,
DifficultyAnswer_3 = 1
},
Question_03 = {
Enabled = true,
DifficultyAnswer_2 = 1,
DifficultyAnswer_3 = 1
},
Question_04 = {
Enabled = true,
DifficultyAnswer_2 = 1,
DifficultyAnswer_3 = 2
},
Question_05 = {
Enabled = true,
DifficultyAnswer_1 = 1,
},
Question_06 = {
Enabled = true,
DifficultyAnswer_1 = 1,
DifficultyAnswer_2 = 0,
},
Question_07 = {
Enabled = true,
},
Question_08 = {
Enabled = true,
DifficultyAnswer_1 = 1,
}
}
}
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
--TriggerEvent("RiP-Notify:Notify", notitype, time, 'Meth Van', message)
lib.notify({
title = 'Meth Van',
description = message,
type = notitype,
duration = time
})
end