AoD_Talons

cfg/Missions

Feb 15th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.61 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 = "satellite dishes",
  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 = "wind turbines",
  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 = "Bank Driver",
  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 = 500
  97. },
  98. ["mission.bankdriver.moneybank2"] = {
  99. chance = 5,
  100. title = "Bank Driver",
  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 = 500
  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. positions = common_delivery_positions,
  138. items = {
  139. ["tacos"] = {0,8,500},
  140. ["water"] = {0,8,350}
  141. }
  142. }
  143. }
  144.  
  145. local common_drugseller_positions = {
  146. {-1087.20959472656,479.4970703125,81.5277786254883},
  147. {-1215.48083496094,457.809478759766,91.9756546020508},
  148. {-1277.36901855469,496.794769287109,97.8074340820313},
  149. {-1380.82360839844,474.517272949219,105.052627563477},
  150. {-1063.642578125,-1054.95007324219,2.15036153793335},
  151. {-1113.640625,-1068.970703125,2.15036201477051},
  152. {-1161.85144042969,-1099.05871582031,2.17665767669678}
  153. }
  154.  
  155. cfg.drugseller = {
  156. ["mission.drugseller.weed"] = {
  157. title = "Drug Dealer",
  158. positions = common_drugseller_positions,
  159. items = {
  160. ["weed"] = {1,10,500},
  161. ["cocaine"] = {1,7,600},
  162. ["lsd"] = {1,5,700}
  163. }
  164. }
  165. }
  166.  
  167. local common_fisher_positions = {
  168. {1397.0802001953,3606.7141113281,34.980922698975},
  169. {1966.0919189453,3746.009765625,32.343746185303},
  170. {2678.9653320313,3288.4008789063,55.241153717041},
  171. {1168.3609619141,2708.5288085938,38.157703399658}
  172. }
  173.  
  174. cfg.fisherman = {
  175. ["mission.delivery.fish"] = {
  176. title = "Fishing",
  177. positions = common_fisher_positions,
  178. items = {
  179. ["bass"] = {1,8,200},
  180. ["catfish"] = {1,8,200}
  181. }
  182. }
  183. }
  184.  
  185. local common_smuggler_positions = {
  186. {-569.02294921875,5253.2524414063,70.487228393555},
  187. {-1144.0905761719,4938.1181640625,222.26870727539},
  188. {-2612.7600097656,2949.5141601563,9.6540851593018}
  189. }
  190.  
  191. cfg.weapons_smuggler = {
  192. ["mission.weapons.smuggler"] = {
  193. title = "Weapons Smuggler",
  194. positions = common_smuggler_positions,
  195. items = {
  196. ["AK47"] = {1,5,350},
  197. ["M4A1"] = {1,5,350}
  198. }
  199. }
  200. }
  201.  
  202. local common_medical_positions = {
  203. {326.83486938477,-1473.7293701172,29.795280456543}
  204. }
  205.  
  206. cfg.medical_driver = {
  207. ["mission.delivery.medical"] = {
  208. title = "Medical Delivery",
  209. positions = common_medical_positions,
  210. items = {
  211. ["Medical Weed"] = {1,10,350}
  212. }
  213. }
  214. }
  215.  
  216. local common_santa_positions = {
  217. {2543.1989746094,-453.29135131836,93.009101867676}
  218. }
  219.  
  220. cfg.santa = {
  221. ["mission.santa"] = {
  222. title = "Santa",
  223. positions = common_santa_positions,
  224. items = {
  225. ["Presents"] = {1,10,350}
  226. }
  227. }
  228. }
  229.  
  230. local common_pilot_positions = {
  231. {2143.0698242188,4811.3764648438,41.179256439209},
  232. {1702.8529052734,3251.9147949219,40.986331939697}
  233. }
  234.  
  235. cfg.pilot = {
  236. ["mission.pilot.cargo"] = {
  237. title = "Airline Cargo",
  238. positions = common_pilot_positions,
  239. items = {
  240. ["cargo"] = {1,10,350}
  241. }
  242. }
  243. }
  244.  
  245. local common_hacker_positions = {
  246. {-1087.20959472656,479.4970703125,81.5277786254883},
  247. {-1215.48083496094,457.809478759766,91.9756546020508},
  248. {-1277.36901855469,496.794769287109,97.8074340820313},
  249. {-1380.82360839844,474.517272949219,105.052627563477},
  250. {-1063.642578125,-1054.95007324219,2.15036153793335},
  251. {-1113.640625,-1068.970703125,2.15036201477051},
  252. {-1161.85144042969,-1099.05871582031,2.17665767669678}
  253. }
  254.  
  255. cfg.hacker = {
  256. ["mission.hacker.information"] = {
  257. positions = common_hacker_positions,
  258. items = {
  259. ["credit"] = {1,5,500}
  260. }
  261. }
  262. }
  263.  
  264. return cfg
Advertisement
Add Comment
Please, Sign In to add comment