marcinhuU

m-MiningJob

Mar 3rd, 2022
553
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.88 KB | None | 0 0
  1. Config = {}
  2.  
  3.  
  4. ----------------------
  5. -- Utility
  6. ----------------------
  7. Config.SkillBar = "np-skillbar" -- np-skillbar / qb-skillbar / reload-skillbar
  8. Config.QBMenu = "qb-menu" -- Name of qb-menu
  9. Config.Target = "qb-target" -- Target
  10. Config.LocalizacaoBlip = vector3(-567.14, 5345.54, 70.23) -- Location of map blip
  11. Config.EnableSound = true
  12. Config.TriggerInventoryItemBox = "inventory:client:ItemBox"
  13. ----------------------
  14. -- Location of Stones
  15. ----------------------
  16. Config.NameOfBlipWork = "Stone" -- Name of blip to mining
  17. Config["Minar"] = {
  18. [1] = { x = 2955.54, y = 2773.44, z = 39.56, distance = 3.0 }, -- Loc of mining stones
  19. [2] = { x = 2952.56, y = 2770.17, z = 39.04, distance = 3.0 }, -- Loc of mining stones
  20. [3] = { x = 2947.85, y = 2768.32, z = 38.94, distance = 3.0 }, -- Loc of mining stones
  21. }
  22.  
  23. ----------------------
  24. -- Location of wash stones
  25. ----------------------
  26. Config.NameBlipLavagem = "Wash Stones" -- Name of blip wash stones
  27. Config["Lavagem"] = {
  28. [1] = { x = 1180.43, y = -119.41, z = 56.49, distance = 5.0 }, -- Loc of washing stones
  29. [2] = { x = 1173.98, y = -122.48, z = 56.25, distance = 5.0 }, -- Loc of washing stones
  30. }
  31.  
  32. Config.Maquina = {
  33. ["maquina"] = {model = `prop_cementmixer_01a`, freeze = false}, -- Prop spawn with item "machine" to brake rocks
  34. }
  35.  
  36. ----------------------
  37. -- Rewards of Level System Axe
  38. ----------------------
  39. Config.RewardPicaretaLevel_1 = 1 -- Amount of stones you receive with pickaxe level 1
  40. Config.RewardPicaretaLevel_2 = 2 -- Amount of stones you receive with pickaxe level 2
  41. Config.RewardPicaretaLevel_3 = 3 -- Amount of stones you receive with pickaxe level 3
  42. Config.RewardPicaretaLevel_4 = 4 -- Amount of stones you receive with pickaxe level 4
  43. Config.RewardPicaretaLevel_5 = 5 -- Amount of stones you receive with pickaxe level 5
  44.  
  45. ----------------------
  46. -- Itens necessários para dar upgrade ao maxado
  47. ----------------------
  48. Config.ItemNecessario = "pedras"
  49. Config.QuantidadeNecessariaLevel2 = 50 -- Amount of stones needed to evolve the pickaxe to level 2
  50. Config.QuantidadeNecessariaLevel3 = 100 -- Amount of stones needed to evolve the pickaxe to level 3
  51. Config.QuantidadeNecessariaLevel4 = 150 -- Amount of stones needed to evolve the pickaxe to level 4
  52. Config.QuantidadeNecessariaLevel5 = 200 -- Amount of stones needed to evolve the pickaxe to level 5
  53.  
  54. ----------------------
  55. -- Ores after wash
  56. ----------------------
  57. Config.Ores = { -- Ores that will be able to come out after stone washing
  58. "ouro",
  59. "ferro",
  60. "carvao",
  61. "ruby",
  62. "esmeralda",
  63. "diamante",
  64. "safira",
  65. "magnesio",
  66. "titanite",
  67. "wolframite",
  68. "perovskite",
  69. "baryte",
  70. "rainbowpyrite"
  71. }
  72.  
  73. ----------------------
  74. -- Ores prices when sell
  75. ----------------------
  76. Config.Prices = {
  77. ['ouro'] = { name = 'ouro', amount = 1 }, -- Prices for each ore
  78. ['ferro'] = { name = 'ferro', amount = 1 }, -- Prices for each ore
  79. ['carvao'] = { name = 'carvão', amount = 1 }, -- Prices for each ore
  80. ['ruby'] = { name = 'ruby', amount = 1 }, -- Prices for each ore
  81. ['esmeralda'] = { name = 'esmeralda', amount = 1 }, -- Prices for each ore
  82. ['diamante'] = { name = 'diamante', amount = 1 }, -- Prices for each ore
  83. ['safira'] = { name = 'safira', amount = 1 }, -- Prices for each ore
  84. ['magnesio'] = { name = 'magnesio', amount = 1 }, -- Prices for each ore
  85. ['titanite'] = { name = 'titanite', amount = 1 }, -- Prices for each ore
  86. ['wolframite'] = { name = 'wolframite', amount = 1 }, -- Prices for each ore
  87. ['perovskite'] = { name = 'perovskite', amount = 1 }, -- Prices for each ore
  88. ['baryte'] = { name = 'baryte', amount = 1 }, -- Prices for each ore
  89. ['rainbowpyrite'] = { name = 'rainbowpyrite', amount = 1 }, -- Prices for each ore
  90. }
  91.  
  92. ----------------------
  93. -- QB-Targets
  94. ----------------------
  95. -- Mining Rocks
  96. Config.TargetCutMinerLabel = "Mine"
  97. Config.TargetCutMinerIcon = "fa-solid fa-minimize"
  98. -- Break Stones
  99. Config.BreakStonesLabel = "Break Stones"
  100. Config.BreakStonesIcon = "fas fa-car"
  101. -- Machine
  102. Config.MachineLabel = "Guardar Mesa"
  103. Config.MachineIcon = "fas fa-car"
  104. -- Wash Stones
  105. Config.TargetSeparateMinerLabel = "Wash Stone"
  106. Config.TargetSeparateMinerIcon = "fa-solid fa-water"
  107. -- Shop / Boss of wood
  108. Config.LocalizacaoPedShop = {2959.14, 2753.43, 42.71,"Mario",203.72,0x62CC28E2,"s_m_y_armymech_01"} -- Location of NPC shop
  109. Config.LocalizacaoShopMineiros = vector3(2959.14, 2753.43, 43.71) -- Location of shop, you need to change on Config.LocalizacaoPedShop too
  110. Config.TargetShopMinerLabel = "Talk to the boss"
  111. Config.TargetShopMinerIcon = "fa-solid fa-person"
  112. -- Vehicles
  113. Config.LocalizacaoPedVehicles = {2957.67, 2745.84, 42.54,"ZeZe",325.34,0x62CC28E2,"s_m_y_armymech_01"} -- Location of NPC shop
  114. Config.LocalizacaoVehicles = vector3(2957.67, 2745.84, 43.54) -- Location of shop, you need to change on Config.LocalizacaoPedShop too
  115. Config.TargetVehiclesLabel = "Vehicles"
  116. Config.TargetVehiclesIcon = "fa-solid fa-person"
  117. -- Sell Wood
  118. Config.NameOfSellOres = "Sell Ores" -- Name of blip
  119. Config.LocationOfNPCSellMinerios = {-623.23, -230.23, 37.06,"John",68.34,0x039677BD,"cs_jimmyboston"} -- Location of NPC sell
  120. Config.TargetSellMinerLocation = vector3(-623.23, -230.23, 38.06) -- Location of sell, you need to change on Config.LocalizacaoPedShop too
  121. Config.TargetSellMinerLabel = "Sell Ores"
  122. Config.TargetSellMinerIcon = "fas fa-sack-dollar"
  123. ----------------------
  124. -- Notification
  125. ----------------------
  126. Config["Notificacoes"] = {
  127. ["Falhaste"] = "You failed!",
  128. ["CorreuMal"] = "Something went wrong!",
  129. ["JaTensMachado"] = "You already have an axe with you!",
  130. ["NaoTensNecessario"] = "You don't have what you need.",
  131. ["NadaParaVender"] = "You have nothing to sell.",
  132. ["VeiculoDisponivel"] = "Vehicle loaned successfully.",
  133. ["NaoTensPicaretas"] = "You don't have any pickaxe!",
  134. ["NaoTensPedras"] = "You don't have any stones!",
  135. ["Cancelado"] = "Canceled."
  136. }
  137.  
  138. ----------------------
  139. -- Progressbars
  140. ----------------------
  141. Config["ProgressBars"] = {
  142. ["MinerarPedras"] = "Mining....",
  143. ["LavarPedras"] = "Washing stones..",
  144. ["PartirPedras"] = "Break stones..",
  145. ["PutMachine"] = "Put Machine..",
  146. ["SaveMachine"] = "Save Machine..",
  147.  
  148. }
  149.  
  150. ----------------------
  151. -- Menus ( qb-menu )
  152. ----------------------
  153. -- Shop
  154. Config.QBMenuShopHeader = "Boss of Miners"
  155. Config.QBMenuShopGiveAxe = "I want a pickaxe!"
  156. Config.QBMenuShopGiveVehicle = "I need a vehicle!"
  157. Config.QBMenuShopDeleteVehicle = "Deliver vehicle"
  158. Config.QBMenuShopOpenShop = "Open Shop"
  159. Config.QBMenuShopEvolveAxe = "I want to evolve my pickaxe!"
  160. Config.QBMenuShopClose = "< Close"
  161. -- Envolve
  162. Config.QBMenuEnvolveHeader = "Evolution of Pickaxes"
  163. Config.QBMenuEnvolveLevel2 = "Upgrade to level 2"
  164. Config.QBmenuEnvolveTxtLevel2 = "You need: <br> 50x Stone <br> 1x Pickaxe Level 1"
  165. Config.QBMenuEnvolveLevel3 = "Upgrade to level 3"
  166. Config.QBmenuEnvolveTxtLevel3 = "You need: <br> 100x Stone <br> 1x Pickaxe Level 2"
  167. Config.QBMenuEnvolveLevel4 = "Upgrade to level 4"
  168. Config.QBmenuEnvolveTxtLevel4 = "You need: <br> 150x Stone <br> 1x Pickaxe Level 3"
  169. Config.QBMenuEnvolveLevel5 = "Upgrade to level 5"
  170. Config.QBmenuEnvolveTxtLevel5 = "You need: <br> 200x Stone <br> 1x Pickaxe Level 4"
  171. Config.QBMenuEnvolveClose = "< Close"
  172. -- Selling
  173. Config.QBMenuSellingHeader = "Sell Miners"
  174. Config.QBMenuSellingOption1 = "Sell all"
  175. Config.QBMenuSellingOption2 = ""
  176. Config.QBMenuSellingClose = "< Close"
  177.  
  178.  
  179. ----------------------
  180. -- Car
  181. ----------------------
  182. Config.Fuel = "LegacyFuel" -- Name of your fuel script
  183. Config.VehicleKeysTrigger = "vehiclekeys:client:SetOwner" -- Trigger to give vehiclekeys
  184.  
  185. Config.Carros = {
  186. [1] = {carro = "biff"}, -- Name of car
  187. }
  188.  
  189. Config.Carrinho = {
  190. [1] = {x = 2958.51, y = 2749.64, z = 43.47, h = 282.22}, -- Location to spawn car
  191. }
  192.  
  193. ----------------------
  194. -- Bag
  195. ----------------------
  196. Config.Slots = 4
  197. Config.Weight = 5000
  198.  
  199. -----------------
  200. -- Shop
  201. -----------------
  202. Config.OpenInvTrigger = "inventory:server:OpenInventory" -- Trigger to open inventory
  203. Config.ShopName = "Miners Shop" -- Name of Shop
  204. Config.Products = {
  205. ["Miners"] = {
  206. [1] = {
  207. name = "water_bottle", -- Name of item
  208. price = 5, -- Price of item
  209. amount = 25, -- Amount in stock per player
  210. info = {},
  211. type = "item",
  212. slot = 1, -- Slot
  213. },
  214. [2] = {
  215. name = "weapon_bread",
  216. price = 5,
  217. amount = 25,
  218. info = {},
  219. type = "item",
  220. slot = 2,
  221. },
  222. [3] = {
  223. name = "oculosmineiro",
  224. price = 5,
  225. amount = 25,
  226. info = {},
  227. type = "item",
  228. slot = 3,
  229. },
  230. [4] = {
  231. name = "fonesmineiro",
  232. price = 5,
  233. amount = 25,
  234. info = {},
  235. type = "item",
  236. slot = 4,
  237. },
  238. [5] = {
  239. name = "sacomineiros",
  240. price = 5,
  241. amount = 25,
  242. info = {},
  243. type = "item",
  244. slot = 5,
  245. },
  246. [6] = {
  247. name = "maquina",
  248. price = 5,
  249. amount = 25,
  250. info = {},
  251. type = "item",
  252. slot = 6,
  253. },
  254. },
  255. }
  256.  
  257. Config.Lojinha = {
  258. ["Miners"] = {
  259. ["label"] = "Miners",
  260. ["type"] = "BM",
  261. ["coords"] = {
  262. [1] = {
  263. ["x"] = 1333.06, -- Dont touch, is using qb-target.
  264. ["y"] = 4326.86, -- Dont touch, is using qb-target.
  265. ["z"] = 38.017, -- Dont touch, is using qb-target.
  266. },
  267. },
  268. ["CoisasBoas"] = Config.Products["Miners"],
  269. },
  270. }
Add Comment
Please, Sign In to add comment