-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.lua
148 lines (135 loc) · 2.86 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
Config = {}
-- **** IMPORTANT ****
-- UseTarget should only be set to true when using qb-target
Config.UseTarget = GetConvar('UseTarget', 'false') == 'true'
Config.Targets = {}
Config.AttachedVehicle = nil
Config.AuthorizedIds = {
-- "insertcitizenidhere",
}
Config.MaxStatusValues = {
["engine"] = 1000.0,
["body"] = 1000.0,
["radiator"] = 100,
["axle"] = 100,
["brakes"] = 100,
["clutch"] = 100,
["fuel"] = 100,
}
Config.ValuesLabels = {
["engine"] = "Motor",
["body"] = "Body",
["radiator"] = "Radiator",
["axle"] = "Drive Shaft",
["brakes"] = "Brakes",
["clutch"] = "Clutch",
["fuel"] = "Fuel Ttank",
}
Config.RepairCost = {
["body"] = "plastic",
["radiator"] = "plastic",
["axle"] = "steel",
["brakes"] = "iron",
["clutch"] = "aluminum",
["fuel"] = "plastic",
}
Config.RepairCostAmount = {
["engine"] = {
item = "metalscrap",
costs = 2,
},
["body"] = {
item = "plastic",
costs = 3,
},
["radiator"] = {
item = "steel",
costs = 5,
},
["axle"] = {
item = "aluminum",
costs = 7,
},
["brakes"] = {
item = "copper",
costs = 5,
},
["clutch"] = {
item = "copper",
costs = 6,
},
["fuel"] = {
item = "plastic",
costs = 5,
},
}
Config.Businesses = {
"Auto Repair",
}
Config.Plates = {
[1] = {
coords = vector4(-340.95, -128.24, 39, 160.0),
boxData = {
heading = 340,
length = 5,
width = 2.5,
debugPoly = false
},
AttachedVehicle = nil,
},
[2] = {
coords = vector4(-326.78, -144.82, 39.06, 70),
boxData = {
heading = 249,
length = 6.5,
width = 5,
debugPoly = false
},
AttachedVehicle = nil,
},
}
Config.Locations = {
["exit"] = vector3(-1423.42, -450.28, 35.91),
["duty"] = vector3(-1429.66, -455.01, 35.91),
["stash"] = vector3(-1421.36, -455.35, 35.91),
["vehicle"] = vector4(-1424.91, -435.47, 35.81, 303.12),
}
Config.Vehicles = {
["flatbed"] = "Flatbed",
["towtruck"] = "Towtruck",
["minivan"] = "Minivan (Rental Car)",
["blista"] = "Blista",
}
Config.MinimalMetersForDamage = {
[1] = {
min = 8000,
max = 12000,
multiplier = {
min = 1,
max = 8,
}
},
[2] = {
min = 12000,
max = 16000,
multiplier = {
min = 8,
max = 16,
}
},
[3] = {
min = 12000,
max = 16000,
multiplier = {
min = 16,
max = 24,
}
},
}
Config.Damages = {
["radiator"] = "Radiator",
["axle"] = "Drive Shaft",
["brakes"] = "Brakes",
["clutch"] = "Clutch",
["fuel"] = "Fuel Tank",
}