Advertisement
_Blink

mission.lua

Jan 25th, 2018
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.94 KB | None | 0 0
  1.  
  2. local cfg = {}
  3.  
  4. cfg.lang = "en"
  5.  
  6. -- REPAIR
  7.  
  8. -- map of permission -> repair config
  9. -- (multiple repair permissions can work)
  10. --- chance: chance factor per minute (1 => everytime, 10 => 1/10)
  11. --- title
  12. --- positions
  13. --- reward: money reward
  14. --- steps: number of things to fix
  15. cfg.repair = {
  16. ["mission.repair.satellite_dishes"] = {
  17. chance = 5,
  18. title = "Consertar Satelites",
  19. steps = 3,
  20. positions = {
  21. {1985.55017089844,2929.42211914063,46.5480003356934},
  22. {1965.38012695313,2917.47241210938,56.1684608459473},
  23. {1963.78540039063,2923.09497070313,58.674430847168},
  24. {2000.7314453125,2930.4404296875,56.9706687927246},
  25. {2008.03125,2933.06591796875,59.4772453308105},
  26. {2021.29052734375,2945.23486328125,47.3697547912598},
  27. {2046.88366699219,2944.65673828125,51.0216827392578},
  28. {2048.24487304688,2950.81567382813,57.5155029296875},
  29. {2049.64965820313,2945.82641601563,57.5173225402832},
  30. {2043.96203613281,2945.04541015625,60.0233764648438},
  31. {2063.26318359375,2954.65551757813,47.1244201660156},
  32. {2078.7734375,2945.44653320313,56.4166870117188},
  33. {2084.89599609375,2949.8955078125,58.922477722168},
  34. {2075.71948242188,2950.55688476563,58.9233741760254},
  35. {2098.6142578125,2939.935546875,47.3400077819824},
  36. {2106.00659179688,2926.54125976563,50.9320068359375},
  37. {2106.63671875,2923.71069335938,57.4270858764648},
  38. {2106.38110351563,2929.37817382813,59.9300575256348},
  39. {2114.44677734375,2924.77514648438,59.933162689209},
  40. {2127.35888671875,2918.94116210938,47.7327079772949},
  41. {2137.28881835938,2900.53442382813,57.263298034668},
  42. {2137.61767578125,2906.61645507813,59.770336151123},
  43. {2144.6728515625,2900.85595703125,59.7593727111816}
  44. },
  45. reward = 1000
  46. },
  47. ["mission.repair.wind_turbines"] = {
  48. chance = 5,
  49. steps = 3,
  50. title = "Consertar Turbina de Vento",
  51. positions = {
  52. {2363.77880859375,2288.63891601563,94.252693176269},
  53. {2347.873046875,2237.5771484375,99.3171691894531},
  54. {2330.4150390625,2114.89965820313,108.288673400879},
  55. {2331.23291015625,2054.52392578125,103.90625},
  56. {2287.10668945313,2075.57153320313,122.888381958008},
  57. {2271.43725585938,1996.4248046875,132.123352050781},
  58. {2307.3681640625,1972.44323730469,131.318496704102},
  59. {2267.27758789063,1917.859375,123.269912719727},
  60. {2299.90209960938,1857.3779296875,106.976081848145},
  61. {2356.48413085938,1836.69982910156,102.337211608887}
  62. },
  63. reward = 1000
  64. }
  65. }
  66. -------bankdriver
  67. cfg.bankdriver = {
  68. ["mission.bankdriver.moneybank"] = {
  69. chance = 5,
  70. title = "Entregar Pacotes de Dinheiro",
  71. steps = 1,
  72. positions = {
  73. {-161.13385009766,-860.69409179688,29.488040924072},
  74. {-1071.6049804688,-857.49749755859,4.8673276901245},
  75. {-738.89025878906,-1502.5588378906,5.0005192756653},
  76. {2008.03125,2933.06591796875,59.4772453308105},
  77. {2021.29052734375,2945.23486328125,47.3697547912598},
  78. {2046.88366699219,2944.65673828125,51.0216827392578},
  79. {2048.24487304688,2950.81567382813,57.5155029296875},
  80. {2049.64965820313,2945.82641601563,57.5173225402832},
  81. {2043.96203613281,2945.04541015625,60.0233764648438},
  82. {2063.26318359375,2954.65551757813,47.1244201660156},
  83. {2078.7734375,2945.44653320313,56.4166870117188},
  84. {2084.89599609375,2949.8955078125,58.922477722168},
  85. {2075.71948242188,2950.55688476563,58.9233741760254},
  86. {2098.6142578125,2939.935546875,47.3400077819824},
  87. {2106.00659179688,2926.54125976563,50.9320068359375},
  88. {2106.63671875,2923.71069335938,57.4270858764648},
  89. {2106.38110351563,2929.37817382813,59.9300575256348},
  90. {2114.44677734375,2924.77514648438,59.933162689209},
  91. {2127.35888671875,2918.94116210938,47.7327079772949},
  92. {2137.28881835938,2900.53442382813,57.263298034668},
  93. {2137.61767578125,2906.61645507813,59.770336151123},
  94. {2144.6728515625,2900.85595703125,59.7593727111816}
  95. },
  96. reward = 2000
  97. },
  98. ["mission.bankdriver.moneybank2"] = {
  99. chance = 5,
  100. title = "Entregar Pacotes de Dinheiro",
  101. steps = 1,
  102. positions = {
  103. {-161.13385009766,-860.69409179688,29.488040924072},
  104. {-1071.6049804688,-857.49749755859,4.8673276901245},
  105. {2363.77880859375,2288.63891601563,94.252693176269},
  106. {2347.873046875,2237.5771484375,99.3171691894531},
  107. {2330.4150390625,2114.89965820313,108.288673400879},
  108. {2331.23291015625,2054.52392578125,103.90625},
  109. {2287.10668945313,2075.57153320313,122.888381958008},
  110. {2271.43725585938,1996.4248046875,132.123352050781},
  111. {2307.3681640625,1972.44323730469,131.318496704102},
  112. {2267.27758789063,1917.859375,123.269912719727},
  113. {2299.90209960938,1857.3779296875,106.976081848145}
  114. },
  115. reward = 2000
  116. }
  117.  
  118. }
  119. -- DELIVERY
  120.  
  121. local common_delivery_positions = {
  122. {-1087.20959472656,479.4970703125,81.5277786254883},
  123. {-1215.48083496094,457.809478759766,91.9756546020508},
  124. {-1277.36901855469,496.794769287109,97.8074340820313},
  125. {-1380.82360839844,474.517272949219,105.052627563477},
  126. {-1063.642578125,-1054.95007324219,2.15036153793335},
  127. {-1113.640625,-1068.970703125,2.15036201477051},
  128. {-1161.85144042969,-1099.05871582031,2.17665767669678}
  129. }
  130.  
  131. -- map of permission => delivery config
  132. --- items: map of idname => {min_amount,max_amount,reward_per_item}
  133. --- positions
  134. -- only one delivery permission can be used per player (no permission selection, only one will work)
  135. cfg.delivery = {
  136. ["mission.delivery.food"] = {
  137. title = "Entregar pedido do iFood",
  138. positions = common_delivery_positions,
  139. items = {
  140. ["tacos"] = {1,10,250},
  141. ["sandwich"] = {0,2,500},
  142. ["kebab"] = {0,1,1000},
  143. ["icetea"] = {1,10,250},
  144. ["water"] = {0,2,400},
  145. ["gocagola"] = {0,1,600}
  146. }
  147. }
  148. }
  149.  
  150. local common_drugseller_positions = {
  151. {-1087.20959472656,479.4970703125,81.5277786254883},
  152. {-1215.48083496094,457.809478759766,91.9756546020508},
  153. {-1277.36901855469,496.794769287109,97.8074340820313},
  154. {-1380.82360839844,474.517272949219,105.052627563477},
  155. {-1063.642578125,-1054.95007324219,2.15036153793335},
  156. {-1113.640625,-1068.970703125,2.15036201477051},
  157. {-1161.85144042969,-1099.05871582031,2.17665767669678}
  158. }
  159.  
  160. cfg.drugseller = {
  161. ["mission.drugseller.weed"] = {
  162. title = "Vender drogas aos clientes",
  163. positions = common_drugseller_positions,
  164. items = {
  165. ["weed"] = {1,10,500},
  166. ["cocaine"] = {1,10,600},
  167. ["lsd"] = {1,10,700}
  168. }
  169. }
  170. }
  171.  
  172. local common_factionmi_positions = {
  173. {1221.3558349609,-2999.6298828125,5.8653583526611},
  174. {-1202.7440185547,-1799.7713623047,3.9085767269135},
  175. {-1939.3858642578,551.45477294922,114.8283996582}
  176. }
  177.  
  178. cfg.factionmi = {
  179. ["mission.factionmi"] = {
  180. title = "Entregar mercadorias aos clientes",
  181. positions = common_factionmi_positions,
  182. items = {
  183. ["weed"] = {1,5,250},
  184. ["cocaine"] = {0,4,400},
  185. ["lsd"] = {0,2,700},
  186. ["AK47"] = {1,5,350},
  187. ["M4A1"] = {1,5,350}
  188. }
  189. }
  190. }
  191.  
  192. local common_factionpcg_positions = {
  193. {919.21667480469,-291.04168701172,65.729217529297},
  194. {1286.7436523438,-1604.2690429688,54.824893951416},
  195. {988.65637207031,-2421.5590820313,29.829107284546}
  196. }
  197.  
  198. cfg.factionpcg = {
  199. ["mission.factionpcg"] = {
  200. title = "Entregar mercadorias aos clientes",
  201. positions = common_factionpcg_positions,
  202. items = {
  203. ["weed"] = {1,5,250},
  204. ["cocaine"] = {0,4,400},
  205. ["lsd"] = {0,2,700},
  206. ["AK47"] = {1,5,350},
  207. ["M4A1"] = {1,5,350}
  208. }
  209. }
  210. }
  211.  
  212. local common_fisher_positions = {
  213. {1397.0802001953,3606.7141113281,34.980922698975},
  214. {1966.0919189453,3746.009765625,32.343746185303},
  215. {2678.9653320313,3288.4008789063,55.241153717041},
  216. {1168.3609619141,2708.5288085938,38.157703399658}
  217. }
  218.  
  219. cfg.fisherman = {
  220. ["mission.delivery.fish"] = {
  221. title = "Vender peixes aos clientes",
  222. positions = common_fisher_positions,
  223. items = {
  224. ["bass"] = {1,10,200},
  225. ["catfish"] = {1,10,200}
  226. }
  227. }
  228. }
  229.  
  230. local common_smuggler_positions = {
  231. {-569.02294921875,5253.2524414063,70.487228393555},
  232. {-1144.0905761719,4938.1181640625,222.26870727539},
  233. {-2612.7600097656,2949.5141601563,9.6540851593018}
  234. }
  235.  
  236. cfg.weapons_smuggler = {
  237. ["mission.weapons.smuggler"] = {
  238. title = "Vender armas aos clientes",
  239. positions = common_smuggler_positions,
  240. items = {
  241. ["AK47"] = {1,10,350},
  242. ["M4A1"] = {1,10,350}
  243. }
  244. }
  245. }
  246.  
  247. local common_medical_positions = {
  248. {326.83486938477,-1473.7293701172,29.795280456543}
  249. }
  250.  
  251. cfg.medical_driver = {
  252. ["mission.delivery.medical"] = {
  253. title = "Entregar maconha medicinal",
  254. positions = common_medical_positions,
  255. items = {
  256. ["Medical Weed"] = {1,10,350}
  257. }
  258. }
  259. }
  260.  
  261. local common_santa_positions = {
  262. {2543.1989746094,-453.29135131836,93.009101867676}
  263. }
  264.  
  265. cfg.santa = {
  266. ["mission.santa"] = {
  267. title = "Santa",
  268. positions = common_santa_positions,
  269. items = {
  270. ["Presents"] = {1,10,350}
  271. }
  272. }
  273. }
  274.  
  275. local common_pilot_positions = {
  276. {2143.0698242188,4811.3764648438,41.179256439209},
  277. {1702.8529052734,3251.9147949219,40.986331939697}
  278. }
  279.  
  280. cfg.pilot = {
  281. ["mission.pilot.cargo"] = {
  282. title = "Airline Cargo",
  283. positions = common_pilot_positions,
  284. items = {
  285. ["cargo"] = {1,10,350}
  286. }
  287. }
  288. }
  289.  
  290. local common_hacker_positions = {
  291. {-1087.20959472656,479.4970703125,81.5277786254883},
  292. {-1215.48083496094,457.809478759766,91.9756546020508},
  293. {-1277.36901855469,496.794769287109,97.8074340820313},
  294. {-1380.82360839844,474.517272949219,105.052627563477},
  295. {-1063.642578125,-1054.95007324219,2.15036153793335},
  296. {-1113.640625,-1068.970703125,2.15036201477051},
  297. {-1161.85144042969,-1099.05871582031,2.17665767669678}
  298. }
  299.  
  300. cfg.hacker = {
  301. ["mission.hacker.information"] = {
  302. title = "Vender cartoes clonados",
  303. positions = common_hacker_positions,
  304. items = {
  305. ["credit"] = {1,10,500}
  306. }
  307. }
  308. }
  309.  
  310. return cfg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement