Advertisement
Guest User

Untitled

a guest
Nov 11th, 2022
680
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.76 KB | None | 0 0
  1. Config = {}
  2.  
  3. Config.debug = true
  4.  
  5. Config.target = {
  6. enabled = false,
  7. system = 'qtarget' -- 'qtarget' or 'qb-target' or 'ox_target' (Other systems might work as well)
  8. }
  9.  
  10. --- SETTINGS FOR ESX
  11. Config.esxSettings = {
  12. enabled = false,
  13. oldEsx = false,
  14. moneyAccount = 'money',
  15. }
  16.  
  17. --- SETTINGS FOR QBCORE
  18. Config.qbSettings = {
  19. enabled = true,
  20. useNewQBExport = true, -- Make sure to uncomment the old export inside fxmanifest.lua if you're still using it
  21. moneyAccount = 'cash',
  22. }
  23.  
  24.  
  25.  
  26. Config.foragingAreaBlip = {
  27. icon = 540,
  28. color = 31,
  29. scale = 1.0,
  30. label = "Mushroom Foraging Area",
  31. coords = {
  32. {x = -473.3, y= 5755.5, z=56.0}, -- set 1
  33. {x = -651.7, y= 5193.8, z=18.0} -- set 2
  34. },
  35. showArea = true,
  36. areaColor = 31
  37. }
  38.  
  39. Config.mushroomCoords = {
  40. --set 1
  41. {x = -422.5, y = 5881.5, z = 200.0, r=22.0, amount = 7},
  42. {x = -441.2, y = 5845.2, z = 200.0, r=25.0, amount = 10},
  43. {x = -461.4, y = 5783.3, z = 200.0, r=40.0, amount = 20},
  44. {x = -483.1, y = 5723.3, z = 200.0, r=50.0, amount = 30},
  45. {x = -512.9, y = 5631.0, z = 200.0, r=60.0, amount = 35},
  46. {x = -548.6, y = 5493.0, z = 200.0, r=80.0, amount = 40},
  47.  
  48. --set 2
  49. {x = -612.0, y = 5134.7, z = 200.0, r=70.0, amount = 35},
  50. {x = -703.9, y = 5226.4, z = 200.0, r=50.0, amount = 25},
  51. {x = -614.4, y = 5239.5, z = 200.0, r=30.0, amount = 10},
  52. }
  53.  
  54.  
  55. Config.secretMushroomSpawns = {
  56. {x = -1117.3, y = 4944.0, z = 300.0, r = 2.0, amount = 3, respawn=3600},
  57. {x = -430.04, y = 5856.86, z = 38.3, r = 2.0, amount = 2, respawn=3600}
  58. }
  59.  
  60.  
  61. --- CANNABIS SPAWN LOCATIONS CAN BE CONFIGURED IN SERVER/SERVER.LUA
  62.  
  63. Config.washing = {
  64. {
  65. location = {
  66. x = -556.0, y = 5289.8, z = 73.5, h = -20.9,
  67. },
  68. prop = 'prop_ff_sink_02',
  69.  
  70. duration = 100, -- crafting duration in ms
  71.  
  72. requiredItems = {
  73. ['pd_dirty_red_mushroom'] = {
  74. craftedItem = 'pd_red_mushroom', -- result item
  75. },
  76. ['pd_dirty_brown_mushroom'] = {
  77. craftedItem = 'pd_brown_mushroom', -- result item
  78. },
  79. ['pd_dirty_magic_mushroom'] = {
  80. craftedItem = 'pd_magic_mushroom'
  81. }
  82. },
  83.  
  84. showBlip = true,
  85. }
  86. }
  87.  
  88. Config.crafting = {
  89. {
  90. location = {
  91. x = 1442.7, y = 6334.6, z = 23.8, h = 0.0,
  92. },
  93. prop = 'v_ret_ml_tablec',
  94.  
  95. duration = 3800, -- crafting duration in ms
  96.  
  97. requiredItems = {
  98. {
  99. item = 'pd_red_mushroom',
  100. amount = 2,
  101. label = "Red Mushrooms"
  102. },
  103. {
  104. item = 'pd_vial',
  105. amount = 1,
  106. label = "Vials"
  107. }
  108. },
  109. craftedItem = 'pd_poison', -- result item
  110. craftedAmount = 1,
  111.  
  112. showBlip = true, -- whether or not to show the poison making location blip on the map
  113. }
  114. }
  115.  
  116.  
  117. Config.fruitStall = {
  118. location = {
  119. {x = -1042.9, y = 5326.8, z = 44.6,},
  120. {x = 148.4, y = 1669.3, z = 228.7}
  121. },
  122.  
  123.  
  124. duration = 2000, -- selling duration in ms
  125.  
  126. items = {
  127. ['pd_brown_mushroom'] = {
  128. label = "Brown Mushroom",
  129. price = 20
  130. },
  131. ["pd_red_mushroom"] = {
  132. label = "Red Mushroom",
  133. price = 60
  134. },
  135. ["pd_magic_mushroom"] = {
  136. label = "Gleaming Mushroom",
  137. price = 300
  138. }
  139. },
  140.  
  141. showBlip = true,
  142. }
  143.  
  144. Config.poisonSalesMan = {
  145. {
  146. location = {
  147. x = 1668.7, y = 4969.0, z = 42.3, h = 2.0,
  148. },
  149.  
  150. pedModel = 'cs_movpremmale',
  151.  
  152. duration = 2000, -- selling duration in ms
  153.  
  154. item = 'pd_poison',
  155.  
  156. -- By not putting the math.random into a function the price will be set randomly on each server start/script start
  157. -- this will result in better days for selling the poison
  158. price = math.random(400, 800),
  159. showBlip = true, -- whether or not to show the poison salesman on the map
  160. }
  161. }
  162.  
  163. Config.tripDuration = 60 --in seconds
  164. Config.tripBonusHealth = 200
  165.  
  166. Config.ragDollTime = 30 --in seconds
  167.  
  168. ----------------------------------------------------------------------------------------------
  169. --- KEYBINDS
  170. ----------------------------------------------------------------------------------------------
  171. -- https://docs.fivem.net/docs/game-references/controls/
  172. -- Use the input index for the "input" value
  173. Config.keybinds = {
  174. interact = {
  175. label = 'E',
  176. input = 38,
  177. },
  178. cancel = {
  179. label = "X",
  180. input = 120,
  181. }
  182. }
  183.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement