9
3

PriestIanTurner.lua 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. --[[
  2. Script Name : SpawnScripts/NorthQeynos/PriestIanTurner.lua
  3. Script Author : Premierio015 is a gansta
  4. Script Date : 2020.05.16 05:05:10
  5. Script Purpose :
  6. :
  7. --]]
  8. local ForgottenShroud = 528
  9. local ACrumpledNote = 5435
  10. function spawn(NPC)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. FaceTarget(NPC, Spawn)
  17. conversation = CreateConversation()
  18. if HasQuest(Spawn, ForgottenShroud) and GetQuestStep(Spawn, ForgottenShroud) == 1 then
  19. PlayFlavor(NPC, "voiceover/english/priest_ian_turner/qey_north/priestianturner000.mp3", "", "", 3050768414, 1599241603, Spawn)
  20. AddConversationOption(conversation, "I've recovered a shroud from the catacombs, can you help me?", "speak")
  21. StartConversation(conversation, NPC, Spawn, "Raise not your hand in judgment of others, for one day they may be your salvation.")
  22. elseif HasQuest(Spawn, ACrumpledNote) then
  23. PlayFlavor(NPC, "voiceover/english/priest_ian_turner/qey_north/priestianturner000.mp3", "", "hail", 3050768414, 1599241603, Spawn)
  24. AddConversationOption(conversation, "The priests here should see this note I found.", "FindThis")
  25. StartConversation(conversation, NPC, Spawn, "Raise not your hand in judgment of others, for one day they may be your salvation.")
  26. else
  27. PlayFlavor(NPC, "voiceover/english/priest_ian_turner/qey_north/priestianturner000.mp3", "Raise not your hand in judgment of others, for one day they may be your salvation.", "hail", 3050768414, 1599241603, Spawn)end
  28. end
  29. --[[function hailed(NPC, Spawn)
  30. FaceTarget(NPC, Spawn)
  31. conversation = CreateConversation()
  32. if HasQuest(Spawn, ACrumpledNote) then
  33. StartConversation(conversation, NPC, Spawn, "Raise not your hand in judgment of others, for one day they may be your salvation.")
  34. AddConversationOption(conversation, "The priests here should see this note I found", "FindThis")
  35. end]]
  36. --Crumpled Note Quest
  37. function FindThis(NPC, Spawn)
  38. FaceTarget(NPC, Spawn)
  39. conversation = CreateConversation()
  40. PlayFlavor(NPC, "", "", "ponder", 0, 0, Spawn)
  41. AddConversationOption(conversation, "I found it on a Ratonga lurking in the catacombs. I believe it may be something important.","quest_complete")
  42. StartConversation(conversation, NPC, Spawn, "Where did you find this?")
  43. end
  44. function quest_complete(NPC, Spawn)
  45. SetStepComplete(Spawn, ACrumpledNote, 1)
  46. conversation = CreateConversation()
  47. PlayFlavor(NPC, "", "", "thank", 0, 0, Spawn)
  48. AddConversationOption(conversation, "Thank you, I knew the Temple would take this seriously.")
  49. StartConversation(conversation, NPC, Spawn, "Interesting. I will certainly address this. Thank you for bringing it to my attention. Please, allow our priesthood to award you.")
  50. end
  51. function FindThis(NPC, Spawn)
  52. FaceTarget(NPC, Spawn)
  53. conversation = CreateConversation()
  54. PlayFlavor(NPC, "", "", "ponder", 0, 0, Spawn)
  55. AddConversationOption(conversation, "I found it on a Ratonga lurking in the catacombs. I believe it may be something important.","quest_complete")
  56. StartConversation(conversation, NPC, Spawn, "Where did you find this?")
  57. end
  58. --- 2nd quest burial shroud
  59. function speak(NPC, Spawn)
  60. FaceTarget(NPC, Spawn)
  61. conversation = CreateConversation()
  62. PlayFlavor(NPC, "voiceover/english/priest_ian_turner/qey_north/priestianturner003.mp3", "", "", 155358629, 2115296012, Spawn)
  63. AddConversationOption(conversation, "Sir, I found it on one of the denizens of the catacombs. I wanted to know where to return it to.", "apologize")
  64. StartConversation(conversation, NPC, Spawn, "You disturbed a burial chamber? What right do you have to commit such an atrocity? How could you violate someone in death? Speak, before I truly lose my temper!")
  65. end
  66. function apologize(NPC, Spawn)
  67. FaceTarget(NPC, Spawn)
  68. conversation = CreateConversation()
  69. PlayFlavor(NPC, "voiceover/english/priest_ian_turner/qey_north/priestianturner004.mp3", "", "", 1886276171, 266052076, Spawn)
  70. AddConversationOption(conversation, "Thank you, I wouldn't ever disturb a crypt.", "takeshroudback")
  71. StartConversation(conversation, NPC, Spawn, "In that case, I apologize. Disturbing the sancitity of a grave is one of the few things that I feel reaches the depths of depravity. Let me have a look. I'll see what I can find for you.")
  72. end
  73. function takeshroudback(NPC, Spawn)
  74. FaceTarget(NPC, Spawn)
  75. conversation = CreateConversation()
  76. PlayFlavor(NPC, "voiceover/english/priest_ian_turner/qey_north/priestianturner005.mp3", "", "", 2152101643, 1181741366, Spawn)
  77. AddConversationOption(conversation, "How will I know which body this should be placed over?", "LordMrallon")
  78. StartConversation(conversation, NPC, Spawn, "This doesn't look like a used burial shroud. It's far too clean. Unless ... no, the undead cannot venture there ... can they? Quickly, take this shroud back to the catacombs, and return it to the position above the tomb whence it came. Take this box with you, and it will open when you replace the shroud.")
  79. end
  80. function LordMrallon(NPC, Spawn)
  81. SetStepComplete(Spawn, ForgottenShroud, 1)
  82. FaceTarget(NPC, Spawn)
  83. conversation = CreateConversation()
  84. PlayFlavor(NPC, "voiceover/english/priest_ian_turner/qey_north/priestianturner006.mp3", "", "", 1072418166, 1690433050, Spawn)
  85. AddConversationOption(conversation, "I will do so.")
  86. StartConversation(conversation, NPC, Spawn, "The site you seek is the tomb of Lord Mrallon. Many times he valiantly proved his worth to the city of Qeynos. You will search for the knight with the green armor and place this shroud over the likeness of his body.")
  87. end