Advertisement
Guest User

Peyote Plants L3onskyy

a guest
Jan 9th, 2023
343
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.02 KB | None | 0 0
  1. Config = {}
  2.  
  3. Config.debug = true
  4.  
  5. --- SETTINGS FOR ESX
  6. Config.esxSettings = {
  7.     enabled = true,
  8.     oldEsx = false,
  9.     moneyAccount = 'black_money',
  10. }
  11.  
  12. --- SETTINGS FOR QBCORE
  13. Config.qbSettings = {
  14.     enabled = false,
  15.     useNewQBExport = true, -- Make sure to uncomment the old export inside fxmanifest.lua if you're still using it
  16.     moneyAccount = 'cash',
  17. }
  18.  
  19. Config.target = {
  20.     enabled = false,
  21.     system = 'ox_target' -- 'qtarget' or 'qb-target' or 'ox_target'  (Other systems might work as well)
  22. }
  23.  
  24.  
  25. Config.teaConsumption = {
  26.     enabled = true,
  27.     duration = 120, -- time in seconds
  28. }
  29.  
  30. -- Chances for the peyote to spawn as a golden peyote
  31. Config.goldenPeyoteChance = 5
  32.  
  33. -- All the areas where peyote plants will spawn in
  34. Config.areas = {
  35.     {
  36.         coords = {
  37.             x = -1513.57, y = 4441.45, z = 11.8
  38.         },
  39.         radius = 65.0,
  40.         amount = 30,
  41.         blip = {
  42.             blipVisible = true,
  43.             areaVisible = true,
  44.             icon = 468,
  45.             color = 82,
  46.             scale = 0.9,
  47.         },
  48.     },
  49.     {
  50.         coords = {
  51.             x = -820.0, y = 5214.57, z = 98.3
  52.         },
  53.         radius = 140.0,
  54.         amount = 40,
  55.         blip = {
  56.             blipVisible = true,
  57.             areaVisible = true,
  58.             icon = 468,
  59.             color = 82,
  60.             scale = 0.9,
  61.         },
  62.     },
  63. }
  64.  
  65. Config.crafting = {
  66.     {
  67.         location = {
  68.             x = 1704.3, y = 3845.4, z = 34.9, h = 129.0,
  69.         },
  70.         prop = 'prop_cooker_03',
  71.         duration = 5000,
  72.         requiredItems = {
  73.             {
  74.                 item = 'ln_peyote',
  75.                 amount = 2,
  76.             },
  77.         },
  78.         craftedItem = 'ln_peyote_tea', -- result item
  79.         craftedAmount = 1,
  80.        
  81.         blip = {
  82.             enabled = true,
  83.             sprite = 677,
  84.             color = 82,
  85.             scale = 0.9,
  86.         },
  87.     }
  88. }
  89.  
  90.  
  91. Config.selling = {
  92.     {
  93.         location = {
  94.             x = -1148.0, y = 4949.9, z = 226.25, h = 73.0,
  95.         },
  96.  
  97.         pedModel = 'a_m_y_acult_01',
  98.  
  99.         duration = 2000,
  100.        
  101.         items = {
  102.             {
  103.                 item = 'ln_peyote_tea',
  104.                 label = 'Peyote tea',
  105.                 price = math.random(300, 500),
  106.             },
  107.             {
  108.                 item = 'ln_peyote_gold',
  109.                 label = 'Golden peyote',
  110.                 price = math.random(1000, 3000),
  111.             }
  112.         },
  113.  
  114.         blip = {
  115.             enabled = true,
  116.             sprite = 440,
  117.             color = 82,
  118.             scale = 0.7,
  119.         },
  120.     }
  121. }
  122.  
  123. ----------------------------------------------------------------------------------------------
  124. --- KEYBINDS
  125. ----------------------------------------------------------------------------------------------
  126. -- https://docs.fivem.net/docs/game-references/controls/
  127. -- Use the input index for the "input" value
  128. Config.keybinds = {
  129.     interact = {
  130.         label = 'E',
  131.         input = 38,
  132.     },
  133. }
  134.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement