-
Notifications
You must be signed in to change notification settings - Fork 8
/
config.lua
168 lines (158 loc) · 5.62 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
Config = {}
Config.MinPolice = 1 -- Min number of police needed to rob jewelry store.
Config.ResetTime = 60 -- Number of Minutes the store will reset after first case is broken
Config.Closed = true -- Sets store to closed if the police online is less then MinPolice
Config.AllowPoliceStoreClose = true -- Allows any job set in Config.PoliceJobs to Close the store after a robbery until next store reset.
Config.PoliceNotifyBroken = 75 -- The chance breaking a case will notify the police. Setting to 100 will notify first broken case..
Config.PoliceNotifyNonBroken = 25 -- The chance attempting to break a case will notify the police. Setting to 100 will notify every attempt.
Config.PlayFailSound = true -- Uses sound for failed attempt to break.
-- AllowedWewapons lists all weapons that are able to be used to break cases with the chance percent it has of breaking glass.
Config.AllowedWeapons = {
{ name = 'WEAPON_PISTOL', chance = 30 },
{ name = 'WEAPON_SMG', chance = 40 },
{ name = 'WEAPON_CROWBAR', chance = 18 },
}
-- List of all jobs that are law enforcement in your server.
Config.PoliceJobs = {
'police',
'sheriff',
}
-- These jobs will not be able to rob the jewelry store at all.
Config.UnAuthJobs = {
'police',
'sheriff',
'ambulance',
}
-- These are the items you can recieve from breaking a case - need to be listed from lowest chance to highest chance.
-- If you have the highest chance set to less then 100 - will have a chance to not recieve any items from box.
-- You will need to change the names of these items to items in your database or enter these items into your database.
Config.ItemDrops = {
{ name = 'goldbar', max = 1, chance = 3 },
{ name = 'rolex', max = 3, chance = 17 },
{ name = 'necklace', max = 5, chance = 28},
{ name = 'wedding_ring', max = 5, chance = 42},
{ name = 'earrings', max = 10, chance = 100 },
}
-- Do Not Edit -- This list is just the general information for each of the 20 cases.
Config.CaseLocations = {
[1] = {
Pos = { x = -626.3253, y = -239.0511, z = 37.64523 },
Prop = 'des_jewel_cab2_end',
Prop1 = 'des_jewel_cab2_start',
Broken = false,
},
[2] = {
Pos = { x = -625.2751, y = -238.2881, z = 37.64523 },
Prop = 'des_jewel_cab3_end',
Prop1 = 'des_jewel_cab3_start',
Broken = false,
},
[3] = {
Pos = { x = -627.2115, y = -234.8942, z = 37.64523 },
Prop = 'des_jewel_cab3_end',
Prop1 = 'des_jewel_cab3_start',
Broken = false,
},
[4] = {
Pos = { x = -626.1613, y = -234.1315, z = 37.64523 },
Prop = 'des_jewel_cab4_end',
Prop1 = 'des_jewel_cab4_start',
Broken = false,
},
[5] = {
Pos = { x = -626.5439 , y = -233.6047 , z = 37.64523 },
Prop = 'des_jewel_cab_end',
Prop1 = 'des_jewel_cab_start',
Broken = false,
},
[6] = {
Pos = { x = -627.5945 , y = -234.3678, z = 37.64523 },
Prop = 'des_jewel_cab_end',
Prop1 = 'des_jewel_cab_start',
Broken = false,
},
[7] = {
Pos = { x = -622.6159, y = -232.5636, z = 37.64523 },
Prop = 'des_jewel_cab_end',
Prop1 = 'des_jewel_cab_start',
Broken = false,
},
[8] = {
Pos = { x = -620.5214, y = -232.8823, z = 37.64523 },
Prop = 'des_jewel_cab4_end',
Prop1 = 'des_jewel_cab4_start',
Broken = false,
},
[9] = {
Pos = { x = -620.1764, y =-230.7865 , z = 37.64523 },
Prop = 'des_jewel_cab_end',
Prop1 = 'des_jewel_cab_start',
Broken = false,
},
[10] = {
Pos = { x = -621.5175, y = -228.9474, z = 37.64523 },
Prop = 'des_jewel_cab3_end',
Prop1 = 'des_jewel_cab3_start',
Broken = false,
},
[11] = {
Pos = { x = -623.6147, y = -228.6247, z = 37.64523 },
Prop = 'des_jewel_cab2_end',
Prop1 = 'des_jewel_cab2_start',
Broken = false,
},
[12] = {
Pos = { x = -623.9558, y = -230.7263, z = 37.64523 },
Prop = 'des_jewel_cab4_end',
Prop1 = 'des_jewel_cab4_start',
Broken = false,
},
[13] = {
Pos = { x = -619.8483, y = -234.9137, z = 37.64523 },
Prop = 'des_jewel_cab_end',
Prop1 = 'des_jewel_cab_start',
Broken = false,
},
[14] = {
Pos = { x = -618.7984, y = -234.1509, z = 37.64523 },
Prop = 'des_jewel_cab3_end',
Prop1 = 'des_jewel_cab3_start',
Broken = false,
},
[15] = {
Pos = { x = -624.2796, y = -226.6066, z = 37.64523 },
Prop = 'des_jewel_cab4_end',
Prop1 = 'des_jewel_cab4_start',
Broken = false,
},
[16] = {
Pos = { x = -625.3300, y = -227.3697, z = 37.64523 },
Prop = 'des_jewel_cab3_end',
Prop1 = 'des_jewel_cab3_start',
Broken = false,
},
[17] = {
Pos = { x = -619.2031, y = -227.2482, z = 37.64523 },
Prop = 'des_jewel_cab2_end',
Prop1 = 'des_jewel_cab2_start',
Broken = false,
},
[18] = {
Pos = { x = -619.9662, y = -226.198, z = 37.64523 },
Prop = 'des_jewel_cab_end',
Prop1 = 'des_jewel_cab_start',
Broken = false,
},
[19] = {
Pos = { x = -617.0856, y = -230.1627, z = 37.64523 },
Prop = 'des_jewel_cab2_end',
Prop1 = 'des_jewel_cab2_start',
Broken = false,
},
[20] = {
Pos = { x = -617.8492, y = -229.1128, z = 37.64523 },
Prop = 'des_jewel_cab3_end',
Prop1 = 'des_jewel_cab3_start',
Broken = false,
},
}