Geredo.lua 4.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. --[[
  2. Script Name : SpawnScripts/IsleRefuge1/Geredo.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.09.03 07:09:48
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. waypoints(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. RandomGreeting(NPC, Spawn)
  14. end
  15. function RandomGreeting(NPC, Spawn)
  16. local choice = MakeRandomInt(1,3)
  17. if choice == 1 then
  18. PlayFlavor(NPC, "voiceover/english/geredo/boat_06p_tutorial02_fvo_002.mp3", "Thinking I should design a new mechanical boat. It would be perfect! Yes, perfect indeed!", "ponder", 2630458163, 1309095480, Spawn, 0)
  19. elseif choice == 2 then
  20. PlayFlavor(NPC, "voiceover/english/geredo/boat_06p_tutorial02_fvo_001.mp3", "Do you happen to have any mechanical leg extenders? I want to see the water.", "agree", 2902186099, 1357276764, Spawn, 0)
  21. elseif choice == 3 then
  22. PlayFlavor(NPC, "voiceover/english/geredo/boat_06p_tutorial02_fvo_003.mp3", "Owie, my elbow is sore! It always gets this way when I am near water. I could have helped rescue Anikra and Valik, but I wasn't able to swim. Thanks for helping me.", "grumble", 2653823570, 1351171804, Spawn, 0)
  23. end
  24. end
  25. function waypoints(NPC)
  26. MovementLoopAddLocation(NPC, -39.43, -5.04, 103.58, 2, 0)
  27. MovementLoopAddLocation(NPC, -34.29, -5.07, 100.42, 2, 0)
  28. MovementLoopAddLocation(NPC, -30.66, -5.08, 98.78, 2, 0)
  29. MovementLoopAddLocation(NPC, -21.02, -5.12, 99.58, 2, 0)
  30. MovementLoopAddLocation(NPC, -10.97, -5.14, 102.09, 2, 0)
  31. MovementLoopAddLocation(NPC, 3.08, -5.2, 102.39, 2, 0)
  32. MovementLoopAddLocation(NPC, 9.91, -5.24, 105.16, 2, 0)
  33. MovementLoopAddLocation(NPC, 14.55, -5.06, 107.97, 2, 25)
  34. MovementLoopAddLocation(NPC, 12.23, -5.25, 116.93, 2, 0)
  35. MovementLoopAddLocation(NPC, 13.17, -5.25, 121.49, 2, 0)
  36. MovementLoopAddLocation(NPC, 19.58, -5.24, 136.56, 2, 0)
  37. MovementLoopAddLocation(NPC, 9.41, -3.95, 150.58, 2, 25)
  38. MovementLoopAddLocation(NPC, 8.54, -3.92, 152.24, 2, 0)
  39. MovementLoopAddLocation(NPC, 15.05, -5.27, 167.21, 2, 0)
  40. MovementLoopAddLocation(NPC, 11.93, -5.26, 173.57, 2, 0)
  41. MovementLoopAddLocation(NPC, 8.18, -5.24, 177.8, 2, 0)
  42. MovementLoopAddLocation(NPC, -2.19, -5.21, 184.95, 2, 0)
  43. MovementLoopAddLocation(NPC, -10.85, -5.22, 188.39, 2, 0)
  44. MovementLoopAddLocation(NPC, -20.2, -5.14, 181.75, 2, 0)
  45. MovementLoopAddLocation(NPC, -30.22, -5.1, 172.94, 2, 0)
  46. MovementLoopAddLocation(NPC, -44.44, -5.05, 162.84, 2, 0)
  47. MovementLoopAddLocation(NPC, -49.58, -5.02, 157.63, 2, 0)
  48. MovementLoopAddLocation(NPC, -52.59, -5.01, 145.79, 2, 0)
  49. MovementLoopAddLocation(NPC, -56.48, -4.99, 139.49, 2, 0)
  50. MovementLoopAddLocation(NPC, -58.92, -4.97, 130.9, 2, 0)
  51. MovementLoopAddLocation(NPC, -56.98, -4.95, 119.72, 2, 0)
  52. MovementLoopAddLocation(NPC, -56.95, -4.96, 119.5, 2, 0)
  53. MovementLoopAddLocation(NPC, -52.14, -5.33, 110.43, 2, 0)
  54. MovementLoopAddLocation(NPC, -36.57, -4.25, 109.65, 2, 0)
  55. MovementLoopAddLocation(NPC, -32.85, -4.25, 114.16, 2, 25)
  56. MovementLoopAddLocation(NPC, -32.25, -4.27, 115.03, 2, 0)
  57. MovementLoopAddLocation(NPC, -34.92, -4.25, 114.46, 2, 0)
  58. MovementLoopAddLocation(NPC, -49.06, -5.09, 109.86, 2, 0)
  59. MovementLoopAddLocation(NPC, -52.56, -4.99, 114.95, 2, 0)
  60. MovementLoopAddLocation(NPC, -54.92, -5, 120.43, 2, 0)
  61. MovementLoopAddLocation(NPC, -55.93, -5, 135.41, 2, 0)
  62. MovementLoopAddLocation(NPC, -48.07, -5.03, 150.99, 2, 0)
  63. MovementLoopAddLocation(NPC, -45.33, -5.04, 159, 2, 0)
  64. MovementLoopAddLocation(NPC, -33.54, -5.08, 167.37, 2, 0)
  65. MovementLoopAddLocation(NPC, -21.68, -5.13, 176.61, 2, 0)
  66. MovementLoopAddLocation(NPC, -10.64, -5.2, 187, 2, 0)
  67. MovementLoopAddLocation(NPC, -6.41, -5.19, 184.64, 2, 0)
  68. MovementLoopAddLocation(NPC, 2.45, -5.22, 179.25, 2, 0)
  69. MovementLoopAddLocation(NPC, 12.23, -5.26, 171.32, 2, 0)
  70. MovementLoopAddLocation(NPC, 17.24, -5.28, 162.68, 2, 0)
  71. MovementLoopAddLocation(NPC, 19.41, -5.29, 161.31, 2, 0)
  72. MovementLoopAddLocation(NPC, 30.4, -5.37, 152.54, 2, 25)
  73. MovementLoopAddLocation(NPC, 23.19, -5.29, 145.61, 2, 0)
  74. MovementLoopAddLocation(NPC, 17.17, -5.27, 140.63, 2, 0)
  75. MovementLoopAddLocation(NPC, 10.25, -5.24, 122.76, 2, 0)
  76. MovementLoopAddLocation(NPC, 7.74, -5.23, 106.3, 2, 0)
  77. MovementLoopAddLocation(NPC, -0.38, -5.2, 103.76, 2, 0)
  78. MovementLoopAddLocation(NPC, -14.09, -5.15, 103.59, 2, 0)
  79. MovementLoopAddLocation(NPC, -26.43, -5.04, 101.07, 2, 0)
  80. MovementLoopAddLocation(NPC, -25.48, -4.2, 112.26, 2, 25)
  81. MovementLoopAddLocation(NPC, -26.61, -4.21, 114.57, 2, 0)
  82. MovementLoopAddLocation(NPC, -31.45, -4.25, 112.43, 2, 0)
  83. MovementLoopAddLocation(NPC, -38.42, -4.96, 106.46, 2, 0)
  84. end