-
Notifications
You must be signed in to change notification settings - Fork 146
/
config.lua
116 lines (111 loc) · 2.53 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
Config = {}
Config.PawnLocation = {
[1] = {
coords = vector3(412.34, 314.81, 103.13),
length = 1.5,
width = 1.8,
heading = 207.0,
debugPoly = false,
minZ = 100.97,
maxZ = 105.42,
distance = 3.0
},
}
Config.BankMoney = false -- Set to true if you want the money to go into the players bank
Config.UseTimes = false -- Set to false if you want the pawnshop open 24/7
Config.TimeOpen = 7 -- Opening Time
Config.TimeClosed = 17 -- Closing Time
Config.SendMeltingEmail = true
Config.UseTarget = GetConvar('UseTarget', 'false') == 'true'
Config.PawnItems = {
[1] = {
item = 'goldchain',
price = math.random(50,100)
},
[2] = {
item = 'diamond_ring',
price = math.random(50,100)
},
[3] = {
item = 'rolex',
price = math.random(50,100)
},
[4] = {
item = 'tenkgoldchain',
price = math.random(50,100)
},
[5] = {
item = 'tablet',
price = math.random(50,100)
},
[6] = {
item = 'iphone',
price = math.random(50,100)
},
[7] = {
item = 'samsungphone',
price = math.random(50,100)
},
[8] = {
item = 'laptop',
price = math.random(50,100)
}
}
Config.MeltingItems = { -- meltTime is amount of time in minutes per item
[1] = {
item = 'goldchain',
rewards = {
[1] = {
item = 'goldbar',
amount = 2
}
},
meltTime = 0.15
},
[2] = {
item = 'diamond_ring',
rewards = {
[1] = {
item = 'diamond',
amount = 1
},
[2] = {
item = 'goldbar',
amount = 1
}
},
meltTime = 0.15
},
[3] = {
item = 'rolex',
rewards = {
[1] = {
item = 'diamond',
amount = 1
},
[2] = {
item = 'goldbar',
amount = 1
},
[3] = {
item = 'electronickit',
amount = 1
}
},
meltTime = 0.15
},
[4] = {
item = 'tenkgoldchain',
rewards = {
[1] = {
item = 'diamond',
amount = 5
},
[2] = {
item = 'goldbar',
amount = 1
}
},
meltTime = 0.15
},
}