Advertisement
Guest User

m-BeanMachine

a guest
May 11th, 2022
1,005
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.14 KB | None | 0 0
  1.  
  2. Config = {}
  3.  
  4. --------------------------
  5. -- Utility
  6. --------------------------
  7. Config.Framework = "NEW" -- "NEW" - New QBCore | "OLD" - Old QBCore
  8. Config.CoreName = "qb-core" -- Core name
  9. Config.Job = "beanmachine" -- Job
  10. Config.Target = "qb-target" -- Name of your resource qb-target
  11. Config.Input = "qb-input" -- Name of your resource qb-input
  12. Config.CustomSounds = true -- Enable custom sounds? Example: Coffee
  13. Config.RefreshPhone = "qb-phone:RefreshPhone"
  14. Config.InvLink = "qb-inventory/html/images/"
  15. Config.InventoryTrigger = "inventory:client:ItemBox"
  16. Config.ToggleDuty = "QBCore:ToggleDuty"
  17. Config.TriggerSound = "InteractSound_SV:PlayOnSource"
  18. Config.VolumeSound = 0.5
  19.  
  20. --------------------------
  21. -- Blip
  22. --------------------------
  23. Config.Blip = {
  24. Enable = true,
  25. Location = vector3(120.43, -1032.02, 29.28),
  26. Sprite = 266,
  27. Display = 2,
  28. Scale = 0.8,
  29. Colour = 44,
  30. Name = "BeanMachine",
  31. }
  32.  
  33. --------------------------
  34. -- Stash
  35. --------------------------
  36. Config.Stash = {
  37. StashInvTrigger = "inventory:client:SetCurrentStash",
  38. OpenInvTrigger = "inventory:server:OpenInventory",
  39. NameOfStash = "beanmachinestash",
  40. MaxWeighStash = 50000,
  41. MaxSlotsStash = 50,
  42. }
  43.  
  44.  
  45. --------------------------
  46. -- Billing
  47. --------------------------
  48. Config.Billing = {
  49. EnableCommand = true,
  50. Command = "billingbean",
  51. }
  52.  
  53. --------------------------
  54. -- Language
  55. --------------------------
  56. Language = {
  57. Targets = {
  58. Coffee = {
  59. Icon = "fas fa-box-open",
  60. Label = "Coffee",
  61. Location = vector3(124.6, -1036.86, 29.28),
  62. },
  63. NaturalJuices = {
  64. Icon = "fas fa-box-open",
  65. Label = "Natural Juices",
  66. Location = vector3(126.06, -1036.57, 29.28),
  67. },
  68. Juices = {
  69. Icon = "fas fa-box-open",
  70. Label = "Juices",
  71. Location = vector3(123.57, -1042.66, 29.28),
  72. },
  73. WashHandes = {
  74. Icon = "fa-solid fa-hands",
  75. Label = "Wash Handes",
  76. Location = vector3(123.92, -1039.34, 29.28),
  77. },
  78. Fruits = {
  79. Icon = "fas fa-box-open",
  80. Label = "Fruits",
  81. Location = vector3(119.99, -1043.67, 29.28),
  82. },
  83. AirConditioning = {
  84. Icon = "fa-solid fa-temperature-low",
  85. Label = "Manage Temperature",
  86. Location = vector3(127.97, -1032.52, 29.28),
  87. },
  88. Duty ={
  89. Icon = "fa-solid fa-clipboard",
  90. Label = "On/off Duty",
  91. Location = vector3(126.95, -1035.58, 29.28),
  92. },
  93. Boss ={
  94. Icon = "fa-solid fa-clipboard",
  95. Label = "Boss Menu",
  96. },
  97. Billing = {
  98. Icon = "fa-solid fa-money-bill",
  99. Label = "Invoices",
  100. Location = vector3(122.19, -1036.56, 29.28),
  101. },
  102. Billing2 = {
  103. Icon = "fa-solid fa-money-bill",
  104. Label = "Invoices",
  105. Location = vector3(120.79, -1040.12, 29.28),
  106. },
  107. Donuts = {
  108. Icon = "fa-solid fa-d",
  109. Label = "Donuts",
  110. Location = vector3(121.4, -1038.43, 29.28),
  111. },
  112. Chocolate = {
  113. Icon = "fa-solid fa-d",
  114. Label = "Chocolate",
  115. Location = vector3(120.4, -1042.05, 29.28),
  116. },
  117. Armario = {
  118. Icon = "fas fa-box-open",
  119. Label = "ArmΓ‘rio",
  120. Location = vector3(124.16, -1037.84, 29.28),
  121. },
  122. Menu = {
  123. Icon = "fas fa-bars",
  124. Label = "Menu",
  125. }
  126. },
  127. ProgressBars = {
  128. TakeCoffee = {
  129. Label = "Having a coffee...",
  130. Time = 7000,
  131. Animation = "anim@amb@nightclub@mini@drinking@drinking_shots@ped_a@normal",
  132. SubAnimation = "pour_one",
  133. },
  134. TakeOrange = {
  135. Label = "Picking up an orange...",
  136. Time = 4000,
  137. Animation = "anim@amb@nightclub@mini@drinking@drinking_shots@ped_a@normal",
  138. SubAnimation = "pour_one",
  139. },
  140. TakeApple = {
  141. Label = "Picking up an apple...",
  142. Time = 4000,
  143. Animation = "anim@amb@nightclub@mini@drinking@drinking_shots@ped_a@normal",
  144. SubAnimation = "pour_one",
  145. },
  146. TakeStrawberry = {
  147. Label = "Picking up an apple...",
  148. Time = 4000,
  149. Animation = "anim@amb@nightclub@mini@drinking@drinking_shots@ped_a@normal",
  150. SubAnimation = "pour_one",
  151. },
  152. TakeMango = {
  153. Label = "Picking up a mango...",
  154. Time = 4000,
  155. Animation = "anim@amb@nightclub@mini@drinking@drinking_shots@ped_a@normal",
  156. SubAnimation = "pour_one",
  157. },
  158. Temperature = {
  159. Label = "Checking the temperature...",
  160. Time = 4000,
  161. Animation = "anim@amb@nightclub@mini@drinking@drinking_shots@ped_a@normal",
  162. SubAnimation = "pour_one",
  163. },
  164. RaiseTemperature = {
  165. Label = "Increasing the temperature...",
  166. Time = 4000,
  167. Animation = "anim@amb@nightclub@mini@drinking@drinking_shots@ped_a@normal",
  168. SubAnimation = "pour_one",
  169. },
  170. DecreaseTemperature = {
  171. Label = "Lowering the temperature...",
  172. Time = 4000,
  173. Animation = "anim@amb@nightclub@mini@drinking@drinking_shots@ped_a@normal",
  174. SubAnimation = "pour_one",
  175. },
  176. WashHandes = {
  177. Label = "Washing hands...",
  178. Time = 4000,
  179. Animation = "mp_arresting",
  180. SubAnimation = "a_uncuff",
  181. },
  182. SimpleDonuts = {
  183. Label = "Picking up a simple donut...",
  184. Time = 2000,
  185. Animation = "anim@amb@clubhouse@bar@drink@idle_a",
  186. SubAnimation = "idle_a_bartender",
  187. },
  188. ChocolateDonuts = {
  189. Label = "Picking up a chocolate donut...",
  190. Time = 2000,
  191. Animation = "anim@amb@clubhouse@bar@drink@idle_a",
  192. SubAnimation = "idle_a_bartender",
  193. },
  194. StrawberryDonuts = {
  195. Label = "Picking up a strawberry donut...",
  196. Time = 2000,
  197. Animation = "anim@amb@clubhouse@bar@drink@idle_a",
  198. SubAnimation = "idle_a_bartender",
  199. },
  200. IceTeaManga = {
  201. Label = "Picking up a mango ice tea...",
  202. Time = 2000,
  203. Animation = "anim@amb@clubhouse@bar@drink@idle_a",
  204. SubAnimation = "idle_a_bartender",
  205. },
  206. IceTeaLimao = {
  207. Label = "Picking up a limon ice tea...",
  208. Time = 2000,
  209. Animation = "anim@amb@clubhouse@bar@drink@idle_a",
  210. SubAnimation = "idle_a_bartender",
  211. },
  212. IceTeaPessego = {
  213. Label = "Picking up a peach ice tea...",
  214. Time = 2000,
  215. Animation = "anim@amb@clubhouse@bar@drink@idle_a",
  216. SubAnimation = "idle_a_bartender",
  217. },
  218. CocaColaLife = {
  219. Label = "Picking up a life coca-cola...",
  220. Time = 2000,
  221. Animation = "anim@amb@clubhouse@bar@drink@idle_a",
  222. SubAnimation = "idle_a_bartender",
  223. },
  224. CocaColaNormal = {
  225. Label = "Picking up a normal coca-cola...",
  226. Time = 2000,
  227. Animation = "anim@amb@clubhouse@bar@drink@idle_a",
  228. SubAnimation = "idle_a_bartender",
  229. },
  230. CocaColaZero = {
  231. Label = "Picking up a zero coca-cola...",
  232. Time = 2000,
  233. Animation = "anim@amb@clubhouse@bar@drink@idle_a",
  234. SubAnimation = "idle_a_bartender",
  235. },
  236. CocaColaLight = {
  237. Label = "Picking up a light coca-cola...",
  238. Time = 2000,
  239. Animation = "anim@amb@clubhouse@bar@drink@idle_a",
  240. SubAnimation = "idle_a_bartender",
  241. },
  242. CompalPessego = {
  243. Label = "Picking up a peach compal...",
  244. Time = 2000,
  245. Animation = "anim@amb@clubhouse@bar@drink@idle_a",
  246. SubAnimation = "idle_a_bartender",
  247. },
  248. CompalMaca = {
  249. Label = "Picking up a apple compal...",
  250. Time = 2000,
  251. Animation = "anim@amb@clubhouse@bar@drink@idle_a",
  252. SubAnimation = "idle_a_bartender",
  253. },
  254. CompalMangaLaranja = {
  255. Label = "Picking up a mango and orange compal...",
  256. Time = 2000,
  257. Animation = "anim@amb@clubhouse@bar@drink@idle_a",
  258. SubAnimation = "idle_a_bartender",
  259. },
  260. CompalFrutosVermelhos = {
  261. Label = "Picking up a red fruits compal...",
  262. Time = 2000,
  263. Animation = "anim@amb@clubhouse@bar@drink@idle_a",
  264. SubAnimation = "idle_a_bartender",
  265. },
  266. SumolLimao = {
  267. Label = "Picking up a limon sumol...",
  268. Time = 2000,
  269. Animation = "anim@amb@clubhouse@bar@drink@idle_a",
  270. SubAnimation = "idle_a_bartender",
  271. },
  272. SumolLaranja = {
  273. Label = "Picking up a orange sumol...",
  274. Time = 2000,
  275. Animation = "anim@amb@clubhouse@bar@drink@idle_a",
  276. SubAnimation = "idle_a_bartender",
  277. },
  278. SumolAnanas = {
  279. Label = "Picking up a pineapple sumol...",
  280. Time = 2000,
  281. Animation = "anim@amb@clubhouse@bar@drink@idle_a",
  282. SubAnimation = "idle_a_bartender",
  283. },
  284. SumoLaranja = {
  285. Label = "Picking up a orange juice...",
  286. Time = 2000,
  287. Animation = "anim@amb@clubhouse@bar@drink@idle_a",
  288. SubAnimation = "idle_a_bartender",
  289. },
  290. SumoMaca = {
  291. Label = "Picking up a apple juice...",
  292. Time = 2000,
  293. Animation = "anim@amb@clubhouse@bar@drink@idle_a",
  294. SubAnimation = "idle_a_bartender",
  295. },
  296. SumoMorangos = {
  297. Label = "Picking up a strawberry juice...",
  298. Time = 2000,
  299. Animation = "anim@amb@clubhouse@bar@drink@idle_a",
  300. SubAnimation = "idle_a_bartender",
  301. },
  302. SumoManga = {
  303. Label = "Picking up a mango juice...",
  304. Time = 2000,
  305. Animation = "anim@amb@clubhouse@bar@drink@idle_a",
  306. SubAnimation = "idle_a_bartender",
  307. },
  308. MilkaOreo = {
  309. Label = "Picking up a milka oreo...",
  310. Time = 2000,
  311. Animation = "anim@amb@clubhouse@bar@drink@idle_a",
  312. SubAnimation = "idle_a_bartender",
  313. },
  314. MilkaCaramelo = {
  315. Label = "Picking up a caramel milka...",
  316. Time = 2000,
  317. Animation = "anim@amb@clubhouse@bar@drink@idle_a",
  318. SubAnimation = "idle_a_bartender",
  319. },
  320. MilkaChocolateBranco = {
  321. Label = "Picking up a white chocolate milka...",
  322. Time = 2000,
  323. Animation = "anim@amb@clubhouse@bar@drink@idle_a",
  324. SubAnimation = "idle_a_bartender",
  325. },
  326. },
  327. QBMenu = {
  328. Juices = {
  329. Header = "🍹 Juices",
  330. IceTea = "Ice Tea",
  331. CocaCola = "Coca-Cola",
  332. Compal = "Compal",
  333. Sumol = "Sumol",
  334. Natural = "Natural Juices",
  335. Close = "[❌] Close"
  336. },
  337. IceTea = {
  338. Header = "🍹 Ice Tea",
  339. Mango = "Ice Tea Lipton Mango",
  340. Limon = "Ice Tea Lipton Limon",
  341. Peach = "Ice Tea Lipton Peach",
  342. Back = "[❌] Back"
  343. },
  344. CocaCola = {
  345. Header = "🍹 Coca Cola",
  346. Life = "Coca Cola Life",
  347. Normal = "Coca Cola Normal",
  348. Zero = "Coca Cola Zero",
  349. Light = "Coca Cola Light",
  350. Back = "[❌] Back"
  351. },
  352. Compal = {
  353. Header = "🍹 Compal",
  354. Peach = "Compal Peach",
  355. Apple = "Compal Apple",
  356. MangoOrange = "Compal Mango-Orange",
  357. RedFruits = "Compal Red Fruits",
  358. Back = "[❌] Back",
  359. },
  360. Sumol = {
  361. Header = "🍹 Sumol",
  362. Limon = "Lemon Sumol",
  363. Orange = "Orange Sumol",
  364. Pineapple = "Pineapple Sumol",
  365. Passion = "Sumol Passion Fruit",
  366. Back = "[❌] Back",
  367. },
  368. Natural = {
  369. Header = "🍹 Natural Juices",
  370. Orange = "Orange Juice",
  371. Apple = "Apple Juice",
  372. OrangeStrawberry = "Orange Juice with Strawberries",
  373. Mango = "Mango Juice",
  374. Back = "[❌] Back",
  375. },
  376. Fruits = {
  377. Header = "🍎 Fruits",
  378. Orange = "Orange",
  379. Apple = "Apple",
  380. Strawberry = "Strawberrie",
  381. Mango = "Mango",
  382. Close = "[❌] Close"
  383. },
  384. AirConditioning = {
  385. Header = "🌑️ Temperature",
  386. CheckAir = "[🌑️] Check Temperature",
  387. UpAir = "[πŸ”₯] Raise Temperature",
  388. DownAir = "[❄️] Decrease Temperature",
  389. Close = "[❌] Close",
  390. },
  391. Donuts = {
  392. Header = "🍩 Donuts",
  393. Simple = "Simple Donuts",
  394. Chocolate = "Chocolate covered donuts",
  395. Strawberry = "Donuts with strawberry topping",
  396. Close = "[❌] Close",
  397. },
  398. Chocolate = {
  399. Header = "🍫 Chocolates",
  400. SimpleMilka = "Milka Oreo",
  401. MilkaCaramel = "Milka Caramel",
  402. MilkaChocWhite = "Milka Chocolate Branco",
  403. Close = "[❌] Close",
  404. },
  405. },
  406. QBInput = {
  407. Billing = {
  408. Header = "Billing",
  409. Submit = "Send Invoice",
  410. ID = "Paypal ID",
  411. Amount = "Amount",
  412. }
  413. },
  414. Notify = {
  415. Billing = {
  416. Send = "Invoice sent successfully.",
  417. HigherValue = "Must be a valid value above 0.",
  418. InvoiceOwn = "You can't bill yourself.",
  419. PlayerOffline = "Player unavailable.",
  420. NoPermission = "You don't have permissions.",
  421. InvoiceReceived = "New invoice received.",
  422. },
  423. General = {
  424. MissingIngredients = "NΓ£o tens os ingredientes.",
  425. Canceled = "Canceled.",
  426. }
  427. }
  428. }
  429.  
  430. --------------------------
  431. -- Shop
  432. --------------------------
  433. Config.Items = {
  434. [1] = {
  435. name = "sugar",
  436. price = 0,
  437. amount = 10,
  438. info = {},
  439. type = "item",
  440. slot = 1,
  441. },
  442. [2] = {
  443. name = "water_bottle",
  444. price = 0,
  445. amount = 10,
  446. info = {},
  447. type = "item",
  448. slot = 2,
  449. },
  450. [3] = {
  451. name = "gelo",
  452. price = 0,
  453. amount = 10,
  454. info = {},
  455. type = "item",
  456. slot = 3,
  457. },
  458. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement