9
3

GerlaMeltwater.lua 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/GerlaMeltwater.lua
  3. Script Purpose : Gerla Meltwater
  4. Script Author : theFoof
  5. Script Date : 2013.06.13
  6. Script Notes :
  7. --]]
  8. local SeekingEducation = 63
  9. function spawn(NPC)
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. FaceTarget(NPC, Spawn)
  16. if GetQuestStep(Spawn, SeekingEducation) == 2 then
  17. conversation = CreateConversation()
  18. PlayFlavor(NPC, "gerla_meltwater/halas/new_halas_guard_house/gerla_meltwater_001.mp3", "", "", 3974328348, 1246567656, Spawn)
  19. AddConversationOption(conversation, "Torli Blackbow thought you could help. There is a large ice and velium elemental living below New Halas!", "Quest1Chat_1")
  20. StartConversation(conversation, NPC, Spawn, "Hail, " .. GetName(Spawn) .. ". What boulder weighs so upon your shoulders?")
  21. else
  22. PlayFlavor(NPC, "", "Hail, adventurer.", "hello", 1689589577, 4560189, Spawn)
  23. end
  24. end
  25. function Quest1Chat_1(NPC, Spawn)
  26. FaceTarget(NPC, Spawn)
  27. conversation = CreateConversation()
  28. PlayFlavor(NPC, "gerla_meltwater/halas/new_halas_guard_house/gerla_meltwater_002.mp3", "", "", 376722497, 2039361987, Spawn)
  29. AddConversationOption(conversation, "That's just it. It's not.", "Quest1Chat_2")
  30. StartConversation(conversation, NPC, Spawn, "Aye. And as long as it slumbers we have nothing to fear.")
  31. end
  32. function Quest1Chat_2(NPC, Spawn)
  33. FaceTarget(NPC, Spawn)
  34. conversation = CreateConversation()
  35. PlayFlavor(NPC, "gerla_meltwater/halas/new_halas_guard_house/gerla_meltwater_003.mp3", "", "", 936830392, 1591106960, Spawn)
  36. AddConversationOption(conversation, "The Ry'Gorr were digging tunnels below the city.", "Quest1Chat_3")
  37. StartConversation(conversation, NPC, Spawn, "Beasts of the deep! It has awoken?! It slumbered for years under our feet. What could have woken it now?")
  38. end
  39. function Quest1Chat_3(NPC, Spawn)
  40. FaceTarget(NPC, Spawn)
  41. conversation = CreateConversation()
  42. PlayFlavor(NPC, "gerla_meltwater/halas/new_halas_guard_house/gerla_meltwater_004.mp3", "", "", 4211598278, 1116854185, Spawn)
  43. AddConversationOption(conversation, "Why is that so important?", "Quest1Chat_4")
  44. AddConversationOption(conversation, "Can't we just kill it?", "Quest1Chat_4")
  45. StartConversation(conversation, NPC, Spawn, "Another reason to smite each and every one of the vile creatures! Now to return the elemental back to its dormancy.")
  46. end
  47. function Quest1Chat_4(NPC, Spawn)
  48. FaceTarget(NPC, Spawn)
  49. conversation = CreateConversation()
  50. PlayFlavor(NPC, "gerla_meltwater/halas/new_halas_guard_house/gerla_meltwater_005.mp3", "", "", 3234303592, 778815839, Spawn)
  51. AddConversationOption(conversation, "That's amazing.", "Quest1Chat_5")
  52. StartConversation(conversation, NPC, Spawn, "Long before Mithaniel blessed this carved bit of Velious, we floated. Long and far, through moderate and warm waters we sailed. Yet frozen the bulk remained.")
  53. end
  54. function Quest1Chat_5(NPC, Spawn)
  55. FaceTarget(NPC, Spawn)
  56. conversation = CreateConversation()
  57. PlayFlavor(NPC, "gerla_meltwater/halas/new_halas_guard_house/gerla_meltwater_006.mp3", "", "", 1707551626, 618350055, Spawn)
  58. AddConversationOption(conversation, "And now that it's awake?", "Quest1Chat_6")
  59. StartConversation(conversation, NPC, Spawn, "I discovered the ancient elemental while probing the terrain with some spells. It was during one of our campaigns to remove the Ry'Gorr. Ever since then I have theorized that it may have been the cause of our eternal freeze.")
  60. end
  61. function Quest1Chat_6(NPC, Spawn)
  62. if not HasItem(Spawn, 7666) then
  63. SummonItem(Spawn, 7666)
  64. end
  65. SetStepComplete(Spawn, SeekingEducation, 2)
  66. FaceTarget(NPC, Spawn)
  67. conversation = CreateConversation()
  68. PlayFlavor(NPC, "gerla_meltwater/halas/new_halas_guard_house/gerla_meltwater_007.mp3", "", "", 2595302383, 231640410, Spawn)
  69. AddConversationOption(conversation, "Right away, Gerla.")
  70. StartConversation(conversation, NPC, Spawn, "We must induce slumber, once more! Take this satchel back to Torli Blackbow.")
  71. end