forked from Burn-One-Studios/B1-skillz
-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathconfig.lua
171 lines (156 loc) · 5.97 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
Config = {}
-------------
--MZ-SKILLS--
-------------
Config.UpdateFrequency = 300 -- Seconds interval between removing values (no need to touch this)
Config.Notifications = true -- Notification played when skill is added (set to "false" to disable)
Config.NotifyType = 'okok' -- Notification type: 'qb' for QBCore notification, 'okok' for okokNotify
Config.Debug = false -- Set to "true" to print debugging messages
Config.UseOxMenu = true -- set to "true" to use ox_lib menu instead of qb-menu
-- if "Config.UseOxMenu = true", then the following parameters apply:
Config.XPBarColour = "cyan" -- Change the colour of your XP Bar.
Config.SkillsTitle = "MZ-SKILLS" -- Change this to label your skill system as you see fit.
Config.XPMenuPosition = 'top-left' -- Change the position of your XP menu ('top-left' or 'top-right' or 'bottom-left' or 'bottom-right')
Config.TypeCommand = true -- Set to "false" to disable the "/skills" command (or whatever word you set in the next function)
Config.Skillmenu = "skills" -- phrase typed to display skills menu (check readme.md to set to commit to radial menu)
---------------------
--GTA NATIVE SKILLS--
---------------------
Config.B1Natives = false -- Change to "true" to use B1-skillz native functions as well as mz-skills
-- Please make sure you uncomment the "GTA NATIVE SKILLS" set out below.
-- To do so highlight all relevant lines of code and hold down "ctrl" + "k" and then press "u".
-- PLEASE NOTE SUPPORT FOR B1 NATIVE SKILLS IS NOT OFFERED AND MAY COMPROMISE YOUR DATABASE RE: EXISTING SKILLS
-- mz-skills recommendation is to leave this function to "false" unless you know what you are doing or have
-- sufficient back ups of your player data (particularly live player data).
-------------
--RP SKILLS--
-------------
-- Please feel free to add/subtract the skills you are using in your city as you see fit.
-- Please avoid taking skills away after players have already started accumulating XP.
-- The following skills which appear in this default list are used by one or more mz- resources.
Config.Skills = {
["Searching"] = {
["Current"] = 0,
["RemoveAmount"] = 0,
["Stat"] = "BINDIVE_ABILITY",
['icon'] = 'fas fa-trash',
},
["Scraping"] = {
["Current"] = 0,
["RemoveAmount"] = 0,
["Stat"] = "SCRAP_ABILITY",
['icon'] = 'fas fa-screwdriver',
},
["Hacking"] = {
["Current"] = 0,
["RemoveAmount"] = 0,
["Stat"] = "HACK_ABILITY",
['icon'] = 'fas fa-laptop-code',
},
["Street Reputation"] = {
["Current"] = 0,
["RemoveAmount"] = 0,
["Stat"] = "DRUGREP_ABILITY",
['icon'] = 'fas fa-cannabis',
},
["Drug Manufacture"] = {
["Current"] = 0,
["RemoveAmount"] = 0,
["Stat"] = "DRUGMAKE_ABILITY",
['icon'] = 'fas fa-pills',
},
["Delivery Runner"] = {
["Current"] = 0,
["RemoveAmount"] = 0,
["Stat"] = "RUNNER_ABILITY",
['icon'] = 'fas fa-car',
},
["Hitman"] = {
["Current"] = 0,
["RemoveAmount"] = 0,
["Stat"] = "HITMAN_ABILITY",
['icon'] = 'fas fa-skull',
},
["Sprint Driving"] = {
["Current"] = 0,
["RemoveAmount"] = 0,
["Stat"] = "DRIVER_ABILITY",
['icon'] = 'fas fa-car-alt',
},
["Lumberjack"] = {
["Current"] = 0,
["RemoveAmount"] = 0,
["Stat"] = "TREE_ABILITY",
['icon'] = 'fas fa-tree',
},
["Heist Reputation"] = {
["Current"] = 0,
["RemoveAmount"] = 0,
["Stat"] = "HEIST_ABILITY",
['icon'] = 'fa-solid fa-user-secret',
},
["Diving"] = {
["Current"] = 0,
["RemoveAmount"] = 0,
["Stat"] = "DIVING_ABILITY",
['icon'] = 'fas fa-water',
},
["Electrical"] = {
["Current"] = 0,
["RemoveAmount"] = 0,
["Stat"] = "ELECTRICAL_ABILITY",
['icon'] = 'fas fa-bolt',
},
["Hunting"] = {
["Current"] = 0,
["RemoveAmount"] = 0,
["Stat"] = "HUNTING_ABILITY",
['icon'] = 'fas fa-paw',
},
["Metal Detecting"] = {
["Current"] = 0,
["RemoveAmount"] = 0,
["Stat"] = "HUNTING_ABILITY",
['icon'] = 'fas fa-paw',
},
---------------------
--GTA NATIVE SKILLS-- UNSUPPORTED FUNCTIONALITY FROM THE ORIGINAL B1-SKILLZ
---------------------
-- PLEASE NOTE: THE FOLLOWING VALUES SHOULD ONLY BE UNCOMMENTED IF Config.B1Natives = true.
-- ["Stamina"] = {
-- ["Current"] = 0, -- Default value
-- ["RemoveAmount"] = -0.3, -- % to remove when updating,
-- ["Stat"] = "MP0_STAMINA", -- GTA stat hashname
-- ['icon'] = 'fas fa-walking',
-- },
-- ["Strength"] = {
-- ["Current"] = 0,
-- ["RemoveAmount"] = -0.3,
-- ["Stat"] = "MP0_STRENGTH",
-- ['icon'] = 'fas fa-dumbbell',
-- },
-- ["Lung Capacity"] = {
-- ["Current"] = 0,
-- ["RemoveAmount"] = -0.1,
-- ["Stat"] = "MP0_LUNG_CAPACITY",
-- ['icon'] = 'fas fa-heartbeat',
-- },
-- ["Shooting"] = {
-- ["Current"] = 0,
-- ["RemoveAmount"] = -0.1,
-- ["Stat"] = "MP0_SHOOTING_ABILITY",
-- ['icon'] = 'fas fa-bullseye',
-- },
-- ["Driving"] = {
-- ["Current"] = 0,
-- ["RemoveAmount"] = -0.5,
-- ["Stat"] = "MP0_DRIVING_ABILITY",
-- ['icon'] = 'fas fa-car-side',
-- },
-- ["Wheelie"] = {
-- ["Current"] = 0,
-- ["RemoveAmount"] = -0.2,
-- ["Stat"] = "MP0_WHEELIE_ABILITY",
-- ['icon'] = 'fas fa-wheelchair',
-- },
}