marcinhuU

m-FarmingJob

Mar 5th, 2022
800
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.81 KB | None | 0 0
  1. Config = {}
  2.  
  3. ----------------------
  4. -- Utility
  5. ----------------------
  6. Config.TriggerInventoryItemBox = "inventory:client:ItemBox"
  7. Config.QBTarget = "qb-target"
  8. Config.QBMenu = "qb-menu"
  9. Config.SkillBar = "np-skillbar" -- Available: np-skillbar / qb-skillbar / reload-skillbar
  10.  
  11. ----------------------
  12. -- Payments / Rewards
  13. ----------------------
  14. Config.Payment = "bank" -- Where does the money go when it is sold? Available: "bank" or "cash"
  15.  
  16. Config.PrecosDosItensDia = 1 -- Price if it is between 9 am and 00:00 midnight.
  17. Config.PrecosDosItensNoite = 2 -- Price between 00:00 midnight to 9 am
  18.  
  19. Config.RewardEnchadaNivel_1 = 1 -- Quantity of item that will come out with hoe level 1
  20. Config.RewardEnchadaNivel_2 = 2 -- Quantity of item that will come out with hoe level 2
  21. Config.RewardEnchadaNivel_3 = 3 -- Quantity of item that will come out with hoe level 3
  22. Config.RewardEnchadaNivel_4 = 4 -- Quantity of item that will come out with hoe level 4
  23. Config.RewardEnchadaNivel_5 = 5 -- Quantity of item that will come out with hoe level 5
  24.  
  25.  
  26. ----------------------
  27. -- Blips
  28. ----------------------
  29. -- Blips Pick Up Seeds Coffee
  30. Config.BlipPlantasCafe = vector3(2298.27, 5140.95, 52.49)
  31. Config.BlipCafeName = "Farm Café"
  32. -- Blips Pick Up Seeds Batata
  33. Config.BlipPlantasBatatas = vector3(2138.98, 5143.56, 50.07)
  34. Config.BlipBatatasName = "Farm Potatoes"
  35. -- Blips Pick Up Seeds Morangos
  36. Config.BlipPlantasMorangos = vector3(262.12, 6652.21, 29.92)
  37. Config.BlipMorangosName = "Farm Strawberry"
  38. -- Blips Pick Up Milk
  39. Config.BlipPlantasVacas = vector3(2144.34, 4991.85, 41.37)
  40. Config.BlipVacasName = "Farm Milk"
  41. -- Blips Process Coffee Seeds
  42. Config.BlipProcessName = "Process Seeds"
  43. -- Blips Process Apple Seeds
  44. Config.BlipPlantasMacas = vector3(352.43, 6520.76, 28.48)
  45. Config.BlipMacasName = "Farm Apples / Oranges"
  46. -- Blips Hens and Boars
  47. Config.BlipPlantasJavalis = vector3(2461.34, 4749.29, 34.3)
  48. Config.BlipJavalisName = "Farm Leather"
  49. -- Blips Process Tomato Seeds
  50. Config.BlipPlantasTomates = vector3(252.31, 6461.14, 31.36)
  51. Config.BlipTomatesName = "Farm Tomato"
  52. -- Blips Make Juices
  53. Config.BlipMakeJuices = "Make Juices"
  54. -- Blips Sell
  55. Config.BlipSellItemsName = "Farm Sell"
  56.  
  57. ----------------------
  58. -- Upgrades
  59. ----------------------
  60. Config.ItemNecessario1 = 'macas' -- Item needed for upgrade
  61. Config.ItemNecessario1Label = "Apple" -- Item label to look nice in the menu :D
  62. Config.ItemNecessario2 = 'laranjas' -- Item needed for upgrade
  63. Config.ItemNecessario2Label = "Orange" -- Item label to look nice in the menu :D
  64. Config.AmountItemNecessario1 = 50 -- Required amount of 1st item to upgrade.
  65. Config.AmountItemNecessario2 = 25 -- Required amount of 2st item to upgrade.
  66. ----------------------
  67. -- Car
  68. ----------------------
  69. Config.Fuel = "LegacyFuel" -- Name of your fuel script
  70. Config.VehicleKeysTrigger = "vehiclekeys:client:SetOwner" -- Trigger to give vehiclekeys
  71.  
  72. Config.Carros = {
  73. [1] = {carro = "tractor2"}, -- Name of tractor
  74. }
  75.  
  76. Config.SpawnTratoresSandyShores = { -- Locations to spawn car SandyShores
  77. [1] = {x = 2035.44, y = 4976.78, z = 41.02, h = 136.64},
  78. [2] = {x = 2046.24, y = 4977.37, z = 40.24, h = 136.64},
  79. -- You can add more
  80. }
  81.  
  82. Config.SpawnTratoresPaletoBay = { -- Locations to spawn car PaletoBay
  83. [1] = {x = 412.20, y = 6490.78, z = 28.30, h = 77.69},
  84. [2] = {x = 408.91, y = 6481.67, z = 28.81, h = 43.85},
  85. -- You can add more
  86. }
  87.  
  88. ----------------------
  89. -- Notifications
  90. ----------------------
  91. Config["Notificacoes"] = {
  92. ["FarAway"] = "You are too far way.",
  93. ["NoTrowler"] = "You dont have a towler!",
  94. ["Failed"] = "You failed!",
  95. ["BolsosCheios"] = "You have full pockets.",
  96. ["BrokePlant"] = "You Broke the plant..",
  97. ["WrongItems"] = "Wrong items.",
  98. ["MissingSomething"] = "Missing Something...",
  99. ["AllDone"] = "All Done!",
  100. ["NothingToSell"] = "You dont have anything to sell",
  101. ["SemEnxada"] = "You don't have a hoe with you.",
  102. ["SpawnBloqueado"] = "There is a vehicle blocking the spawn."
  103. }
  104.  
  105. ----------------------
  106. -- Progressbars
  107. ----------------------
  108. Config["ProgressBars"] = {
  109. ["ApanharCafe"] = "Picking up coffee seeds...",
  110. ["ApanharBatatas"] = "Picking up potato seeds...",
  111. ["ProcessarCafe"] = "Processing coffee seeds...",
  112. ["ProcessarBatatas"] = "Processing potato seeds...",
  113. ["ProcessarTomates"] = "Processing tomato seeds...",
  114. ["EmbalarMacas"] = "Packing the apples...",
  115. ["EmbalarLeite"] = "Packing the milk...",
  116. ["ApanharLeite"] = "Collecting the milk...",
  117. ["ApanharMacas"] = "Picking apples..",
  118. ["ApanharLaranjas"] = "Picking oranges..",
  119. ["ApanharMorangos"] = "Picking strawberries...",
  120. ["ApanharTomates"] = "Picking tomatoes...",
  121. ["ApanharBeef"] = "Picking up leather...",
  122. ["CortarCouro"] = "Cutting the leather...",
  123. }
  124.  
  125. ----------------------
  126. -- Targets
  127. ----------------------
  128. Config["Targets"] = {
  129. -- Harvest All Plants
  130. ["HarvestPlant"] = "Harvest Plant",
  131. ["IconHarvest"] = "fas fa-seedling",
  132. -- Harvest Seeds Coffee
  133. ["ApanharCafe"] = "Harvest Coffee Seeds",
  134. -- Harvest Seeds Strawberry
  135. ["ApanharMorangos"] = "Harvest Strawberry Seeds",
  136. -- Harvest Seeds Tomatoes
  137. ["ApanharTomates"] = "Harvest Tomatoes Seeds",
  138. -- Harvest Potatoes
  139. ["ApanharBatatas"] = "Harvest Potatoes Seeds",
  140. -- Process
  141. ["Processar"] = "Process",
  142. ["IconProcessar"] = "fas fa-seedling",
  143. -- Sell Items
  144. ["FalarArtista"] = "Talk with employee",
  145. ["IconFalarArtista"] = "fas fa-seedling",
  146. -- Take milk
  147. ["IconMilk"] = "Take Milk",
  148. ["TakeMilk"] = "fa-solid fa-blender",
  149. -- Take Apples
  150. ["TakeApples"] = "Pick Apples",
  151. ["IconApples"] = "fab fa-apple",
  152. -- Take Oranges
  153. ["TakeOranges"] = "Pick Oranges",
  154. ["IconOranges"] = "fab fa-apple",
  155. -- Make Juices
  156. ["MakeJuices"] = "Make Juices",
  157. ["IconJuices"] = "fa-solid fa-wine-glass",
  158. -- Hens and Boars
  159. ["TakeBeef"] = "Take Leather",
  160. ["IconBeef"] = "fas fa-hands",
  161. }
  162.  
  163.  
  164. ----------------------
  165. -- Menus
  166. ----------------------
  167. Config["QBMenus"] = {
  168. ["Processar"] = "[➿] Process",
  169. ["SubHeaderProcessar"] = "",
  170. ["ProcessarCafe"] = "[🌰] Process Coffee Seeds",
  171. ["ReceivedCafe"] = "You receive: 1x Coffee",
  172. ["ProcessarBatatas"] = "[🥭] Process Potato Seeds",
  173. ["ReceivedBatatas"] = "You receive: 1x Potatos",
  174. ["EmbalarLeite"] = "[🥛] Pack Milk",
  175. ["ReceivedMilk"] = "You receive: 1x Packaged Milk",
  176. ["EmbalarMacas"] = "[🍎] Pack apples",
  177. ["ReceivedMacas"] = "You receive: 1x Packaged Apples",
  178. ["ProcessarTomates"] = "[🍅] Process Tomato Seeds",
  179. ["ReceivedTomates"] = "You receive: 1x Tomatos",
  180. ["CortarCouro"] = "[🥧] Cut Leather",
  181. ["ReceivedCouro"] = "You receive: 1x Leather",
  182. ["Close"] = "[❌] Close",
  183.  
  184. -- Juices
  185. ["FazerSumos"] = "[🍸] Make Juices",
  186. ["VariosSumos"] = "You will need some ingredients",
  187. ["SumoMaca"] = "[🍎] Apple Juice",
  188. ["NecessarioSumoMaca"] = "Requires: 1x Apple",
  189. ["SumoMorango"] = "[🍓] Strawberry Juice",
  190. ["NecessarioSumoMorango"] = "Requires: 1x Strawberry",
  191. ["SumoLaranja"] = "[🍊] Orange Juice",
  192. ["NecessarioSumoLaranja"] = "Requires: 1x Orange",
  193.  
  194. -- General
  195. ["Empregado"] = "[🌾] Farm Employee",
  196. ["PrecisoHoe"] = "[🪒] I need a hoe!",
  197. ["UpgradeHoe"] = "[✅] I want to evolve my hoe!",
  198. ["PrecisoTrator"] = "[🚜] I need a tractor!",
  199. ["DevolverTrator"] = "[🚜] Deliver tractor",
  200. ["VenderMerdas"] = "[🌽] I want to sell crops!",
  201. ["Loja"] = "[📦] Open Shop",
  202.  
  203. -- Box's
  204. ["CaixaPequena"] = "[📦] Small Box",
  205. ["CaixaMedia"] = "[📦] Medium Box",
  206. ["CaixaGrande"] = "[📦] Big Box",
  207.  
  208. -- Upgrades
  209. ["Upgrades"] = "[✅] Upgrade Hoe",
  210. ["UpgradeLevel2"] = "[🪒] Upgrade to level 2",
  211. ["RequiredLevel2"] = "Required: <br>"..Config.AmountItemNecessario1.."x "..Config.ItemNecessario1Label.."<br>"..Config.AmountItemNecessario2.."x "..Config.ItemNecessario2Label,
  212. ["UpgradeLevel3"] = "[🪒] Upgrade to level 3",
  213. ["RequiredLevel3"] = "Required: <br>"..Config.AmountItemNecessario1.."x "..Config.ItemNecessario1Label.."<br>"..Config.AmountItemNecessario2.."x "..Config.ItemNecessario2Label,
  214. ["UpgradeLevel4"] = "[🪒] Upgrade to level 4",
  215. ["RequiredLevel4"] = "Required: <br>"..Config.AmountItemNecessario1.."x "..Config.ItemNecessario1Label.."<br>"..Config.AmountItemNecessario2.."x "..Config.ItemNecessario2Label,
  216. ["UpgradeLevel5"] = "[🪒] Upgrade to level 5",
  217. ["RequiredLevel5"] = "Required: <br>"..Config.AmountItemNecessario1.."x "..Config.ItemNecessario1Label.."<br>"..Config.AmountItemNecessario2.."x "..Config.ItemNecessario2Label,
  218.  
  219. -- Selling
  220. ["HeaderSellItems"] = "[💵] Sell Items",
  221. ["VenderCafe"] = "[🌰] Sell Coffee",
  222. ["TxtVenderCafe"] = "Price: $",
  223. ["VenderBatatas"] = "[🥭] Sell Tomatoes",
  224. ["TxtVenderBatatas"] = "Price: $",
  225. ["VenderMacas"] = "[🍎] Sell Apples",
  226. ["TxtVenderMacas"] = "Price: $",
  227. ["VenderMorangos"] = "[🍓] Sell Strawberries",
  228. ["TxtVenderMorangos"] = "Price: $",
  229. ["VenderLaranjas"] = "[🍊] Sell Oranges",
  230. ["TxtVenderLaranjas"] = "Price: $",
  231. ["VenderTomates"] = "[🍅] Sell Tomatoes",
  232. ["TxtVenderTomates"] = "Price: $",
  233. ["VenderLeite"] = "[🥛] Sell Milk",
  234. ["TxtVenderLeite"] = "Price: $",
  235. ["VenderLeather"] = "[🥧] Sell Leather",
  236. ["TxtVenderLeather"] = "Price: $",
  237. }
  238.  
  239. ----------------------
  240. -- Farms
  241. ----------------------
  242. Config.PlantasCafe = vector3(2298.27, 5140.95, 52.49) -- Farm Coffee Seeds
  243.  
  244. Config.PlantasBatatas = vector3(2138.98, 5143.56, 50.07) -- Farm Potatoes Seeds
  245.  
  246. Config.PlantasTomates = vector3(252.31, 6461.14, 31.36) -- Farm Tomatoes Seeds
  247.  
  248. Config.PlantasMorangos = vector3(268.2, 6651.71, 29.87) -- Farm Strawberry
  249.  
  250. Config["FarmApples"] = { -- Farm Apples
  251. [1] = { x = 378.07, y = 6505.42, z = 27.94},
  252. [2] = { x = 370.28, y = 6505.47, z = 28.41},
  253. [3] = { x = 363.26, y = 6505.29, z = 28.54},
  254. [4] = { x = 355.46, y = 6504.42, z = 28.46},
  255. [5] = { x = 339.73, y = 6504.96, z = 28.68},
  256. [6] = { x = 330.90, y = 6505.24, z = 28.57},
  257. [7] = { x = 321.85, y = 6504.96, z = 28.41},
  258. -- You can add more locations
  259. }
  260.  
  261. Config["FarmOranges"] = { -- Farm Oranges
  262. [1] = { x = 369.32, y = 6532.18, z = 28.37},
  263. [2] = { x = 361.44, y = 6531.89, z = 28.31},
  264. [3] = { x = 353.83, y = 6531.33, z = 28.33},
  265. [4] = { x = 345.46, y = 6531.96, z = 28.69},
  266. [5] = { x = 338.42, y = 6531.82, z = 28.55},
  267. [6] = { x = 329.45, y = 6531.52, z = 28.62},
  268. [7] = { x = 321.75, y = 6531.71, z = 29.19},
  269. -- You can add more locations
  270. }
  271.  
  272. Config["ProcessItems"] = { -- Process Items
  273. [1] = { x = 2407.35, y = 5018.57, z = 45.96},
  274. [2] = { x = 419.01, y = 6468.75, z = 28.82},
  275. -- You can add more locations
  276. }
  277.  
  278. Config["MakeJuices"] = { -- Make Juices
  279. [1] = { x = 2016.87, y = 4987.70, z = 42.10},
  280. [2] = { x = 406.10, y = 6526.17, z = 27.76},
  281. -- You can add more locations
  282. }
  283.  
  284. Config["SellItems"] = { -- Sell Items
  285. [1] = { x = 2033.39, y = 4980.46, z = 41.11},
  286. [2] = { x = 408.22, y = 6497.97, z = 26.75},
  287. -- You can add more locations
  288. }
  289.  
  290. -- Location of Cow's
  291. Config.LocationCow1 = vector3(2152.42, 4999.8, 41.37)
  292. Config.LocationCow2 = vector3(2149.68, 4992.2, 41.44)
  293. Config.LocationCow3 = vector3(2140.24, 4990.8, 41.45)
  294. Config.LocationCow4 = vector3(2140.65, 4981.1, 41.43)
  295. Config.LocationCow5 = vector3(2134.75, 4987.5, 41.41)
  296.  
  297. -- Location of Hen's
  298. Config.LocationHen1 = vector3(2424.94, 4781.22, 34.53)
  299. Config.LocationHen2 = vector3(2432.2, 4782.07, 34.54)
  300. Config.LocationHen3 = vector3(2437.54, 4778.92, 34.46)
  301. Config.LocationHen4 = vector3(2438.26, 4770.65, 34.33)
  302. Config.LocationHen5 = vector3(2437.15, 4762.92, 34.32)
  303.  
  304. -- Location of Boar's
  305. Config.LocationBoar1 = vector3(2434.65, 4746.07, 34.3)
  306. Config.LocationBoar2 = vector3(2451.58, 4740.61, 34.3)
  307. Config.LocationBoar3 = vector3(2467.54, 4742.31, 34.3)
  308. Config.LocationBoar4 = vector3(2474.4, 4750.43, 34.3)
  309. Config.LocationBoar5 = vector3(2480.67, 4738.83, 34.3)
  310.  
  311. ----------------------
  312. -- Peds
  313. ----------------------
  314. Config.PedList = { -- Peds that will be spawned in
  315. {
  316. model = "a_m_m_farmer_01",
  317. coords = vector3(2033.03, 4980.88, 40.11), -- NPC Sell
  318. heading = 224.61,
  319. gender = "male",
  320. scenario = "WORLD_HUMAN_STAND_MOBILE_UPRIGHT"
  321. },
  322. {
  323. model = "a_m_m_farmer_01",
  324. coords = vector3(408.22, 6497.97, 26.75), -- NPC Sell
  325. heading = 177.61,
  326. gender = "male",
  327. scenario = "WORLD_HUMAN_STAND_MOBILE_UPRIGHT"
  328. },
  329. {
  330. model = "a_m_m_farmer_01",
  331. coords = vector3(2016.39, 4987.70, 41.10), -- NPC Juices
  332. heading = 187.87,
  333. gender = "male",
  334. scenario = "WORLD_HUMAN_STAND_MOBILE_UPRIGHT"
  335. },
  336. {
  337. model = "a_m_m_farmer_01",
  338. coords = vector3(405.77, 6526.32, 26.71), -- NPC Juices
  339. heading = 83.42,
  340. gender = "male",
  341. scenario = "WORLD_HUMAN_STAND_MOBILE_UPRIGHT"
  342. },
  343. }
  344.  
  345. -----------------
  346. -- Box's
  347. -----------------
  348. Config.WeightSmallBox = 2500 -- Maximum weight of the small box.
  349. Config.SlotsSmallBox = 5 -- Maximum slots of the small box.
  350. Config.WeightMedBox = 5000 -- Maximum weight of the med box.
  351. Config.SlotsMedBox = 10 -- Maximum slots of the med box.
  352. Config.WeightBigBox = 7500 -- Maximum weight of the big box.
  353. Config.SlotsBigBox = 15 -- Maximum slots of the big box.
  354.  
  355. -----------------
  356. -- Shop
  357. -----------------
  358. Config.OpenInvTrigger = "inventory:server:OpenInventory"
  359. Config.ShopName = "Farming Shop"
  360. Config.Products = {
  361. ["Farming"] = {
  362. [1] = {
  363. name = "smallbox",
  364. price = 5,
  365. amount = 25,
  366. info = {},
  367. type = "item",
  368. slot = 1,
  369. },
  370. [2] = {
  371. name = "medbox",
  372. price = 5,
  373. amount = 25,
  374. info = {},
  375. type = "item",
  376. slot = 2,
  377. },
  378. [3] = {
  379. name = "bigbox",
  380. price = 5,
  381. amount = 25,
  382. info = {},
  383. type = "item",
  384. slot = 3,
  385. },
  386. -- You can add more items
  387. },
  388. }
  389.  
  390. Config.LojinhaFarming = {
  391. ["Farming"] = {
  392. ["label"] = "Farming",
  393. ["type"] = "BM",
  394. ["coords"] = {
  395. [1] = {
  396. ["x"] = 1333.06, -- Dont touch, is using qb-target.
  397. ["y"] = 4326.86, -- Dont touch, is using qb-target.
  398. ["z"] = 38.017, -- Dont touch, is using qb-target.
  399. },
  400. },
  401. ["CoisasBoas"] = Config.Products["Farming"],
  402. },
  403. }
Add Comment
Please, Sign In to add comment