MadrethalSummerspeak.lua 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. --[[
  2. Script Name : SpawnScripts/ElddarGrove/MadrethalSummerspeak.lua
  3. Script Purpose : Madrethal Summerspeak
  4. Script Author : John Adams
  5. Script Date : 2008.09.28
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function hailed(NPC, Spawn)
  9. FaceTarget(NPC, Spawn)
  10. choice = math.random(1,6)
  11. if choice == 1 then
  12. PlayFlavor(NPC, "voiceover/english/woodelf_eco_good_1/ft/woodelf/woodelf_eco_good_1_hail_gm_13f00546.mp3", "Patience they say, is a virtue. It has taken a lot of patience to rebuild our lives so far from home.", "nod", 1108677104, 3869422611, Spawn)
  13. elseif choice == 2 then
  14. PlayFlavor(NPC, "voiceover/english/woodelf_eco_good_1/ft/woodelf/woodelf_eco_good_1_hail_gm_fcb14e3e.mp3", "We must remain steadfast and vigilant against tyranny. This will allow nature to shape Norrath around us. ", "shakefist", 3130983522, 101511459, Spawn)
  15. elseif choice == 3 then
  16. PlayFlavor(NPC, "voiceover/english/woodelf_eco_good_1/ft/woodelf/woodelf_eco_good_1_hail_gm_62f30b60.mp3", "The Elddar Grove is truly a marvel in these troubled times. ", "sigh", 303722838, 1259846495, Spawn)
  17. elseif choice == 4 then
  18. PlayFlavor(NPC, "voiceover/english/woodelf_eco_good_1/ft/woodelf/woodelf_eco_good_1_hail_gm_1568024c.mp3", "I see that you have many adventures ahead of you. This era of darkness is coming to a close.", "ponder", 3567183056, 3400757896, Spawn)
  19. elseif choice == 5 then
  20. PlayFlavor(NPC, "voiceover/english/woodelf_eco_good_1/ft/woodelf/woodelf_eco_good_1_hail_gm_75b61001.mp3", "Don't let the nice day fool you. My knee is acting up, a storm is brewing. I can smell it.", "stretch", 3641086231, 3980350899, Spawn)
  21. elseif choice == 6 then
  22. PlayFlavor(NPC, "voiceover/english/woodelf_eco_good_1/ft/woodelf/woodelf_eco_good_1_hail_gm_a2427d62.mp3", "They say time and nature heal all wounds. Still, some wrongs can never be forgotten.", "sad", 2603397723, 1316741802, Spawn)
  23. else
  24. end
  25. end
  26. function spawn(NPC)
  27. waypoints(NPC)
  28. end
  29. function hailed(NPC, Spawn)
  30. FaceTarget(NPC, Spawn)
  31. end
  32. function respawn(NPC)
  33. end
  34. function waypoints(NPC)
  35. MovementLoopAddLocation(NPC, 648.84, -18.91, -234.92, 2, math.random(0,8))
  36. MovementLoopAddLocation(NPC, 646.07, -18.74, -257.91, 2, math.random(0,8))
  37. MovementLoopAddLocation(NPC, 606.34, -20.89, -257.81, 2, math.random(0,8))
  38. MovementLoopAddLocation(NPC, 642.56, -18.86, -258.37, 2, math.random(0,8))
  39. MovementLoopAddLocation(NPC, 650.43, -21.07, -288.05, 2, math.random(0,8))
  40. MovementLoopAddLocation(NPC, 652.37, -21.69, -293.22, 2, math.random(0,8))
  41. MovementLoopAddLocation(NPC, 651.99, -21.73, -305.33, 2, math.random(0,8))
  42. MovementLoopAddLocation(NPC, 647.05, -19.16, -323.38, 2, math.random(0,8))
  43. MovementLoopAddLocation(NPC, 647.29, -11.71, -388.38, 2, math.random(0,8))
  44. MovementLoopAddLocation(NPC, 658.21, -10.61, -396.95, 2, math.random(0,8))
  45. MovementLoopAddLocation(NPC, 680.99, -11.78, -392.94, 2, math.random(0,8))
  46. MovementLoopAddLocation(NPC, 697.53, -14.19, -410.92, 2, math.random(0,8))
  47. MovementLoopAddLocation(NPC, 701.38, -16.57, -426.35, 2, math.random(0,8))
  48. MovementLoopAddLocation(NPC, 709.3, -20.04, -448.29, 2, math.random(0,8))
  49. MovementLoopAddLocation(NPC, 712.45, -20.97, -456.77, 2, math.random(0,8))
  50. MovementLoopAddLocation(NPC, 744.98, -22.31, -472.95, 2, math.random(0,8))
  51. MovementLoopAddLocation(NPC, 768.56, -21.8, -495.14, 2, math.random(0,8))
  52. MovementLoopAddLocation(NPC, 780.53, -21.99, -508.32, 2, math.random(0,8))
  53. MovementLoopAddLocation(NPC, 803.66, -21.61, -551.4, 2, math.random(0,8))
  54. MovementLoopAddLocation(NPC, 780.53, -21.99, -508.32, 2, math.random(0,8))
  55. MovementLoopAddLocation(NPC, 768.56, -21.8, -495.14, 2, math.random(0,8))
  56. MovementLoopAddLocation(NPC, 744.98, -22.31, -472.95, 2, math.random(0,8))
  57. MovementLoopAddLocation(NPC, 712.45, -20.97, -456.77, 2, math.random(0,8))
  58. MovementLoopAddLocation(NPC, 709.3, -20.04, -448.29, 2, math.random(0,8))
  59. MovementLoopAddLocation(NPC, 701.38, -16.57, -426.35, 2, math.random(0,8))
  60. MovementLoopAddLocation(NPC, 697.53, -14.19, -410.92, 2, math.random(0,8))
  61. MovementLoopAddLocation(NPC, 680.99, -11.78, -392.94, 2, math.random(0,8))
  62. MovementLoopAddLocation(NPC, 658.21, -10.61, -396.95, 2, math.random(0,8))
  63. MovementLoopAddLocation(NPC, 647.29, -11.71, -388.38, 2, math.random(0,8))
  64. MovementLoopAddLocation(NPC, 647.05, -19.16, -323.38, 2, math.random(0,8))
  65. MovementLoopAddLocation(NPC, 651.99, -21.73, -305.33, 2, math.random(0,8))
  66. MovementLoopAddLocation(NPC, 652.37, -21.69, -293.22, 2, math.random(0,8))
  67. MovementLoopAddLocation(NPC, 650.43, -21.07, -288.05, 2, math.random(0,8))
  68. MovementLoopAddLocation(NPC, 642.56, -18.86, -258.37, 2, math.random(0,8))
  69. MovementLoopAddLocation(NPC, 606.34, -20.89, -257.81, 2, math.random(0,8))
  70. MovementLoopAddLocation(NPC, 646.07, -18.74, -257.91, 2, math.random(0,8))
  71. MovementLoopAddLocation(NPC, 648.84, -18.91, -234.92, 2, math.random(0,8))
  72. end