This repository has been archived by the owner on May 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
config.lua
100 lines (86 loc) · 2.78 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
Config = {}
-- display polyzones (green boxes)
Config.DebugPoly = false
-- common trade ped location & ped hash
Config.CommonPedLocation = vector4(-1158.44, -1986.14, 13.16, 322.02)
Config.CommonPed = 'mp_m_forgery_01'
-- rare trade ped location & ped hash
Config.RarePedLocation = vector4(-2085.17, -1017.98, 12.78, 74.19)
Config.RarePed = 'mp_m_weapexp_01'
-- the amount of time it takes to detect items. (progressbar)
Config.DetectTime = math.random(6000, 10000)
-- if doesnt land on common or rare you get nothing.
-- 70% chance of receiving common item.
Config.CommonChance = 70
-- 5% chance of receiving rare item.
Config.RareChance = 95
-- The amount of common items received when detected.
Config.CommonAmount = math.random(1,5)
-- The amount of rare items received when detected.
Config.RareAmount = 1
-- %6 chance of overheating.
Config.OverheatChance = 6
-- how long the detecter gets overheated for
Config.OverheatTime = math.random(50000, 60000)
-- list of common items detectable
Config.CommonItems = {
'metaltrash',
'irontrash',
'bulletcasings',
'aluminumcan',
'steeltrash',
'brokenknife',
'brokendetector',
'brokenphone',
'housekeys',
}
-- list of rare items detectable
Config.RareItems = {
'burriedtreasure',
'treasurekey',
'antiquecoin',
'goldennugget',
'goldcoin',
'ancientcoin',
'ww2relic',
'brokengamboy',
'pocketwatch',
}
-- metal detection zones
Config.DetectZones = {
[1] = {
label = "PierBeach",
zones = {
vector2(-1215.8862304688, -1763.9927978516),
vector2(-1261.4217529297, -1830.6840820312),
vector2(-1612.1901855469, -1141.1480712891),
vector2(-1586.1876220703, -1071.6724853516),
vector2(-1422.1868896484, -1110.5142822266),
vector2(-1405.5825195312, -1395.3377685547),
vector2(-1323.0729980469, -1605.9655761719)
},
},
[2] = {
label = "PierBeach2",
zones = {
vector2(-1679.6752929688, -981.88470458984),
vector2(-1679.6752929688, -981.88470458984),
vector2(-1717.31640625, -1063.8728027344),
vector2(-2113.6811523438, -554.88806152344),
vector2(-2057.0686035156, -503.62591552734),
vector2(-1848.9615478516, -657.43768310547),
vector2(-1752.3885498047, -741.12536621094),
vector2(-1729.9864501953, -918.60015869141)
},
},
[3] = {
label = "Golf Course",
zones = {
vector2(-1075.5496826172, -145.32153320312),
vector2(-1324.7716064453, 23.515180587769),
vector2(-1338.4162597656, 183.1936340332),
vector2(-1109.5949707031, 219.35273742676),
vector2(-975.8134765625, -25.266059875488)
},
},
}