-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathconfig.lua
462 lines (448 loc) · 12.9 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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
Config = Config or {}
Config.OneStore = true -- Set to true if using just the main Vangelico's Jewellers
Config.Cooldown = 5 * (60 * 2000) -- where x is minutes ie. x * (60 * 2000) \\ For door auto lock function
Config.Timeout = 5 * (60 * 2000) -- where x is minutes ie. x * (60 * 2000) \\ For case smashing cooldown
Config.AutoLock = true -- Set to false if you don't want the doors to auto lock/lock at all
Config.RequiredCops = 0
Config.VangelicoHours = { -- Store Hours
range = { -- Set both to 0 if you want the store to be robbed 24/7
open = 6, -- When the doors unlock // Default 6am
close = 18 -- When they lock for the night // Default 6pm
},
alertnight = {
start = 18, -- The start of higher chance alerts in the evening // Default 6pm
fin = 20 -- The end of higher chance alerts in the evening // Default 8pm
},
alertmorn = {
start = 4, -- The start of higher chance alerts in the morning // Default 4am
fin = 6 -- The end of higher chance alerts in the morning // Default 6am
}
}
Config.Dispatch = 'ps' -- Police Dispatch System
--[[
Set to 'ps' for police-script
Set to 'qb' for base qb-policejob alerts
Set to 'cd' for cd_policealerts
]]--
Config.DoorLock = 'qb' -- Doorlock System
if Config.DoorLock == 'ox' then -- Don't touch this
Config.DoorGroup = 'jewellery_stores' -- Doorlock System Extra Name // For ox_doorlock of the default config provided doesn't work
end
--[[
Set to 'qb' for qb-doorlock
// Create a file named `jewellery_stores` in qb-doorlock/config/ and copy the Door Config from the README into it.
Set to 'ox' for ox_doorlock
// Uncomment '@ox_lib/init.lua' from the fxmanifest.lua, create a file named `jewellery_stores` in ox_doorlock/config/ and copy the Door Config from the README into it.
Set to 'cd' for cd_doorlock
// Create a Group named `Jewellery Stores` through the in-game menu and add the copy the Door Config from the README into it.
Ensure the names of the doors correspond to the names of the doors below.
]]--
if Config.OneStore then -- Don't touch this
Config.HackEffect = 'disableCam' -- Set to 'disableAlarm' to disable police alerts or 'disableCam' to disable cameras
end -- Don't touch this
Config.Stores = {
[1] = { -- City Vangelico's
label = 'Vangelico\'s Jewellers',
coords = vector3(-630.5, -237.13, 38.08),
['Doors'] = {
main = 'jewellery-citymain',
sec = 'jewellery-citysec'
},
['Thermite'] = {
-- City Vangelico's \\ Rooftop Thermite --
coords = vector3(-596.02, -283.7, 50.4),
h = 300.0,
minZ = 50.12,
maxZ = 51.32,
anim = vector4(-596.02, -283.7, 50.4, 304.5),
effect = vector3(-596.02, -283.7, 50.19)
},
['Hack'] = {
-- City Vangelico's \\ PC Hack --
coords = vector3(-631.04, -230.63, 38.06),
h = 37.0,
minZ = 37.56,
maxZ = 38.56,
anim = vector4(-631.03, -229.55, 39.23, 180.18)
},
hit = false, -- Don't touch this
hacked = false -- Don't touch this
},
[2] = { -- Grapeseed Vangelico's
label = 'Vangelico\'s Jewellers',
coords = vector3(1649.78, 4882.32, 42.16),
['Doors'] = {
main = 'jewellery-grapemain',
sec = 'jewellery-grapesec'
},
['Thermite'] = {
-- Grapeseed Vangelico's \\ Side Alley Thermite --
coords = vector3(1645.07, 4867.87, 42.03),
h = 8.0,
minZ = 41.23,
maxZ = 42.53,
anim = vector4(1645.07, 4867.87, 42.03, 16.33),
effect = vector3(1645.07, 4867.87, 41.84)
},
hit = false -- Don't touch this
},
[3] = { -- Paleto Vangelico's
label = 'Vangelico\'s Jewellers',
coords = vector3(-378.45, 6047.68, 32.69),
['Doors'] = {
main = 'jewellery-palmain',
sec = 'jewellery-palsec'
},
['Thermite'] = {
-- Paleto Vangelico's \\ Rear Alley Thermite --
coords = vector3(-368.35, 6055.36, 31.5), -- h = 136.27
h = 135.0,
minZ = 31.2,
maxZ = 32.4,
anim = vector4(-368.35, 6055.36, 31.5, 136.27),
effect = vector3(-368.35, 6055.36, 31.31)
},
hit = false -- Don't touch this
}
}
Config.DoorItem = 'thermite' -- item to remove\check for when placing a charge
Config.ThermiteSettings = {
time = 60, -- time the hack displays for \\ half being showing the puzzle and the other solving
gridsize = 5, -- (5, 6, 7, 8, 9, 10) size of grid by square units, ie. gridsize = 5 is a 5 * 5 (25) square grid
incorrectBlocks = 10 -- incorrectBlocks = number of incorrect blocks after which the game will fail
}
Config.HackItem = 'phone' -- item to remove\check for when hacking
Config.VarHackSettings = {
blocks = 2, -- time the hack displays for \\ half being showing the puzzle and the other solving
time = 20 -- time the hack displays for
}
Config.WhitelistedWeapons = {
[`weapon_assaultrifle`] = {
timeOut = 5000
},
[`weapon_carbinerifle`] = {
timeOut = 5000
},
[`weapon_pumpshotgun`] = {
timeOut = 5000
},
[`weapon_sawnoffshotgun`] = {
timeOut = 5000
},
[`weapon_compactrifle`] = {
timeOut = 5000
},
[`weapon_autoshotgun`] = {
timeOut = 5000
},
[`weapon_crowbar`] = {
timeOut = 5000
},
[`weapon_pistol`] = {
timeOut = 5000
},
[`weapon_pistol_mk2`] = {
timeOut = 5000
},
[`weapon_combatpistol`] = {
timeOut = 5000
},
[`weapon_appistol`] = {
timeOut = 5000
},
[`weapon_pistol50`] = {
timeOut = 5000
},
[`weapon_microsmg`] = {
timeOut = 5000
},
}
Config.VitrineRewards = {
[1] = {
item = 'rolex',
['Amounts'] = {
min = 1,
max = 4
}
},
[2] = {
item = 'diamond_ring',
['Amounts'] = {
min = 1,
max = 4
}
},
[3] = {
item = 'goldchain',
['Amounts'] = {
min = 1,
max = 4
}
}
}
Config.Skills = {
enabled = false, -- Enable Skills
system = 'mz-skills',
['Thermite'] = {
skill = 'Heist Reputation', -- Skill to Use
['Limits'] = {
xp = 800 -- XP Required to do the Task
},
['Rewards'] = {
xp = 10, -- XP to give on success
multi = 1.5 -- Multiplier Based on Players Level
}
},
['Hack'] = {
skill = 'Hacking',
['Limits'] = {
xp = 1600
},
['Rewards'] = {
xp = 25,
multi = 2.5
}
},
['Vitrine'] = {
skill = 'Heist Reputation',
['Limits'] = {
xp = 0
},
['Rewards'] = {
xp = 5,
multi = 1.25
}
}
}
Config.Vitrines = {
[1] = {
coords = vector3(-626.83, -235.35, 38.05),
isOpened = false,
isBusy = false,
propStart = `des_jewel_cab3_start`,
propEnd = `des_jewel_cab3_end`
},
[2] = {
coords = vector3(-625.81, -234.7, 38.05),
isOpened = false,
isBusy = false,
propStart = `des_jewel_cab4_start`,
propEnd = `des_jewel_cab4_end`
},
[3] = {
coords = vector3(-626.95, -233.14, 38.05),
isOpened = false,
isBusy = false,
propStart = `des_jewel_cab_start`,
propEnd = `des_jewel_cab_end`
},
[4] = {
coords = vector3(-628.0, -233.86, 38.05),
isOpened = false,
isBusy = false,
propStart = `des_jewel_cab_start`,
propEnd = `des_jewel_cab_end`
},
[5] = {
coords = vector3(-625.7, -237.8, 38.05),
isOpened = false,
isBusy = false,
propStart = `des_jewel_cab3_start`,
propEnd = `des_jewel_cab3_end`
},
[6] = {
coords = vector3(-626.7, -238.58, 38.05),
isOpened = false,
isBusy = false,
propStart = `des_jewel_cab2_start`,
propEnd = `des_jewel_cab2_end`
},
[7] = {
coords = vector3(-624.55, -231.06, 38.05),
isOpened = false,
isBusy = false,
propStart = `des_jewel_cab4_start`,
propEnd = `des_jewel_cab4_end`
},
[8] = {
coords = vector3(-623.13, -232.94, 38.05),
isOpened = false,
isBusy = false,
propStart = `des_jewel_cab_start`,
propEnd = `des_jewel_cab_end`
},
[9] = {
coords = vector3(-620.29, -234.44, 38.05),
isOpened = false,
isBusy = false,
propStart = `des_jewel_cab_start`,
propEnd = `des_jewel_cab_end`
},
[10] = {
coords = vector3(-619.15, -233.66, 38.05),
isOpened = false,
isBusy = false,
propStart = `des_jewel_cab3_start`,
propEnd = `des_jewel_cab3_end`
},
[11] = {
coords = vector3(-620.19, -233.44, 38.05),
isOpened = false,
isBusy = false,
propStart = `des_jewel_cab4_start`,
propEnd = `des_jewel_cab4_end`
},
[12] = {
coords = vector3(-617.63, -230.58, 38.05),
isOpened = false,
isBusy = false,
propStart = `des_jewel_cab2_start`,
propEnd = `des_jewel_cab2_end`
},
[13] = {
coords = vector3(-618.33, -229.55, 38.05),
isOpened = false,
isBusy = false,
propStart = `des_jewel_cab3_start`,
propEnd = `des_jewel_cab3_end`
},
[14] = {
coords = vector3(-619.7, -230.33, 38.05),
isOpened = false,
isBusy = false,
propStart = `des_jewel_cab_start`,
propEnd = `des_jewel_cab_end`
},
[15] = {
coords = vector3(-620.95, -228.6, 38.05),
isOpened = false,
isBusy = false,
propStart = `des_jewel_cab3_start`,
propEnd = `des_jewel_cab3_end`
},
[16] = {
coords = vector3(-619.79, -227.6, 38.05),
isOpened = false,
isBusy = false,
propStart = `des_jewel_cab2_start`,
propEnd = `des_jewel_cab2_end`
},
[17] = {
coords = vector3(-620.42, -226.6, 38.05),
isOpened = false,
isBusy = false,
propStart = `des_jewel_cab_start`,
propEnd = `des_jewel_cab_end`
},
[18] = {
coords = vector3(-623.94, -227.18, 38.05),
isOpened = false,
isBusy = false,
propStart = `des_jewel_cab4_start`,
propEnd = `des_jewel_cab4_end`
},
[19] = {
coords = vector3(-624.91, -227.87, 38.05),
isOpened = false,
isBusy = false,
propStart = `des_jewel_cab3_start`,
propEnd = `des_jewel_cab3_end`
},
[20] = {
coords = vector3(-623.94, -228.05, 38.05),
isOpened = false,
isBusy = false,
propStart = `des_jewel_cab2_start`,
propEnd = `des_jewel_cab2_end`
},
[21] = {
coords = vector3(1646.35, 4879.66, 41.74),
isOpened = false,
isBusy = false,
propStart = `des_jewel_cab4_start`,
propEnd = `des_jewel_cab4_end`
},
[22] = {
coords = vector3(1647.6, 4881.69, 41.75),
isOpened = false,
isBusy = false,
propStart = `des_jewel_cab3_start`,
propEnd = `des_jewel_cab3_end`
},
[23] = {
coords = vector3(1648.79, 4882.52, 41.75),
isOpened = false,
isBusy = false,
propStart = `des_jewel_cab_start`,
propEnd = `des_jewel_cab_end`
},
[24] = {
coords = vector3(1647.5, 4882.33, 41.75),
isOpened = false,
isBusy = false,
propStart = `des_jewel_cab2_start`,
propEnd = `des_jewel_cab2_end`
},
[25] = {
coords = vector3(1648.66, 4886.42, 41.75),
isOpened = false,
isBusy = false,
propStart = `des_jewel_cab3_start`,
propEnd = `des_jewel_cab3_end`
},
[26] = {
coords = vector3(1649.94, 4886.6, 41.75),
isOpened = false,
isBusy = false,
propStart = `des_jewel_cab3_start`,
propEnd = `des_jewel_cab3_end`
},
[27] = {
coords = vector3(-379.13, 6049.96, 31.09),
isOpened = false,
isBusy = false,
propStart = `des_jewel_cab4_start`,
propEnd = `des_jewel_cab4_end`
},
[28] = {
coords = vector3(-378.91, 6047.59, 31.1),
isOpened = false,
isBusy = false,
propStart = `des_jewel_cab3_start`,
propEnd = `des_jewel_cab3_end`
},
[29] = {
coords = vector3(-379.37, 6046.21, 31.1),
isOpened = false,
isBusy = false,
propStart = `des_jewel_cab_start`,
propEnd = `des_jewel_cab_end`
},
[30] = {
coords = vector3(-378.45, 6047.13, 31.1),
isOpened = false,
isBusy = false,
propStart = `des_jewel_cab2_start`,
propEnd = `des_jewel_cab2_end`
},
[31] = {
coords = vector3(-376.94, 6043.16, 31.1),
isOpened = false,
isBusy = false,
propStart = `des_jewel_cab3_start`,
propEnd = `des_jewel_cab3_end`
},
[32] = {
coords = vector3(-377.85, 6042.25, 31.1),
isOpened = false,
isBusy = false,
propStart = `des_jewel_cab3_start`,
propEnd = `des_jewel_cab3_end`
}
}
Config.MaleNoHandshoes = {
[0] = true, [1] = true, [2] = true, [3] = true, [4] = true, [5] = true, [6] = true, [7] = true, [8] = true, [9] = true, [10] = true, [11] = true, [12] = true, [13] = true, [14] = true, [15] = true, [18] = true, [26] = true, [52] = true, [53] = true, [54] = true, [55] = true, [56] = true, [57] = true, [58] = true, [59] = true, [60] = true, [61] = true, [62] = true, [112] = true, [113] = true, [114] = true, [118] = true, [125] = true, [132] = true
}
Config.FemaleNoHandshoes = {
[0] = true, [1] = true, [2] = true, [3] = true, [4] = true, [5] = true, [6] = true, [7] = true, [8] = true, [9] = true, [10] = true, [11] = true, [12] = true, [13] = true, [14] = true, [15] = true, [19] = true, [59] = true, [60] = true, [61] = true, [62] = true, [63] = true, [64] = true, [65] = true, [66] = true, [67] = true, [68] = true, [69] = true, [70] = true, [71] = true, [129] = true, [130] = true, [131] = true, [135] = true, [142] = true, [149] = true, [153] = true, [157] = true, [161] = true, [165] = true
}