-
-
Notifications
You must be signed in to change notification settings - Fork 115
/
Copy pathconfig.lua
213 lines (188 loc) · 6.94 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
print("^2Jim-Mining ^7v^4"..GetResourceMetadata(GetCurrentResourceName(), 'version', nil):gsub("%.", "^7.^4").."^7 - ^2Mining Script by ^1Jimathy^7")
Loc = {}
Config = {
Debug = false, -- enable debug mode
img = "qb-inventory/html/images/", --Set this to the image directory of your inventory script or "nil" if using newer qb-menu
Lan = "en", -- Pick your language here
JimShops = false, -- Set this to true if using jim-shops
Inv = "qb", --"qb" or "ox"
Menu = "qb", --"qb" or "ox"
ProgressBar = "qb", --"qb" or "ox"
Notify = "qb", --"qb" or "ox"
DrillSound = true, -- disable drill sounds
MultiCraft = true, -- Enable multicraft
MultiCraftAmounts = { [1], [5], [10] },
K4MB1Prop = false, -- Enable this to make use of K4MB1's ore props provided with their Mining Cave MLO
Timings = { -- Time it takes to do things
["Cracking"] = math.random(5000, 10000),
["Washing"] = math.random(10000, 12000),
["Panning"] = math.random(25000, 30000),
["Pickaxe"] = math.random(15000, 18000),
["Mining"] = math.random(10000, 15000),
["Laser"] = math.random(7000, 10000),
["OreRespawn"] = math.random(55000, 75000),
["Crafting"] = 5000,
},
CrackPool = { -- Rewards from cracking stone
"carbon",
"copperore",
"ironore",
"metalscrap",
},
WashPool = { -- Rewards from washing stone
"goldore",
"uncut_ruby",
"uncut_emerald",
"uncut_diamond",
"uncut_sapphire",
"goldore",
},
PanPool = { -- Rewards from panning
"can",
"goldore",
"can",
"goldore",
"bottle",
"stone",
"goldore",
"bottle",
"can",
"silverore",
"can",
"silverore",
"bottle",
"stone",
"silverore",
"bottle",
},
------------------------------------------------------------
OreSell = { -- List of ores you can sell to the buyer npc
"goldingot",
"silveringot",
"copperore",
"ironore",
"goldore",
"silverore",
"carbon",
},
SellingPrices = { -- Selling Prices
['copperore'] = 100,
['goldore'] = 100,
['silverore'] = 100,
['ironore'] = 100,
['carbon'] = 100,
['goldingot'] = 100,
['silveringot'] = 100,
['uncut_emerald'] = 100,
['uncut_ruby'] = 100,
['uncut_diamond'] = 100,
['uncut_sapphire'] = 100,
['emerald'] = 100,
['ruby'] = 100,
['diamond'] = 100,
['sapphire'] = 100,
['diamond_ring'] = 100,
['emerald_ring'] = 100,
['ruby_ring'] = 100,
['sapphire_ring'] = 100,
['diamond_ring_silver'] = 100,
['emerald_ring_silver'] = 100,
['ruby_ring_silver'] = 100,
['sapphire_ring_silver'] = 100,
['diamond_necklace'] = 100,
['emerald_necklace'] = 100,
['ruby_necklace'] = 100,
['sapphire_necklace'] = 100,
['diamond_necklace_silver'] = 100,
['emerald_necklace_silver'] = 100,
['ruby_necklace_silver'] = 100,
['sapphire_necklace_silver'] = 100,
['diamond_earring'] = 100,
['emerald_earring'] = 100,
['ruby_earring'] = 100,
['sapphire_earring'] = 100,
['diamond_earring_silver'] = 100,
['emerald_earring_silver'] = 100,
['ruby_earring_silver'] = 100,
['sapphire_earring_silver'] = 100,
['gold_ring'] = 100,
['goldchain'] = 100,
['goldearring'] = 100,
['silver_ring'] = 100,
['silverchain'] = 100,
['silverearring'] = 100,
},
------------------------------------------------------------
--Mining Store Items
Items = {
label = "Mining Store", slots = 9,
items = {
{ name = "water_bottle", price = 0, amount = 100, info = {}, type = "item", slot = 1, },
{ name = "sandwich", price = 0, amount = 250, info = {}, type = "item", slot = 2, },
{ name = "bandage", price = 0, amount = 100, info = {}, type = "item", slot = 3, },
{ name = "weapon_flashlight", price = 0, amount = 100, info = {}, type = "item", slot = 4, },
{ name = "goldpan", price = 0, amount = 100, info = {}, type = "item", slot = 5, },
{ name = "pickaxe", price = 100, amount = 100, info = {}, type = "item", slot = 6, },
{ name = "miningdrill", price = 10000, amount = 50, info = {}, type = "item", slot = 7, },
{ name = "mininglaser", price = 60000, amount = 5, info = {}, type = "item", slot = 8, },
{ name = "drillbit", price = 0, amount = 100, info = {}, type = "item", slot = 9, },
},
},
}
Crafting = {
SmeltMenu = {
{ ["copper"] = { ["copperore"] = 1 }, ['amount'] = 4 },
{ ["goldingot"] = { ["goldore"] = 1 } },
{ ["goldingot"] = { ["goldchain"] = 3 } },
{ ["goldingot"] = { ["gold_ring"] = 4 } },
{ ["silveringot"] = { ["silverore"] = 1 } },
{ ["silveringot"] = { ["silverchain"] = 3 } },
{ ["silveringot"] = { ["silver_ring"] = 4 } },
{ ["iron"] = { ["ironore"] = 1 } },
{ ["steel"] = { ["ironore"] = 1, ["carbon"] = 1 } },
{ ["aluminum"] = { ["can"] = 2, }, ['amount'] = 3 },
{ ["glass"] = { ["bottle"] = 2, }, ['amount'] = 2 },
},
GemCut = {
{ ["emerald"] = { ["uncut_emerald"] = 1, } },
{ ["diamond"] = { ["uncut_diamond"] = 1}, },
{ ["ruby"] = { ["uncut_ruby"] = 1 }, },
{ ["sapphire"] = { ["uncut_sapphire"] = 1 }, },
},
RingCut = {
{ ["gold_ring"] = { ["goldingot"] = 1 }, ['amount'] = 3 },
{ ["silver_ring"] = { ["silveringot"] = 1 }, ['amount'] = 3 },
{ ["diamond_ring"] = { ["gold_ring"] = 1, ["diamond"] = 1 }, },
{ ["emerald_ring"] = { ["gold_ring"] = 1, ["emerald"] = 1 }, },
{ ["ruby_ring"] = { ["gold_ring"] = 1, ["ruby"] = 1 }, },
{ ["sapphire_ring"] = { ["gold_ring"] = 1, ["sapphire"] = 1 }, },
{ ["diamond_ring_silver"] = { ["silver_ring"] = 1, ["diamond"] = 1 }, },
{ ["emerald_ring_silver"] = { ["silver_ring"] = 1, ["emerald"] = 1 }, },
{ ["ruby_ring_silver"] = { ["silver_ring"] = 1, ["ruby"] = 1 }, },
{ ["sapphire_ring_silver"] = { ["silver_ring"] = 1, ["sapphire"] = 1 }, },
},
NeckCut = {
{ ["goldchain"] = { ["goldingot"] = 1 }, ['amount'] = 3 },
{ ["silverchain"] = { ["silveringot"] = 1 }, ['amount'] = 3 },
{ ["diamond_necklace"] = { ["goldchain"] = 1, ["diamond"] = 1 }, },
{ ["ruby_necklace"] = { ["goldchain"] = 1, ["ruby"] = 1 }, },
{ ["sapphire_necklace"] = { ["goldchain"] = 1, ["sapphire"] = 1 }, },
{ ["emerald_necklace"] = { ["goldchain"] = 1, ["emerald"] = 1 }, },
{ ["diamond_necklace_silver"] = { ["silverchain"] = 1, ["diamond"] = 1 }, },
{ ["ruby_necklace_silver"] = { ["silverchain"] = 1, ["ruby"] = 1 }, },
{ ["sapphire_necklace_silver"] = { ["silverchain"] = 1, ["sapphire"] = 1 }, },
{ ["emerald_necklace_silver"] = { ["silverchain"] = 1, ["emerald"] = 1 }, },
},
EarCut = {
{ ["goldearring"] = { ["goldingot"] = 1 }, ['amount'] = 3 },
{ ["silverearring"] = { ["silveringot"] = 1 }, ['amount'] = 3 },
{ ["diamond_earring"] = { ["goldearring"] = 1, ["diamond"] = 1 }, },
{ ["ruby_earring"] = { ["goldearring"] = 1, ["ruby"] = 1 }, },
{ ["sapphire_earring"] = { ["goldearring"] = 1, ["sapphire"] = 1 }, },
{ ["emerald_earring"] = { ["goldearring"] = 1, ["emerald"] = 1 }, },
{ ["diamond_earring_silver"] = { ["silverearring"] = 1, ["diamond"] = 1 }, },
{ ["ruby_earring_silver"] = { ["silverearring"] = 1, ["ruby"] = 1 }, },
{ ["sapphire_earring_silver"] = { ["silverearring"] = 1, ["sapphire"] = 1 }, },
{ ["emerald_earring_silver"] = { ["silverearring"] = 1, ["emerald"] = 1 }, },
},
}