9
3

asmallcoastalcrab.lua 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434
  1. --[[
  2. Script Name : SpawnScripts/IsleRefuge1/asmallcoastalcrab.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.09.05 05:09:46
  5. Script Purpose : Pulled from Rylec's locations on QueensColony
  6. :
  7. --]]
  8. function spawn(NPC)
  9. waypoints(NPC)
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function waypoints(NPC)
  15. if GetSpawnLocationID(NPC) == 133774736 then
  16. MovementLoopAddLocation(NPC, -46.29, -8.62, 202.88, 1, math.random(10, 20))
  17. MovementLoopAddLocation(NPC, -54.23, -7.85, 214.12, 1, math.random(10, 20))
  18. MovementLoopAddLocation(NPC, -52.21, -8.07, 208.63, 1, 0)
  19. MovementLoopAddLocation(NPC, -52.19, -8.47, 206.83, 1, math.random(10, 20))
  20. MovementLoopAddLocation(NPC, -53.11, -8.10, 207.86, 1, 0)
  21. MovementLoopAddLocation(NPC, -57.63, -8.20, 211.73, 1, 0)
  22. MovementLoopAddLocation(NPC, -59.43, -8.58, 213.08, 1, math.random(10, 20))
  23. MovementLoopAddLocation(NPC, -58.24, -8.68, 210.06, 1, math.random(10, 20))
  24. MovementLoopAddLocation(NPC, -61.68, -9.83, 209.94, 1, math.random(10, 20))
  25. MovementLoopAddLocation(NPC, -60.21, -9.37, 210.08, 1, 0)
  26. MovementLoopAddLocation(NPC, -50.18, -8.24, 214.05, 1, math.random(10, 20))
  27. elseif GetSpawnLocationID(NPC) == 133774737 then
  28. MovementLoopAddLocation(NPC, -42.96, -4.92, 209.22, 1, math.random(10, 20))
  29. MovementLoopAddLocation(NPC, -44.44, -5.93, 207.51, 1, 0)
  30. MovementLoopAddLocation(NPC, -45.33, -6.69, 206.83, 1, math.random(10, 20))
  31. MovementLoopAddLocation(NPC, -57.25, -8.09, 213.98, 1, math.random(10, 20))
  32. MovementLoopAddLocation(NPC, -56.21, -7.98, 215.67, 1, 0)
  33. MovementLoopAddLocation(NPC, -56.29, -8.36, 218.24, 1, math.random(10, 20))
  34. MovementLoopAddLocation(NPC, -55.15, -7.82, 214.00, 1, math.random(10, 20))
  35. MovementLoopAddLocation(NPC, -57.43, -8.32, 210.77, 1, math.random(10, 20))
  36. MovementLoopAddLocation(NPC, -52.60, -8.03, 208.28, 1, 0)
  37. MovementLoopAddLocation(NPC, -47.96, -8.43, 204.32, 1, 0)
  38. MovementLoopAddLocation(NPC, -46.79, -8.37, 203.75, 1, 0)
  39. MovementLoopAddLocation(NPC, -45.17, -8.99, 201.82, 1, math.random(10, 20))
  40. MovementLoopAddLocation(NPC, -45.77, -8.71, 202.42, 1, 0)
  41. MovementLoopAddLocation(NPC, -47.36, -9.08, 202.50, 1, math.random(10, 20))
  42. MovementLoopAddLocation(NPC, -47.01, -8.51, 203.49, 1, 0)
  43. MovementLoopAddLocation(NPC, -44.16, -6.81, 206.04, 1, 0)
  44. MovementLoopAddLocation(NPC, -43.74, -5.31, 207.99, 1, 0)
  45. elseif GetSpawnLocationID(NPC) == 133774738 then
  46. MovementLoopAddLocation(NPC, -55.17, -8.35, 219.01, 1, math.random(10, 20))
  47. MovementLoopAddLocation(NPC, -57.67, -8.41, 210.61, 1, 0)
  48. MovementLoopAddLocation(NPC, -58.46, -9.14, 208.98, 1, math.random(10, 20))
  49. MovementLoopAddLocation(NPC, -52.14, -8.04, 209.99, 1, math.random(10, 20))
  50. MovementLoopAddLocation(NPC, -52.18, -8.02, 216.00, 1, math.random(10, 20))
  51. MovementLoopAddLocation(NPC, -54.28, -8.63, 207.03, 1, math.random(10, 20))
  52. MovementLoopAddLocation(NPC, -52.38, -8.17, 207.80, 1, 0)
  53. MovementLoopAddLocation(NPC, -49.31, -8.41, 208.89, 1, math.random(10, 20))
  54. MovementLoopAddLocation(NPC, -47.84, -6.82, 209.67, 1, 0)
  55. MovementLoopAddLocation(NPC, -44.44, -4.90, 212.81, 1, math.random(10, 20))
  56. MovementLoopAddLocation(NPC, -45.27, -5.30, 214.09, 1, math.random(10, 20))
  57. MovementLoopAddLocation(NPC, -49.24, -8.23, 215.67, 1, 0)
  58. MovementLoopAddLocation(NPC, -52.03, -8.05, 216.82, 1, 0)
  59. elseif GetSpawnLocationID(NPC) == 133774739 then
  60. MovementLoopAddLocation(NPC, -61.11, -9.43, 210.91, 1, math.random(10, 20))
  61. MovementLoopAddLocation(NPC, -59.83, -8.73, 211.54, 1, 0)
  62. MovementLoopAddLocation(NPC, -58.87, -8.44, 212.25, 1, 0)
  63. MovementLoopAddLocation(NPC, -55.22, -7.82, 214.03, 1, math.random(10, 20))
  64. MovementLoopAddLocation(NPC, -56.17, -7.87, 212.97, 1, 0)
  65. MovementLoopAddLocation(NPC, -58.12, -8.29, 211.89, 1, 0)
  66. MovementLoopAddLocation(NPC, -59.17, -8.69, 210.85, 1, math.random(10, 20))
  67. MovementLoopAddLocation(NPC, -58.11, -8.70, 209.87, 1, 0)
  68. MovementLoopAddLocation(NPC, -46.48, -8.26, 203.89, 1, math.random(10, 20))
  69. MovementLoopAddLocation(NPC, -43.24, -8.45, 202.82, 1, math.random(10, 20))
  70. MovementLoopAddLocation(NPC, -56.04, -8.05, 216.26, 1, 0)
  71. MovementLoopAddLocation(NPC, -57.81, -8.53, 218.41, 1, 0)
  72. MovementLoopAddLocation(NPC, -58.34, -8.85, 219.32, 1, 0)
  73. MovementLoopAddLocation(NPC, -59.41, -9.46, 220.19, 1, math.random(10, 20))
  74. MovementLoopAddLocation(NPC, -57.98, -8.60, 218.81, 1, 0)
  75. MovementLoopAddLocation(NPC, -47.72, -8.66, 203.40, 1, 0)
  76. MovementLoopAddLocation(NPC, -47.26, -9.67, 201.70, 1, math.random(10, 20))
  77. MovementLoopAddLocation(NPC, -47.65, -6.91, 215.31, 1, math.random(10, 20))
  78. MovementLoopAddLocation(NPC, -52.38, -8.00, 216.04, 1, 0)
  79. MovementLoopAddLocation(NPC, -56.56, -8.41, 218.44, 1, 0)
  80. MovementLoopAddLocation(NPC, -58.40, -8.85, 219.25, 1, math.random(10, 20))
  81. MovementLoopAddLocation(NPC, -48.89, -8.33, 209.68, 1, 0)
  82. MovementLoopAddLocation(NPC, -46.31, -6.10, 208.97, 1, math.random(10, 20))
  83. MovementLoopAddLocation(NPC, -47.16, -6.14, 213.70, 1, math.random(10, 20))
  84. MovementLoopAddLocation(NPC, -52.24, -8.02, 216.43, 1, 0)
  85. MovementLoopAddLocation(NPC, -54.11, -8.12, 218.06, 1, math.random(10, 20))
  86. elseif GetSpawnLocationID(NPC) == 133774740 then
  87. MovementLoopAddLocation(NPC, -53.42, -7.88, 214.04, 1, math.random(10, 20))
  88. MovementLoopAddLocation(NPC, -46.27, -8.52, 203.13, 1, math.random(10, 20))
  89. MovementLoopAddLocation(NPC, -46.82, -5.67, 210.62, 1, 0)
  90. MovementLoopAddLocation(NPC, -49.02, -8.23, 211.02, 1, math.random(10, 20))
  91. MovementLoopAddLocation(NPC, -56.17, -7.91, 211.90, 1, math.random(10, 20))
  92. MovementLoopAddLocation(NPC, -42.10, -7.65, 204.79, 1, math.random(10, 20))
  93. MovementLoopAddLocation(NPC, -56.06, -8.90, 207.52, 1, 0)
  94. MovementLoopAddLocation(NPC, -57.25, -9.09, 208.03, 1, 0)
  95. MovementLoopAddLocation(NPC, -59.49, -9.50, 208.90, 1, 0)
  96. MovementLoopAddLocation(NPC, -61.58, -9.46, 217.06, 1, math.random(10, 20))
  97. MovementLoopAddLocation(NPC, -55.62, -7.91, 211.43, 1, 0)
  98. MovementLoopAddLocation(NPC, -51.73, -8.43, 207.07, 1, math.random(10, 20))
  99. MovementLoopAddLocation(NPC, -57.40, -8.32, 210.77, 1, math.random(10, 20))
  100. MovementLoopAddLocation(NPC, -57.32, -8.13, 213.20, 1, 0)
  101. MovementLoopAddLocation(NPC, -60.47, -9.23, 218.20, 1, math.random(10, 20))
  102. MovementLoopAddLocation(NPC, -58.30, -8.34, 216.18, 1, 0)
  103. MovementLoopAddLocation(NPC, -53.07, -7.89, 213.89, 1, math.random(10, 20))
  104. MovementLoopAddLocation(NPC, -46.31, -8.62, 202.89, 1, math.random(10, 20))
  105. MovementLoopAddLocation(NPC, -46.69, -5.63, 210.58, 1, 0)
  106. MovementLoopAddLocation(NPC, -45.30, -5.23, 212.23, 1, math.random(10, 20))
  107. elseif GetSpawnLocationID(NPC) == 133774741 then
  108. MovementLoopAddLocation(NPC, -56.43, -7.93, 212.96, 1, math.random(10, 20))
  109. MovementLoopAddLocation(NPC, -43.07, -4.89, 209.84, 1, math.random(10, 20))
  110. MovementLoopAddLocation(NPC, -51.05, -8.14, 213.87, 1, math.random(10, 20))
  111. MovementLoopAddLocation(NPC, -57.40, -9.22, 207.79, 1, math.random(10, 20))
  112. MovementLoopAddLocation(NPC, -56.23, -8.45, 209.26, 1, 0)
  113. MovementLoopAddLocation(NPC, -50.49, -8.22, 215.42, 1, 0)
  114. MovementLoopAddLocation(NPC, -50.04, -8.32, 216.87, 1, math.random(10, 20))
  115. MovementLoopAddLocation(NPC, -49.88, -8.31, 216.50, 1, 0)
  116. MovementLoopAddLocation(NPC, -54.20, -7.88, 211.09, 1, math.random(10, 20))
  117. MovementLoopAddLocation(NPC, -50.66, -8.82, 206.11, 1, 0)
  118. MovementLoopAddLocation(NPC, -46.63, -8.89, 202.35, 1, 0)
  119. MovementLoopAddLocation(NPC, -44.78, -10.91, 199.08, 1, math.random(10, 20))
  120. MovementLoopAddLocation(NPC, -45.96, -8.94, 201.97, 1, 0)
  121. MovementLoopAddLocation(NPC, -48.77, -9.41, 204.07, 1, 0)
  122. MovementLoopAddLocation(NPC, -53.80, -9.08, 205.33, 1, 0)
  123. MovementLoopAddLocation(NPC, -55.52, -9.23, 206.16, 1, 0)
  124. MovementLoopAddLocation(NPC, -57.39, -9.83, 205.81, 1, math.random(10, 20))
  125. MovementLoopAddLocation(NPC, -56.56, -9.59, 205.89, 1, 0)
  126. MovementLoopAddLocation(NPC, -53.84, -8.15, 208.18, 1, 0)
  127. MovementLoopAddLocation(NPC, -45.97, -5.59, 214.15, 1, math.random(10, 20))
  128. MovementLoopAddLocation(NPC, -61.53, -9.44, 217.02, 1, math.random(10, 20))
  129. MovementLoopAddLocation(NPC, -56.08, -7.90, 211.96, 1, 0)
  130. MovementLoopAddLocation(NPC, -54.29, -8.11, 208.75, 1, math.random(10, 20))
  131. MovementLoopAddLocation(NPC, -47.37, -6.93, 207.66, 1, 0)
  132. MovementLoopAddLocation(NPC, -43.06, -7.39, 204.81, 1, math.random(10, 20))
  133. elseif GetSpawnLocationID(NPC) == 133774742 then
  134. MovementLoopAddLocation(NPC, -28.12, -7.93, 242.43, 1, math.random(10, 20))
  135. MovementLoopAddLocation(NPC, -28.18, -7.90, 240.48, 1, 0)
  136. MovementLoopAddLocation(NPC, -36.09, -7.99, 228.60, 1, math.random(10, 20))
  137. MovementLoopAddLocation(NPC, -32.08, -8.18, 237.48, 1, 0)
  138. MovementLoopAddLocation(NPC, -31.91, -8.35, 239.49, 1, 0)
  139. MovementLoopAddLocation(NPC, -31.14, -8.32, 240.70, 1, math.random(10, 20))
  140. MovementLoopAddLocation(NPC, -31.34, -8.24, 239.49, 1, 0)
  141. MovementLoopAddLocation(NPC, -28.74, -7.99, 232.29, 1, math.random(10, 20))
  142. MovementLoopAddLocation(NPC, -31.73, -7.98, 232.08, 1, 0)
  143. MovementLoopAddLocation(NPC, -40.05, -9.26, 237.60, 1, math.random(10, 20))
  144. MovementLoopAddLocation(NPC, -33.32, -7.97, 232.40, 1, 0)
  145. MovementLoopAddLocation(NPC, -32.42, -7.99, 231.88, 1, 0)
  146. MovementLoopAddLocation(NPC, -31.08, -7.99, 230.47, 1, math.random(10, 20))
  147. MovementLoopAddLocation(NPC, -26.02, -7.85, 242.88, 1, math.random(10, 20))
  148. MovementLoopAddLocation(NPC, -16.10, -7.88, 241.70, 1, math.random(10, 20))
  149. elseif GetSpawnLocationID(NPC) == 133774743 then
  150. MovementLoopAddLocation(NPC, -34.48, -8.51, 237.79, 1, math.random(10, 20))
  151. MovementLoopAddLocation(NPC, -25.42, -7.96, 235.13, 1, 0)
  152. MovementLoopAddLocation(NPC, -27.30, -8.24, 246.90, 1, math.random(10, 20))
  153. MovementLoopAddLocation(NPC, -27.85, -8.03, 244.66, 1, 0)
  154. MovementLoopAddLocation(NPC, -29.99, -8.09, 240.71, 1, 0)
  155. MovementLoopAddLocation(NPC, -32.23, -8.18, 237.32, 1, 0)
  156. MovementLoopAddLocation(NPC, -34.14, -8.06, 233.58, 1, math.random(10, 20))
  157. MovementLoopAddLocation(NPC, -26.35, -7.96, 235.57, 1, 0)
  158. MovementLoopAddLocation(NPC, -24.49, -7.98, 235.90, 1, 0)
  159. MovementLoopAddLocation(NPC, -21.97, -7.94, 236.82, 1, math.random(10, 20))
  160. MovementLoopAddLocation(NPC, -30.06, -7.99, 233.74, 1, math.random(10, 20))
  161. MovementLoopAddLocation(NPC, -32.10, -8.04, 235.92, 1, 0)
  162. elseif GetSpawnLocationID(NPC) == 133774744 then
  163. MovementLoopAddLocation(NPC, -31.05, -10.09, 250.86, 1, math.random(10, 20))
  164. MovementLoopAddLocation(NPC, -31.52, -10.14, 250.52, 1, 0)
  165. MovementLoopAddLocation(NPC, -32.09, -9.58, 247.38, 1, 0)
  166. MovementLoopAddLocation(NPC, -26.05, -7.83, 241.87, 1, math.random(10, 20))
  167. MovementLoopAddLocation(NPC, -28.05, -7.88, 240.00, 1, 0)
  168. MovementLoopAddLocation(NPC, -31.34, -8.16, 238.13, 1, 0)
  169. MovementLoopAddLocation(NPC, -39.90, -8.43, 232.29, 1, 0)
  170. MovementLoopAddLocation(NPC, -42.22, -8.53, 231.74, 1, math.random(10, 20))
  171. MovementLoopAddLocation(NPC, -41.19, -8.51, 231.87, 1, 0)
  172. MovementLoopAddLocation(NPC, -40.11, -8.56, 232.90, 1, math.random(10, 20))
  173. MovementLoopAddLocation(NPC, -40.02, -8.95, 235.63, 1, math.random(10, 20))
  174. MovementLoopAddLocation(NPC, -34.03, -8.05, 233.44, 1, math.random(10, 20))
  175. MovementLoopAddLocation(NPC, -32.21, -8.86, 243.39, 1, 0)
  176. MovementLoopAddLocation(NPC, -30.93, -9.04, 246.10, 1, 0)
  177. elseif GetSpawnLocationID(NPC) == 133774745 then
  178. MovementLoopAddLocation(NPC, -43.16, -8.28, 230.59, 1, math.random(10, 20))
  179. MovementLoopAddLocation(NPC, -40.08, -8.70, 233.82, 1, 0)
  180. MovementLoopAddLocation(NPC, -38.19, -8.95, 237.70, 1, math.random(10, 20))
  181. MovementLoopAddLocation(NPC, -35.49, -8.88, 240.14, 1, 0)
  182. MovementLoopAddLocation(NPC, -26.58, -8.66, 249.70, 1, 0)
  183. MovementLoopAddLocation(NPC, -23.23, -8.38, 251.90, 1, 0)
  184. MovementLoopAddLocation(NPC, -20.99, -8.36, 253.95, 1, math.random(10, 20))
  185. MovementLoopAddLocation(NPC, -26.53, -7.88, 243.40, 1, 0)
  186. MovementLoopAddLocation(NPC, -28.11, -7.88, 239.98, 1, 0)
  187. MovementLoopAddLocation(NPC, -30.23, -7.99, 236.20, 1, 0)
  188. MovementLoopAddLocation(NPC, -31.84, -7.98, 232.45, 1, 0)
  189. MovementLoopAddLocation(NPC, -35.02, -8.01, 227.63, 1, math.random(10, 20))
  190. MovementLoopAddLocation(NPC, -25.82, -7.84, 231.87, 1, math.random(10, 20))
  191. elseif GetSpawnLocationID(NPC) == 133774746 then
  192. MovementLoopAddLocation(NPC, -18.11, -7.83, 241.55, 1, math.random(10, 20))
  193. MovementLoopAddLocation(NPC, -20.20, -7.83, 239.75, 1, 0)
  194. MovementLoopAddLocation(NPC, -22.97, -7.97, 236.55, 1, 0)
  195. MovementLoopAddLocation(NPC, -23.76, -7.97, 235.98, 1, math.random(10, 20))
  196. MovementLoopAddLocation(NPC, -31.93, -7.97, 234.45, 1, 0)
  197. MovementLoopAddLocation(NPC, -39.32, -8.35, 232.29, 1, 0)
  198. MovementLoopAddLocation(NPC, -43.18, -8.93, 232.84, 1, math.random(10, 20))
  199. MovementLoopAddLocation(NPC, -44.16, -8.41, 230.63, 1, math.random(10, 20))
  200. MovementLoopAddLocation(NPC, -40.62, -8.46, 231.85, 1, 0)
  201. MovementLoopAddLocation(NPC, -38.01, -8.41, 233.88, 1, math.random(10, 20))
  202. MovementLoopAddLocation(NPC, -20.89, -7.83, 235.71, 1, math.random(10, 20))
  203. MovementLoopAddLocation(NPC, -20.52, -7.18, 232.01, 1, math.random(10, 20))
  204. MovementLoopAddLocation(NPC, -24.10, -7.86, 233.85, 1, 0)
  205. MovementLoopAddLocation(NPC, -26.41, -7.91, 232.99, 1, 0)
  206. MovementLoopAddLocation(NPC, -27.62, -7.92, 231.93, 1, 0)
  207. MovementLoopAddLocation(NPC, -29.52, -8.00, 231.80, 1, math.random(10, 20))
  208. MovementLoopAddLocation(NPC, -28.07, -7.96, 232.33, 1, 0)
  209. MovementLoopAddLocation(NPC, -21.97, -8.12, 251.86, 1, math.random(10, 20))
  210. MovementLoopAddLocation(NPC, -30.11, -9.87, 250.84, 1, math.random(10, 20))
  211. MovementLoopAddLocation(NPC, -29.55, -9.75, 250.88, 1, 0)
  212. elseif GetSpawnLocationID(NPC) == 133774747 then
  213. MovementLoopAddLocation(NPC, -35.02, -7.99, 228.74, 1, math.random(10, 20))
  214. MovementLoopAddLocation(NPC, -32.26, -8.00, 231.61, 1, 0)
  215. MovementLoopAddLocation(NPC, -19.97, -8.57, 254.97, 1, math.random(10, 20))
  216. MovementLoopAddLocation(NPC, -25.92, -8.14, 248.08, 1, 0)
  217. MovementLoopAddLocation(NPC, -27.84, -8.02, 244.58, 1, 0)
  218. MovementLoopAddLocation(NPC, -30.10, -8.36, 243.81, 1, math.random(10, 20))
  219. MovementLoopAddLocation(NPC, -31.20, -8.21, 239.49, 1, 0)
  220. MovementLoopAddLocation(NPC, -32.19, -8.07, 236.14, 1, 0)
  221. MovementLoopAddLocation(NPC, -34.14, -7.95, 225.83, 1, math.random(10, 20))
  222. MovementLoopAddLocation(NPC, -37.13, -8.29, 233.89, 1, math.random(10, 20))
  223. MovementLoopAddLocation(NPC, -31.52, -8.86, 244.51, 1, 0)
  224. MovementLoopAddLocation(NPC, -30.55, -9.13, 247.09, 1, 0)
  225. MovementLoopAddLocation(NPC, -27.84, -9.22, 250.48, 1, 0)
  226. MovementLoopAddLocation(NPC, -27.46, -9.97, 254.79, 1, math.random(10, 20))
  227. MovementLoopAddLocation(NPC, -29.69, -8.98, 247.46, 1, 0)
  228. MovementLoopAddLocation(NPC, -36.00, -8.80, 238.65, 1, math.random(10, 20))
  229. MovementLoopAddLocation(NPC, -38.88, -9.25, 238.78, 1, math.random(10, 20))
  230. elseif GetSpawnLocationID(NPC) == 133774748 then
  231. MovementLoopAddLocation(NPC, -25.34, -9.33, 254.01, 1, math.random(10, 20))
  232. MovementLoopAddLocation(NPC, -24.82, -8.67, 251.72, 1, 0)
  233. MovementLoopAddLocation(NPC, -32.26, -8.95, 244.01, 1, 0)
  234. MovementLoopAddLocation(NPC, -41.14, -9.48, 237.69, 1, math.random(10, 20))
  235. MovementLoopAddLocation(NPC, -33.01, -9.05, 243.73, 1, math.random(10, 20))
  236. MovementLoopAddLocation(NPC, -25.14, -7.92, 237.34, 1, 0)
  237. MovementLoopAddLocation(NPC, -19.83, -7.82, 236.45, 1, 0)
  238. MovementLoopAddLocation(NPC, -16.57, -7.84, 239.38, 1, math.random(10, 20))
  239. MovementLoopAddLocation(NPC, -23.14, -7.85, 239.77, 1, math.random(10, 20))
  240. MovementLoopAddLocation(NPC, -24.29, -7.89, 239.11, 1, 0)
  241. MovementLoopAddLocation(NPC, -36.96, -8.01, 224.80, 1, math.random(10, 20))
  242. MovementLoopAddLocation(NPC, -25.15, -8.94, 252.59, 1, 0)
  243. MovementLoopAddLocation(NPC, -23.25, -9.18, 255.15, 1, 0)
  244. MovementLoopAddLocation(NPC, -22.40, -9.60, 256.95, 1, math.random(10, 20))
  245. MovementLoopAddLocation(NPC, -27.61, -8.55, 247.96, 1, 0)
  246. MovementLoopAddLocation(NPC, -30.29, -8.62, 244.98, 1, 0)
  247. MovementLoopAddLocation(NPC, -33.81, -8.46, 238.07, 1, 0)
  248. MovementLoopAddLocation(NPC, -39.57, -8.05, 229.82, 1, 0)
  249. MovementLoopAddLocation(NPC, -40.08, -8.02, 227.58, 1, math.random(10, 20))
  250. MovementLoopAddLocation(NPC, -28.70, -7.95, 233.56, 1, 0)
  251. MovementLoopAddLocation(NPC, -26.54, -7.95, 235.42, 1, math.random(10, 20))
  252. MovementLoopAddLocation(NPC, -45.03, -9.41, 233.79, 1, math.random(10, 20))
  253. MovementLoopAddLocation(NPC, -42.18, -9.20, 235.18, 1, 0)
  254. MovementLoopAddLocation(NPC, -32.70, -9.33, 245.56, 1, 0)
  255. MovementLoopAddLocation(NPC, -25.65, -9.02, 252.43, 1, 0)
  256. elseif GetSpawnLocationID(NPC) == 133774749 then
  257. MovementLoopAddLocation(NPC, -32.16, -7.98, 233.72, 1, math.random(10, 20))
  258. MovementLoopAddLocation(NPC, -30.60, -8.56, 244.27, 1, 0)
  259. MovementLoopAddLocation(NPC, -30.02, -8.78, 246.02, 1, 0)
  260. MovementLoopAddLocation(NPC, -30.20, -9.49, 248.97, 1, math.random(10, 20))
  261. MovementLoopAddLocation(NPC, -30.22, -8.83, 246.02, 1, 0)
  262. MovementLoopAddLocation(NPC, -39.94, -7.96, 225.74, 1, math.random(10, 20))
  263. MovementLoopAddLocation(NPC, -28.36, -7.84, 237.38, 1, 0)
  264. MovementLoopAddLocation(NPC, -27.19, -7.89, 239.71, 1, math.random(10, 20))
  265. MovementLoopAddLocation(NPC, -30.06, -7.96, 238.34, 1, 0)
  266. MovementLoopAddLocation(NPC, -38.02, -8.22, 232.72, 1, math.random(10, 20))
  267. MovementLoopAddLocation(NPC, -28.46, -9.03, 249.01, 1, 0)
  268. MovementLoopAddLocation(NPC, -28.01, -9.13, 249.93, 1, 0)
  269. MovementLoopAddLocation(NPC, -26.39, -9.10, 251.87, 1, 0)
  270. MovementLoopAddLocation(NPC, -26.15, -9.28, 253.01, 1, math.random(10, 20))
  271. MovementLoopAddLocation(NPC, -26.95, -9.69, 254.03, 1, 0)
  272. MovementLoopAddLocation(NPC, -28.00, -10.09, 254.80, 1, math.random(10, 20))
  273. MovementLoopAddLocation(NPC, -27.10, -9.67, 253.75, 1, 0)
  274. MovementLoopAddLocation(NPC, -25.00, -7.95, 234.80, 1, math.random(10, 20))
  275. elseif GetSpawnLocationID(NPC) == 133774750 then
  276. MovementLoopAddLocation(NPC, -15.43, -7.86, 241.00, 1, math.random(10, 20))
  277. MovementLoopAddLocation(NPC, -11.82, -7.15, 241.18, 1, math.random(10, 20))
  278. MovementLoopAddLocation(NPC, -24.43, -8.17, 249.57, 1, 0)
  279. MovementLoopAddLocation(NPC, -25.05, -8.73, 251.76, 1, math.random(10, 20))
  280. MovementLoopAddLocation(NPC, -25.75, -8.70, 250.85, 1, 0)
  281. MovementLoopAddLocation(NPC, -41.28, -9.14, 235.66, 1, math.random(10, 20))
  282. MovementLoopAddLocation(NPC, -44.40, -9.99, 236.91, 1, math.random(10, 20))
  283. MovementLoopAddLocation(NPC, -42.94, -9.67, 236.89, 1, 0)
  284. MovementLoopAddLocation(NPC, -41.44, -9.27, 236.19, 1, 0)
  285. MovementLoopAddLocation(NPC, -33.03, -7.96, 227.82, 1, math.random(10, 20))
  286. MovementLoopAddLocation(NPC, -39.77, -8.36, 231.97, 1, 0)
  287. MovementLoopAddLocation(NPC, -43.71, -9.43, 234.96, 1, 0)
  288. MovementLoopAddLocation(NPC, -45.25, -9.97, 236.09, 1, math.random(10, 20))
  289. MovementLoopAddLocation(NPC, -44.98, -9.51, 234.32, 1, 0)
  290. MovementLoopAddLocation(NPC, -44.20, -9.09, 232.91, 1, math.random(10, 20))
  291. MovementLoopAddLocation(NPC, -40.36, -8.46, 232.06, 1, 0)
  292. MovementLoopAddLocation(NPC, -24.17, -7.91, 238.13, 1, 0)
  293. MovementLoopAddLocation(NPC, -22.90, -7.91, 238.77, 1, math.random(10, 20))
  294. MovementLoopAddLocation(NPC, -24.00, -7.85, 239.99, 1, 0)
  295. MovementLoopAddLocation(NPC, -31.43, -8.93, 244.95, 1, math.random(10, 20))
  296. elseif GetSpawnLocationID(NPC) == 133774750 then
  297. MovementLoopAddLocation(NPC, 10.18, -10.8, 236.41, 1, math.random(10, 20))
  298. MovementLoopAddLocation(NPC, 6.22, -8.62, 238.92, 1, 0)
  299. MovementLoopAddLocation(NPC, 4.85, -8.77, 242.62, 1, 0)
  300. MovementLoopAddLocation(NPC, 6.18, -9.13, 243.6, 1, 0)
  301. MovementLoopAddLocation(NPC, 8.10, -8.37, 247.14, 1, math.random(10, 20))
  302. MovementLoopAddLocation(NPC, 9.83, -12.29, 242.26, 1, 0)
  303. MovementLoopAddLocation(NPC, 11.77, -13.09, 241.69, 1, math.random(10, 20))
  304. MovementLoopAddLocation(NPC, 9.47, -11.01, 240.37, 1, 0)
  305. MovementLoopAddLocation(NPC, 8.79, -10.40, 239.11, 1, 0)
  306. MovementLoopAddLocation(NPC, 10.32, -10.21, 233.68, 1, math.random(10, 20))
  307. MovementLoopAddLocation(NPC, 9.03, -9.76, 234.00, 1, 0)
  308. MovementLoopAddLocation(NPC, 7.85, -8.93, 234.12, 1, 0)
  309. MovementLoopAddLocation(NPC, -6.59, -7.48, 240.66, 1, math.random(10, 20))
  310. MovementLoopAddLocation(NPC, 9.34, -10.03, 234.49, 1, math.random(10, 20))
  311. MovementLoopAddLocation(NPC, 0.02, -7.79, 243.33, 1, math.random(10, 20))
  312. MovementLoopAddLocation(NPC, 4.72, -8.70, 241.19, 1, 0)
  313. MovementLoopAddLocation(NPC, 7.60, -9.81, 238.89, 1, 0)
  314. MovementLoopAddLocation(NPC, 12.00, -12.49, 238.33, 1, math.random(10, 20))
  315. MovementLoopAddLocation(NPC, 9.18, -10.60, 239.09, 1, 0)
  316. MovementLoopAddLocation(NPC, 8.44, -10.27, 239.15, 1, 0)
  317. MovementLoopAddLocation(NPC, 7.06, -10.11, 241.38, 1, 0)
  318. MovementLoopAddLocation(NPC, 6.57, -8.74, 244.49, 1, 0)
  319. MovementLoopAddLocation(NPC, 6.26, -9.30, 254.73, 1, math.random(10, 20))
  320. MovementLoopAddLocation(NPC, 9.66, -10.84, 247.89, 1, 0)
  321. MovementLoopAddLocation(NPC, 12.22, -13.09, 247.89, 1, math.random(10, 20))
  322. MovementLoopAddLocation(NPC, 10.28, -13.37, 253.37, 1, math.random(10, 20))
  323. MovementLoopAddLocation(NPC, 8.40, -9.54, 253.14, 1, 0)
  324. MovementLoopAddLocation(NPC, 6.63, -8.55, 250.57, 1, 0)
  325. MovementLoopAddLocation(NPC, 5.96, -8.97, 239.94, 1, 0)
  326. MovementLoopAddLocation(NPC, 7.41, -9.64, 238.93, 1, 0)
  327. MovementLoopAddLocation(NPC, 6.93, -8.71, 237.81, 1, 0)
  328. elseif GetSpawnLocationID(NPC) == 133774751 then
  329. MovementLoopAddLocation(NPC, 6.17, -8.58, 250.69, 1, math.random(10, 20))
  330. MovementLoopAddLocation(NPC, 4.17, -8.99, 252.80, 1, math.random(10, 20))
  331. MovementLoopAddLocation(NPC, 6.15, -8.71, 244.71, 1, math.random(10, 20))
  332. MovementLoopAddLocation(NPC, -2.74, -7.83, 246.55, 1, math.random(10, 20))
  333. MovementLoopAddLocation(NPC, 0.18, -7.92, 245.26, 1, 0)
  334. MovementLoopAddLocation(NPC, 3.81, -8.52, 244.14, 1, 0)
  335. MovementLoopAddLocation(NPC, 6.36, -9.63, 242.42, 1, math.random(10, 20))
  336. MovementLoopAddLocation(NPC, 5.30, -8.44, 248.61, 1, math.random(10, 20))
  337. MovementLoopAddLocation(NPC, 5.51, -8.46, 247.28, 1, 0)
  338. MovementLoopAddLocation(NPC, 6.19, -9.55, 242.20, 1, math.random(10, 20))
  339. MovementLoopAddLocation(NPC, 6.21, -9.63, 241.40, 1, 0)
  340. MovementLoopAddLocation(NPC, 6.35, -9.06, 239.60, 1, math.random(10, 20))
  341. MovementLoopAddLocation(NPC, 6.26, -8.92, 239.46, 1, 0)
  342. MovementLoopAddLocation(NPC, 7.75, -9.35, 237.56, 1, 0)
  343. MovementLoopAddLocation(NPC, 9.32, -10.26, 236.57, 1, math.random(10, 20))
  344. MovementLoopAddLocation(NPC, 9.49, -11.62, 240.76, 1, math.random(10, 20))
  345. MovementLoopAddLocation(NPC, 9.46, -10.12, 239.78, 1, 0)
  346. MovementLoopAddLocation(NPC, 7.65, -10.12, 240.92, 1, 0)
  347. MovementLoopAddLocation(NPC, 6.23, -8.37, 248.61, 1, math.random(10, 20))
  348. MovementLoopAddLocation(NPC, 6.24, -8.36, 247.72, 1, 0)
  349. MovementLoopAddLocation(NPC, 5.95, -8.61, 245.61, 1, 0)
  350. MovementLoopAddLocation(NPC, 5.99, -8.33, 238.20, 1, 0)
  351. MovementLoopAddLocation(NPC, 6.42, -8.21, 236.25, 1, math.random(10, 20))
  352. elseif GetSpawnLocationID(NPC) == 133774752 then
  353. MovementLoopAddLocation(NPC, 4.28, -8.60, 240.91, 1, math.random(10, 20))
  354. MovementLoopAddLocation(NPC, 7.81, -9.43, 253.85, 1, math.random(10, 20))
  355. MovementLoopAddLocation(NPC, 3.74, -8.64, 247.62, 1, 0)
  356. MovementLoopAddLocation(NPC, 2.44, -8.22, 244.80, 1, math.random(10, 20))
  357. MovementLoopAddLocation(NPC, -3.66, -7.66, 245.55, 1, math.random(10, 20))
  358. MovementLoopAddLocation(NPC, 5.99, -8.83, 239.63, 1, 0)
  359. MovementLoopAddLocation(NPC, 6.65, -8.66, 238.29, 1, 0)
  360. MovementLoopAddLocation(NPC, 10.96, -10.43, 236.43, 1, 0)
  361. MovementLoopAddLocation(NPC, 8.22, -9.70, 237.00, 1, 0)
  362. MovementLoopAddLocation(NPC, 5.41, -8.13, 238.13, 1, 0)
  363. MovementLoopAddLocation(NPC, 4.09, -7.98, 238.17, 1, 0)
  364. MovementLoopAddLocation(NPC, 6.05, -8.67, 244.97, 1, 0)
  365. MovementLoopAddLocation(NPC, 7.18, -8.30, 247.93, 1, 0)
  366. MovementLoopAddLocation(NPC, 7.17, -9.38, 254.83, 1, math.random(10, 20))
  367. MovementLoopAddLocation(NPC, 6.35, -8.48, 249.77, 1, math.random(10, 20))
  368. MovementLoopAddLocation(NPC, 4.41, -8.53, 248.29, 1, 0)
  369. MovementLoopAddLocation(NPC, 1.99, -8.07, 243.65, 1, 0)
  370. MovementLoopAddLocation(NPC, 0.49, -7.94, 240.44, 1, math.random(10, 20))
  371. MovementLoopAddLocation(NPC, -5.03, -7.57, 239.80, 1, 0)
  372. MovementLoopAddLocation(NPC, -8.63, -6.70, 238.70, 1, math.random(10, 20))
  373. MovementLoopAddLocation(NPC, -0.11, -7.78, 243.68, 1, 0)
  374. MovementLoopAddLocation(NPC, 5.33, -8.93, 252.90, 1, math.random(10, 20))
  375. MovementLoopAddLocation(NPC, 5.67, -9.21, 242.73, 1, math.random(10, 20))
  376. MovementLoopAddLocation(NPC, 4.69, -8.74, 242.51, 1, 0)
  377. elseif GetSpawnLocationID(NPC) == 133774753 then
  378. MovementLoopAddLocation(NPC, 7.94, -9.01, 232.32, 1, math.random(10, 20))
  379. MovementLoopAddLocation(NPC, 7.95, -9.16, 235.92, 1, 0)
  380. MovementLoopAddLocation(NPC, 7.40, -8.87, 237.27, 1, 0)
  381. MovementLoopAddLocation(NPC, 7.07, -9.22, 238.66, 1, 0)
  382. MovementLoopAddLocation(NPC, 6.14, -9.22, 240.14, 1, 0)
  383. MovementLoopAddLocation(NPC, 5.76, -8.70, 244.91, 1, 0)
  384. MovementLoopAddLocation(NPC, 6.81, -8.48, 249.95, 1, math.random(10, 20))
  385. MovementLoopAddLocation(NPC, 3.75, -8.03, 238.48, 1, math.random(10, 20))
  386. MovementLoopAddLocation(NPC, 8.60, -10.09, 238.07, 1, math.random(10, 20))
  387. MovementLoopAddLocation(NPC, 7.82, -9.79, 238.27, 1, 0)
  388. MovementLoopAddLocation(NPC, 5.76, -8.27, 238.26, 1, 0)
  389. MovementLoopAddLocation(NPC, 4.41, -8.04, 238.69, 1, math.random(10, 20))
  390. MovementLoopAddLocation(NPC, 6.09, -8.09, 236.44, 1, 0)
  391. elseif GetSpawnLocationID(NPC) == 133774754 then
  392. MovementLoopAddLocation(NPC, 11.38, -13.21, 247.66, 1, math.random(10, 20))
  393. MovementLoopAddLocation(NPC, 8.10, -8.50, 249.16, 1, 0)
  394. MovementLoopAddLocation(NPC, 6.24, -8.72, 251.94, 1, math.random(10, 20))
  395. MovementLoopAddLocation(NPC, -1.78, -7.75, 245.62, 1, math.random(10, 20))
  396. MovementLoopAddLocation(NPC, 3.39, -9.04, 253.60, 1, math.random(10, 20))
  397. MovementLoopAddLocation(NPC, 10.17, -12.94, 247.18, 1, math.random(10, 20))
  398. MovementLoopAddLocation(NPC, 4.67, -8.50, 248.27, 1, 0)
  399. MovementLoopAddLocation(NPC, 2.41, -8.58, 247.57, 1, math.random(10, 20))
  400. MovementLoopAddLocation(NPC, 0.17, -7.81, 244.26, 1, 0)
  401. MovementLoopAddLocation(NPC, -1.77, -7.60, 239.48, 1, math.random(10, 20))
  402. MovementLoopAddLocation(NPC, -1.59, -7.67, 244.87, 1, math.random(10, 20))
  403. MovementLoopAddLocation(NPC, 6.53, -9.79, 241.64, 1, math.random(10, 20))
  404. MovementLoopAddLocation(NPC, 6.17, -8.99, 243.93, 1, 0)
  405. MovementLoopAddLocation(NPC, 7.48, -8.67, 244.95, 1, 0)
  406. MovementLoopAddLocation(NPC, 7.84, -8.51, 246.15, 1, 0)
  407. elseif GetSpawnLocationID(NPC) == 133774755 then
  408. MovementLoopAddLocation(NPC, -0.73, -8.27, 249.41, 1, math.random(10, 20))
  409. MovementLoopAddLocation(NPC, -0.68, -7.71, 241.56, 1, math.random(10, 20))
  410. MovementLoopAddLocation(NPC, 0.08, -7.80, 244.03, 1, 0)
  411. MovementLoopAddLocation(NPC, 8.57, -12.99, 257.02, 1, math.random(10, 20))
  412. MovementLoopAddLocation(NPC, 6.02, -8.37, 247.99, 1, 0)
  413. MovementLoopAddLocation(NPC, 5.99, -9.14, 240.16, 1, 0)
  414. MovementLoopAddLocation(NPC, 8.55, -10.00, 237.29, 1, math.random(10, 20))
  415. MovementLoopAddLocation(NPC, 7.02, -8.88, 238.07, 1, 0)
  416. MovementLoopAddLocation(NPC, 3.45, -8.55, 242.45, 1, math.random(10, 20))
  417. MovementLoopAddLocation(NPC, 4.19, -8.64, 241.94, 1, 0)
  418. MovementLoopAddLocation(NPC, 7.35, -10.16, 240.69, 1, math.random(10, 20))
  419. MovementLoopAddLocation(NPC, 7.07, -10.03, 240.57, 1, 0)
  420. MovementLoopAddLocation(NPC, 2.36, -8.29, 240.06, 1, 0)
  421. MovementLoopAddLocation(NPC, -1.61, -7.62, 240.34, 1, math.random(10, 20))
  422. MovementLoopAddLocation(NPC, -5.73, -7.55, 242.63, 1, math.random(10, 20))
  423. end
  424. end