9
3

SirBaydenCauldthorn.lua 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/SirBaydenCauldthorn.lua
  3. Script Purpose : Sir Bayden Cauldthorn <Lordknight of Valor>
  4. Script Author : John Adams
  5. Script Date : 2009.03.01
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function InRange(NPC, Spawn)
  15. end
  16. function LeaveRange(NPC, Spawn)
  17. end
  18. function hailed(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. conversation = CreateConversation()
  21. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1034.mp3", "", "", 0, 0, Spawn)
  22. AddConversationOption(conversation, "Who are you?", "dlg_35_1")
  23. AddConversationOption(conversation, "Whose return are you talking about?")
  24. AddConversationOption(conversation, "I wish to gain favor with Mithaniel Marr. What can I do?")
  25. StartConversation(conversation, NPC, Spawn, "Greetings, adventurer. Remember to always hold to your courage and share it with your comrades. It will quicken His return.")
  26. end
  27. function dlg_35_1(NPC, Spawn)
  28. FaceTarget(NPC, Spawn)
  29. conversation = CreateConversation()
  30. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  31. AddConversationOption(conversation, "You sound pretty enthusiastic.")
  32. StartConversation(conversation, NPC, Spawn, "He is the Defender of the Light, the Lightbringer, the God of Valor, Mithaniel Marr. It is through him that the courageous warriors of good will fight back the evils that threaten us in these shattered times.")
  33. end
  34. function dlg_35_2(NPC, Spawn)
  35. FaceTarget(NPC, Spawn)
  36. conversation = CreateConversation()
  37. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  38. AddConversationOption(conversation, "You were sent to Qeynos?", "dlg_35_3")
  39. AddConversationOption(conversation, "What is the Order of Marr?")
  40. StartConversation(conversation, NPC, Spawn, "You'll have to excuse me if I do. I've been told I can be overzealous when speaking about my god, and on the battlefield. I believe that is why those few years ago I was sent by the elders of the Order of Marr to serve our Queen.")
  41. end
  42. function dlg_35_3(NPC, Spawn)
  43. FaceTarget(NPC, Spawn)
  44. conversation = CreateConversation()
  45. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  46. AddConversationOption(conversation, "So what about your title?")
  47. AddConversationOption(conversation, "Thank you for speaking with me. Goodbye.", "dlg_35_4")
  48. StartConversation(conversation, NPC, Spawn, "The Order of Marr works to preserve the ideals of the Marr twins, Valor and Love. We await the return of the Truthbringer and strive to hasten his coming by recovering important artifacts and knowledge that are sacred to the faithful of Mithaniel Marr. Through these means are we able to properly worship our lord. ")
  49. end
  50. function dlg_35_4(NPC, Spawn)
  51. FaceTarget(NPC, Spawn)
  52. conversation = CreateConversation()
  53. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  54. AddConversationOption(conversation, "That's impressive.", "dlg_35_5")
  55. AddConversationOption(conversation, "Good luck with that. Goodbye.")
  56. StartConversation(conversation, NPC, Spawn, "It was very recently that the elders of my order approached me with this calling. They explained to me that they all independently came to the conclusion that Lord Marr has chosen me as his voice at this time, I guess his prophet so to speak. ")
  57. end
  58. function dlg_35_5(NPC, Spawn)
  59. FaceTarget(NPC, Spawn)
  60. conversation = CreateConversation()
  61. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  62. AddConversationOption(conversation, "It sounds like you were chosen for a reason.", "dlg_35_6")
  63. AddConversationOption(conversation, "I think you are right.")
  64. StartConversation(conversation, NPC, Spawn, "I guess, but I'm not all too comfortable with it. I think I had the same impressions that the elders did, but I dismissed the thoughts. I still believe my place is out in the field, fighting back the evil that threatens all the shattered lands. Wouldn't a priest be more appropriate for this kind of thing?")
  65. end
  66. function dlg_35_6(NPC, Spawn)
  67. FaceTarget(NPC, Spawn)
  68. conversation = CreateConversation()
  69. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  70. AddConversationOption(conversation, "Can you tell me more of the Truthbringer?", "dlg_35_7")
  71. AddConversationOption(conversation, "Goodbye.")
  72. StartConversation(conversation, NPC, Spawn, "You could be right. I wouldn't begin to claim I understand the grand scheme of the Truthbringer. I guess we shall have to let time tell us if the choice was right.")
  73. end
  74. function dlg_35_7(NPC, Spawn)
  75. FaceTarget(NPC, Spawn)
  76. conversation = CreateConversation()
  77. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  78. AddConversationOption(conversation, "You sound pretty enthusiastic.", "dlg_35_8")
  79. StartConversation(conversation, NPC, Spawn, "He is the Defender of the Light, the Lightbringer, the God of Valor, Mithaniel Marr. It is through him that the courageous warriors of good will fight back the evils that threaten us in these shattered times.")
  80. end
  81. function dlg_35_8(NPC, Spawn)
  82. FaceTarget(NPC, Spawn)
  83. conversation = CreateConversation()
  84. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  85. AddConversationOption(conversation, "You were sent to Qeynos?", "dlg_35_9")
  86. AddConversationOption(conversation, "What is the Order of Marr?")
  87. StartConversation(conversation, NPC, Spawn, "You'll have to excuse me if I do. I've been told I can be overzealous when speaking about my god, and on the battlefield. I believe that is why those few years ago I was sent by the elders of the Order of Marr to serve our Queen.")
  88. end
  89. function dlg_35_9(NPC, Spawn)
  90. FaceTarget(NPC, Spawn)
  91. conversation = CreateConversation()
  92. PlayFlavor(NPC, "sir_bayden_cauldthorn/liveevents/exp03/marr_bayden010.mp3", "", "", 1989160172, 3091398690, Spawn)
  93. AddConversationOption(conversation, "So you are oathbound to Qeynos?", "dlg_35_10")
  94. AddConversationOption(conversation, "I see. Well, I have to go. Goodbye.")
  95. StartConversation(conversation, NPC, Spawn, "Yes. Queen Antonia requested the help of the Order of Marr to assist in the efforts to establish Qeynos as a safe haven for all people. The elders determined I was better suited to defending Qeynos than the more subtle work that was being carried on in the Overlord's backyard. I think they were afraid I was going to take on the entire Freeport Militia myself one day. Hahaha. ")
  96. end
  97. function dlg_35_10(NPC, Spawn)
  98. FaceTarget(NPC, Spawn)
  99. conversation = CreateConversation()
  100. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  101. AddConversationOption(conversation, "What do you mean?", "dlg_35_11")
  102. AddConversationOption(conversation, "I have to go now, Goodbye.")
  103. StartConversation(conversation, NPC, Spawn, "I swore before Queen Antonia and her most trusted confidant, Murrar Shar, that I would serve her and protect her people with all of the Valor in Lord Marr's Halls of Honor. However, a matter of greater importance is upon us this day.")
  104. end
  105. function dlg_35_11(NPC, Spawn)
  106. FaceTarget(NPC, Spawn)
  107. conversation = CreateConversation()
  108. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  109. AddConversationOption(conversation, "That's impressive.", "dlg_35_12")
  110. AddConversationOption(conversation, "Good luck with that. Goodbye.")
  111. StartConversation(conversation, NPC, Spawn, "It was very recently that the elders of my order approached me with this calling. They explained to me that they all independently came to the conclusion that Lord Marr has chosen me as his voice at this time, I guess his prophet so to speak. ")
  112. end
  113. function dlg_35_12(NPC, Spawn)
  114. FaceTarget(NPC, Spawn)
  115. conversation = CreateConversation()
  116. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  117. AddConversationOption(conversation, "It sounds like you were chosen for a reason.", "dlg_35_13")
  118. AddConversationOption(conversation, "I think you are right.")
  119. StartConversation(conversation, NPC, Spawn, "I guess, but I'm not all too comfortable with it. I think I had the same impressions that the elders did, but I dismissed the thoughts. I still believe my place is out in the field, fighting back the evil that threatens all the shattered lands. Wouldn't a priest be more appropriate for this kind of thing?")
  120. end
  121. function dlg_35_13(NPC, Spawn)
  122. FaceTarget(NPC, Spawn)
  123. conversation = CreateConversation()
  124. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  125. AddConversationOption(conversation, "Can you tell me more of the Truthbringer?", "dlg_35_14")
  126. AddConversationOption(conversation, "Goodbye.")
  127. StartConversation(conversation, NPC, Spawn, "You could be right. I wouldn't begin to claim I understand the grand scheme of the Truthbringer. I guess we shall have to let time tell us if the choice was right.")
  128. end