9
3

DandiMcCarren.lua 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/DandiMcCarren.lua
  3. Script Purpose : Dandi McCarren
  4. Script Author : theFoof
  5. Script Date : 2013.08.19
  6. Script Notes :
  7. --]]
  8. local TrustIssues = 85
  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. conversation = CreateConversation()
  17. if HasQuest(Spawn, TrustIssues) and not QuestStepIsComplete(Spawn, TrustIssues, 2) then
  18. PlayFlavor(NPC, "dandi_mccarren/halas/new_halas_guard_house/dandi_mccarren001.mp3", "", "", 4065222914, 2283262367, Spawn)
  19. AddConversationOption(conversation, "I have a few questions.", "Quest1Chat_1")
  20. AddConversationOption(conversation, "Can you tell me what you're doing here?", "Quest1Chat_6")
  21. AddConversationOption(conversation, "This isn't worth it. Nevermind.")
  22. StartConversation(conversation, NPC, Spawn, "I've got a lot of work to do. Can you make this quick?")
  23. elseif HasQuest(Spawn, TrustIssues) then
  24. PlayFlavor(NPC, "", "You're still here?", "", 0, 0, Spawn)
  25. else
  26. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1009.mp3", "I can hammer metal faster than you can blink.", "", 0, 0, Spawn)
  27. end
  28. end
  29. function Quest1Chat_1(NPC, Spawn)
  30. FaceTarget(NPC, Spawn)
  31. conversation = CreateConversation()
  32. PlayFlavor(NPC, "dandi_mccarren/halas/new_halas_guard_house/dandi_mccarren002.mp3", "", "", 2997702054, 4169410593, Spawn)
  33. AddConversationOption(conversation, "Why did you come to Erollis? ", "Quest1Chat_2")
  34. AddConversationOption(conversation, "Why don't you leave?", "Quest1Chat_2")
  35. AddConversationOption(conversation, "Whatever, I don't have the time for this.")
  36. StartConversation(conversation, NPC, Spawn, "It'll be faster to answer your questions than to shoo you away, I'm sure. What do you want?")
  37. end
  38. function Quest1Chat_2(NPC, Spawn)
  39. FaceTarget(NPC, Spawn)
  40. conversation = CreateConversation()
  41. PlayFlavor(NPC, "dandi_mccarren/halas/new_halas_guard_house/dandi_mccarren004.mp3", "", "", 2246027108, 3016893607, Spawn)
  42. AddConversationOption(conversation, "I do know what that's like.", "Quest1Chat_3")
  43. AddConversationOption(conversation, "I don't know what that's like.", "Quest1Chat_3")
  44. AddConversationOption(conversation, "I'll ask the questions here!", "Quest1Chat_8")
  45. StartConversation(conversation, NPC, Spawn, "Let me put it this way: do you know what it's like to be displaced from your homeland? Have you felt like you don't belong?")
  46. end
  47. function Quest1Chat_3(NPC, Spawn)
  48. FaceTarget(NPC, Spawn)
  49. conversation = CreateConversation()
  50. PlayFlavor(NPC, "dandi_mccarren/halas/new_halas_guard_house/dandi_mccarren006.mp3", "", "", 234929252, 3290173917, Spawn)
  51. AddConversationOption(conversation, "True, there's no city quite like New Halas.", "Quest1Chat_4")
  52. AddConversationOption(conversation, "So this is where you want to settle down?", "Quest1Chat_4")
  53. AddConversationOption(conversation, "Whatever, I don't have the time for this.")
  54. StartConversation(conversation, NPC, Spawn, "Well that's what it was like, for me, before Erollis was discovered. I'd done my fair share of traveling and called a few different cities 'home', but it never sat right. It never felt like home.")
  55. end
  56. function Quest1Chat_4(NPC, Spawn)
  57. FaceTarget(NPC, Spawn)
  58. conversation = CreateConversation()
  59. PlayFlavor(NPC, "dandi_mccarren/halas/new_halas_guard_house/dandi_mccarren007.mp3", "", "", 2015097155, 2674343560, Spawn)
  60. AddConversationOption(conversation, "What do you like about Erollis?", "Quest1Chat_5")
  61. AddConversationOption(conversation, "What books did you read?", "Quest1Chat_7")
  62. AddConversationOption(conversation, "Whatever, I don't have the time for this.")
  63. StartConversation(conversation, NPC, Spawn, "From the stories passed down by my Nana, and from the books I've read, this town is about as close to Old Halas as we're likely to get. Life here is what it was like to be a barbarian five hundred years ago.")
  64. end
  65. function Quest1Chat_5(NPC, Spawn)
  66. SetStepComplete(Spawn, TrustIssues, 2)
  67. FaceTarget(NPC, Spawn)
  68. conversation = CreateConversation()
  69. PlayFlavor(NPC, "dandi_mccarren/halas/new_halas_guard_house/dandi_mccarren009.mp3", "", "", 2546556899, 2243252862, Spawn)
  70. AddConversationOption(conversation, "Yes, thank you.")
  71. AddConversationOption(conversation, "That's what I needed to know.")
  72. StartConversation(conversation, NPC, Spawn, "I like the crunch of snow under my feet. I like the sturdy stone structures. I like being close to my community. I like sitting around the fire listening to the wind whipping outside. I like tartan kilts and hard scotch. Does that answer your question?")
  73. end
  74. function Quest1Chat_6(NPC, Spawn)
  75. FaceTarget(NPC, Spawn)
  76. conversation = CreateConversation()
  77. AddConversationOption(conversation, "Um...I'm taking a poll.", "Quest1Chat_1")
  78. AddConversationOption(conversation, "There's no need to get upset!", "Quest1Chat_1")
  79. AddConversationOption(conversation, "I was just leaving.")
  80. StartConversation(conversation, NPC, Spawn, "What am I doing here? What are YOU doing here?")
  81. end
  82. function Quest1Chat_7(NPC, Spawn)
  83. FaceTarget(NPC, Spawn)
  84. conversation = CreateConversation()
  85. AddConversationOption(conversation, "What do you like about Erollis?", "Quest1Chat_5")
  86. AddConversationOption(conversation, "Whatever, I don't have time for this.")
  87. StartConversation(conversation, NPC, Spawn, "A collection of quaint and curious volumes of forgotten lore. I doubt you've heard of them.")
  88. end
  89. function Quest1Chat_8(NPC, Spawn)
  90. FaceTarget(NPC, Spawn)
  91. conversation = CreateConversation()
  92. AddConversationOption(conversation, "I was just leaving.")
  93. StartConversation(conversation, NPC, Spawn, "Bah. Get out of my sight!")
  94. end