LaudineShardalow.lua 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. --[[
  2. Script Name : SpawnScripts/Nettleville/LaudineShardalow.lua
  3. Script Purpose : Laudine Shardalow
  4. Script Author : Scatman
  5. Script Date : 2009.08.08
  6. Script Notes :
  7. --]]
  8. local QUEST_3_FROM_HELAIN = 297
  9. local QUEST_4_FROM_JOHFRIT = 298
  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, QUEST_4_FROM_JOHFRIT) and GetQuestStep(Spawn, QUEST_4_FROM_JOHFRIT) == 5 then
  19. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/laudine_shardalow/qey_village01/quests/newbie_path_human/laudineshardalow014.mp3", "", "", 3899128570, 664520913, Spawn)
  20. AddConversationOption(conversation, "He did indeed. And that is why I am here.", "dlg_32_1")
  21. StartConversation(conversation, NPC, Spawn, "Didn't Johfrit Gythell have some work for you? ")
  22. elseif HasQuest(Spawn, QUEST_3_FROM_HELAIN) then
  23. if GetQuestStep(Spawn, QUEST_3_FROM_HELAIN) == 4 then
  24. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/laudine_shardalow/qey_village01/quests/newbie_path_human/laudineshardalow001.mp3", "", "hello", 533537902, 3419616012, Spawn)
  25. AddConversationOption(conversation, "Yes, and I feel like I am getting to know it rather quickly.", "dlg_23_1")
  26. StartConversation(conversation, NPC, Spawn, "Hail, friend. I do not recognize you. New to these parts? ")
  27. else
  28. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/laudine_shardalow/qey_village01/quests/newbie_path_human/laudineshardalow014.mp3", "", "ponder", 3899128570, 664520913, Spawn)
  29. AddConversationOption(conversation, "I have forgotten where he was.", "Forgot")
  30. StartConversation(conversation, NPC, Spawn, "Didn't Johfrit Gythell have some work for you? ")
  31. end
  32. else
  33. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/laudine_shardalow/qey_village01/quests/newbie_path_human/laudineshardalow011.mp3", "", "agree", 914739778, 33666592, Spawn)
  34. AddConversationOption(conversation, "And to you, madam.")
  35. StartConversation(conversation, NPC, Spawn, "It is a beautiful day! I hope the gods are smiling upon you.")
  36. end
  37. end
  38. function dlg_23_1(NPC, Spawn)
  39. FaceTarget(NPC, Spawn)
  40. conversation = CreateConversation()
  41. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/laudine_shardalow/qey_village01/quests/newbie_path_human/laudineshardalow002.mp3", "", "agree", 3635283512, 863467573, Spawn)
  42. AddConversationOption(conversation, "Yes, in fact it was Helain Conyers' advice that I come to you. ", "dlg_23_2")
  43. StartConversation(conversation, NPC, Spawn, "Met many others? ")
  44. end
  45. function dlg_23_2(NPC, Spawn)
  46. FaceTarget(NPC, Spawn)
  47. conversation = CreateConversation()
  48. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/laudine_shardalow/qey_village01/quests/newbie_path_human/laudineshardalow003.mp3", "", "", 2440988908, 3275070122, Spawn)
  49. AddConversationOption(conversation, "No thanks, it took me forever to find them all. ", "dlg_23_3")
  50. AddConversationOption(conversation, "I'd do just that, if you were willing to pay me.", "dlg_23_4")
  51. StartConversation(conversation, NPC, Spawn, "Ah, Helain. I like her. You would do well to take a page from her book.")
  52. end
  53. function dlg_23_3(NPC, Spawn)
  54. FaceTarget(NPC, Spawn)
  55. conversation = CreateConversation()
  56. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/laudine_shardalow/qey_village01/quests/newbie_path_human/laudineshardalow004.mp3", "", "no", 3519111089, 2079193245, Spawn)
  57. AddConversationOption(conversation, "Never mind. She thought maybe you would have some work for me. ", "dlg_23_4")
  58. StartConversation(conversation, NPC, Spawn, "What? ")
  59. end
  60. function dlg_23_4(NPC, Spawn)
  61. FaceTarget(NPC, Spawn)
  62. conversation = CreateConversation()
  63. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/laudine_shardalow/qey_village01/quests/newbie_path_human/laudineshardalow005.mp3", "", "shrug", 23943986, 4145393969, Spawn)
  64. AddConversationOption(conversation, "Oh? ", "dlg_23_5")
  65. StartConversation(conversation, NPC, Spawn, "Ah, no I don't, but ya know what? I bet I know who does. ")
  66. end
  67. function dlg_23_5(NPC, Spawn)
  68. FaceTarget(NPC, Spawn)
  69. conversation = CreateConversation()
  70. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/laudine_shardalow/qey_village01/quests/newbie_path_human/laudineshardalow006.mp3", "", "", 691896844, 1700542097, Spawn)
  71. AddConversationOption(conversation, "Sounds good... as long as he isn't a stable boy. ", "dlg_23_6")
  72. StartConversation(conversation, NPC, Spawn, "Go speak to Johfrit Gythell. He may have some work, as he always needs a hand.")
  73. end
  74. function dlg_23_6(NPC, Spawn)
  75. SetStepComplete(Spawn, QUEST_3_FROM_HELAIN, 4)
  76. FaceTarget(NPC, Spawn)
  77. conversation = CreateConversation()
  78. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/laudine_shardalow/qey_village01/quests/newbie_path_human/laudineshardalow007.mp3", "", "chuckle", 300914977, 1228551584, Spawn)
  79. AddConversationOption(conversation, "All right. Thank you!")
  80. StartConversation(conversation, NPC, Spawn, "Ha! No, you need not worry about that. You should find him near the Golden Scabbard armory. ")
  81. end
  82. function Forgot(NPC, Spawn)
  83. FaceTarget(NPC, Spawn)
  84. conversation = CreateConversation()
  85. AddConversationOption(conversation, "Thank you, again!")
  86. StartConversation(conversation, NPC, Spawn, "Oh. You should find him near the Golden Scabbard Armory.")
  87. end
  88. function dlg_32_1(NPC, Spawn)
  89. FaceTarget(NPC, Spawn)
  90. conversation = CreateConversation()
  91. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/laudine_shardalow/qey_village01/quests/newbie_path_human/laudineshardalow015.mp3", "", "", 1695366273, 222194149, Spawn)
  92. AddConversationOption(conversation, "Yes, madam. For a price.", "dlg_32_2")
  93. StartConversation(conversation, NPC, Spawn, "Oh, good. You have the ale for me, then?")
  94. end
  95. function dlg_32_2(NPC, Spawn)
  96. SetStepComplete(Spawn, QUEST_4_FROM_JOHFRIT, 5)
  97. FaceTarget(NPC, Spawn)
  98. conversation = CreateConversation()
  99. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/laudine_shardalow/qey_village01/quests/newbie_path_human/laudineshardalow016.mp3", "", "thanks", 4035243333, 3360697754, Spawn)
  100. AddConversationOption(conversation, "Thank you.")
  101. StartConversation(conversation, NPC, Spawn, "A price I am very willing to pay. Pleasure doing business with you.")
  102. end