Advertisement
marcinhuUu

m-OilFactory

Oct 14th, 2022
729
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.93 KB | None | 0 0
  1. Config = {}
  2.  
  3. ---------------
  4. -- Utility
  5. ---------------
  6. Config.CoreName = "qb-core"
  7. Config.Target = "qb-target"
  8. Config.Menu = "qb-menu"
  9. Config.Input = "qb-input"
  10. Config.Debug = true -- If true you have acess a command "debugoil" and he print the Capacity of boat and your level.
  11.  
  12. ---------------
  13. -- Peds
  14. ---------------
  15. Config.Peds = {
  16. [1] = {type = 4, hash= GetHashKey("s_m_y_garbage"), x = 3866.43, y = 4463.61, z = 1.73, h = 89.92}, -- Rent a Boat
  17. [2] = {type = 4, hash= GetHashKey("s_m_y_garbage"), x = 1471.45, y = -1905.05, z = 70.40, h = 330.82}, -- Rent a Vehicle
  18. [3] = {type = 4, hash= GetHashKey("s_m_y_garbage"), x = 256.38, y = 2585.77, z = 43.91, h = 100.77}, -- Selling Burning Items
  19. }
  20.  
  21. ---------------
  22. -- Blips
  23. ---------------
  24. Config.Blip = {
  25. Factory = {
  26. Enable = true,
  27. Location = vector3(1474.28, -1920.31, 71.83),
  28. Sprite = 467,
  29. Display = 2,
  30. Scale = 0.8,
  31. Colour = 14,
  32. Name = "Oil Factory",
  33. },
  34. Boat = {
  35. Enable = true,
  36. Location = vector3(3866.43, 4463.61, 1.73),
  37. Sprite = 467,
  38. Display = 2,
  39. Scale = 0.8,
  40. Colour = 14,
  41. Name = "Oil Boat",
  42. },
  43. Selling = {
  44. Enable = true,
  45. Location = vector3(256.38, 2585.77, 43.91),
  46. Sprite = 207,
  47. Display = 2,
  48. Scale = 0.8,
  49. Colour = 2,
  50. Name = "Selling Items",
  51. },
  52. }
  53.  
  54. ---------------
  55. -- Rent a Boat
  56. ---------------
  57. Config.Rent = {
  58. General = {
  59. Pay = true, -- Pay to rent a boat or vehicle?
  60. Amount = 500, -- Amout of rent
  61. Type = "cash", -- "cash" or "bank"
  62. Keys = "vehiclekeys:client:SetOwner", -- Your trigger to give keys to player
  63. Fuel = "ps-fuel", -- Your trigger fuel
  64. },
  65. Boat = {
  66. Model = "tug", -- Model of vehicle
  67. Plate = "Oil", -- Plate
  68. Location = vector3(3861.0, 4476.8, -0.47), -- Location to spawn the boat
  69. Delete = vector3(3862.19, 4446.92, 0.83), -- Location to delete the boat
  70. Spawn = vector3(3855.13, 4459.96, 1.85), -- Location the ped goes after delete the boat
  71. Capacity = 200, -- This is the boat's ability to avoid farm AFK. When the player reaches 200, he can't catch more in the same boat.
  72. },
  73. Vehicle = {
  74. Model = "muleoilfactory", -- Model of vehicle
  75. Plate = "Oil", -- Plate
  76. Location = vector3(1476.2, -1907.96, 71.4), -- Location to spawn the vehicle
  77. Delete = vector3(1476.2, -1907.96, 71.4), -- Location to delete the boat
  78. }
  79. }
  80.  
  81. ---------------
  82. -- Level System
  83. ---------------
  84. Config.EarnExperience = {
  85. PickUp = 1, -- XP Gained after each pick up
  86. Mixing = 1, -- XP Gained after each mixing
  87. }
  88.  
  89. Config.Level = {
  90. Level_5 = 500, -- Amount of pickups needed to go to level 5
  91. Level_4 = 400, -- Amount of pickups needed to go to level 4
  92. Level_3 = 300, -- Amount of pickups needed to go to level 3
  93. Level_2 = 200, -- Amount of pickups needed to go to level 2
  94. Level_1 = 0, -- Dont touch
  95. }
  96.  
  97. Config.ProgressbarTimes = {
  98. Level_5 = 15000, -- Time progressBars with level 5 | This progressbar will result in: picking, mixing and burning
  99. Level_4 = 18500, -- Time progressBars with level 4 | This progressbar will result in: picking, mixing and burning
  100. Level_3 = 20000, -- Time progressBars with level 3 | This progressbar will result in: picking, mixing and burning
  101. Level_2 = 25000, -- Time progressBars with level 2 | This progressbar will result in: picking, mixing and burning
  102. Level_1 = 2500, -- Time progressBars with level 1 | This progressbar will result in: picking, mixing and burning
  103. }
  104.  
  105. Config.Rewards = {
  106. PickUp = {
  107. Level_5 = { min = 21, max = 32 }, -- Drop quantity when pick up oil in sea
  108. Level_4 = { min = 15, max = 19 }, -- Drop quantity when pick up oil in sea
  109. Level_3 = { min = 12, max = 14 }, -- Drop quantity when pick up oil in sea
  110. Level_2 = { min = 6, max = 9 }, -- Drop quantity when pick up oil in sea
  111. Level_1 = { min = 2, max = 4 }, -- Drop quantity when pick up oil in sea
  112. Reward = "m_oil" -- This is the item you receive after collecting oil
  113. },
  114. RareDrops = { -- You will receive oil 100% times , this is another drop with chance to get it
  115. Enable = true, -- Enable rare drops?
  116. Chance = 100, -- Chance to get rare drops
  117. Drops = { -- Here is the list of rare drops that can later be burned at the factory
  118. "m_aincientcoin",
  119. "m_antiquecoin",
  120. "m_brokenknife",
  121. "m_burriedtreasure",
  122. "m_diamond_ring",
  123. "m_goldchain",
  124. "m_goldcoin",
  125. "m_phonebroken",
  126. "m_pickaxe",
  127. "m_pocketwatch",
  128. "m_steelcan",
  129. "m_treasurekey"
  130. }
  131. },
  132. MixingOil = {
  133. Level_5 = { min = 9, max = 10 }, -- Drop quantity when you mix the oil
  134. Level_4 = { min = 7, max = 8 }, -- Drop quantity when you mix the oil
  135. Level_3 = { min = 5, max = 6 }, -- Drop quantity when you mix the oil
  136. Level_2 = { min = 3, max = 4 }, -- Drop quantity when you mix the oil
  137. Level_1 = { min = 1, max = 2 }, -- Drop quantity when you mix the oil
  138. Reward = "m_gas_2l", -- This is the item you receive after mixing oil
  139. },
  140. Burning = {
  141. Level_5 = { min = 9, max = 10 }, -- Drop quantity when you burn the rare drops
  142. Level_4 = { min = 7, max = 8 }, -- Drop quantity when you burn the rare drops
  143. Level_3 = { min = 5, max = 6 }, -- Drop quantity when you burn the rare drops
  144. Level_2 = { min = 3, max = 4 }, -- Drop quantity when you burn the rare drops
  145. Level_1 = { min = 1, max = 2 }, -- Drop quantity when you burn the rare drops
  146. Reward = { -- This is the items you receive after burning the rare drops
  147. "m_gold",
  148. "m_stone",
  149. "m_silver",
  150. "m_diamond",
  151. "m_wood",
  152. "m_iron",
  153. }
  154. }
  155. }
  156.  
  157. ---------------
  158. -- Selling Items
  159. ---------------
  160. Config.InvLink = "lj-inventory/html/images/" -- Set this to your inventory directory
  161. Config.Payment = "cash" -- "cash" or "bank"
  162. Config.SellingItems = {
  163. [1] = { item = "m_gold", price = math.random(250, 300) },
  164. [2] = { item = "m_stone", price = math.random(1990, 2250) },
  165. [3] = { item = "m_silver", price = math.random(1990, 2250) },
  166. [4] = { item = "m_diamond", price = math.random(1990, 2250) },
  167. [5] = { item = "m_wood", price = math.random(1990, 2250) },
  168. [6] = { item = "m_iron", price = math.random(1990, 2250) },
  169. -- [7] = { item = "m_gas_2l", price = math.random(1990, 2250) }, -- If you also want to sell gasoline, leave a comment on this line.
  170. }
  171.  
  172. ---------------
  173. -- Locations to collect oil
  174. ---------------
  175. Config.Locations = {
  176. vector3(4646.02, 4228.8, 0.37),
  177. vector3(4585.21, 4127.58, 0.18),
  178. vector3(4459.8, 4145.46, 0.45)
  179. }
  180.  
  181.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement