TadIronstein.lua 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/TadIronstein.lua
  3. Script Purpose : Tad Ironstein
  4. Script Author : theFoof
  5. Script Date : 2013.06.09
  6. Script Notes :
  7. --]]
  8. local ReportSpine = 44
  9. local NightmareOver = 73
  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 GetQuestStep(Spawn, ReportSpine) == 1 or GetQuestStep(Spawn, NightmareOver) == 1 then
  19. PlayFlavor(NPC, "tad_ironstein/halas/cragged_spine/tad_ironstein_001.mp3", "", "", 159212760, 893738328, Spawn)
  20. AddConversationOption(conversation, GetName(Spawn) .. ", reporting for duty!", "Quest1Chat_1")
  21. AddConversationOption(conversation, "Belka sent me.", "Quest1Chat_1")
  22. AddConversationOption(conversation, "What can I do to help?", "Quest1Chat_1")
  23. AddConversationOption(conversation, "I'm going to have a look around, first. Goodbye.")
  24. StartConversation(conversation, NPC, Spawn, "Oi! We're in a heap of trouble. It's about time we got some fresh blood to help stave off the Ry'Gorr offensive.")
  25. elseif HasCompletedQuest(Spawn, ReportSpine) then
  26. Quest1Chat_2(NPC, Spawn)
  27. end
  28. end
  29. function Quest1Chat_1(NPC, Spawn)
  30. FaceTarget(NPC, Spawn)
  31. conversation = CreateConversation()
  32. PlayFlavor(NPC, "tad_ironstein/halas/cragged_spine/tad_ironstein_002.mp3", "", "", 767750494, 124592983, Spawn)
  33. AddConversationOption(conversation, "I prefer to stand. What's going on?", "Quest1Chat_2")
  34. AddConversationOption(conversation, "Go ahead. I'm listening.", "Quest1Chat_2")
  35. AddConversationOption(conversation, "I'm going to have a look around, first. Goodbye.")
  36. StartConversation(conversation, NPC, Spawn, "I've heard good things about ye, " .. GetName(Spawn) .. ". Cop a squat and let me fill ye in on the details of our predicament.")
  37. end
  38. function Quest1Chat_2(NPC, Spawn)
  39. if not HasCompletedQuest(Spawn, NightmareOver) then
  40. SetStepComplete(Spawn, NightmareOver, 1)
  41. end
  42. if not HasCompletedQuest(Spawn, ReportSpine) then
  43. SetStepComplete(Spawn, ReportSpine, 1)
  44. end
  45. FaceTarget(NPC, Spawn)
  46. conversation = CreateConversation()
  47. PlayFlavor(NPC, "tad_ironstein/halas/cragged_spine/tad_ironstein_003.mp3", "", "", 4232630025, 1474295833, Spawn)
  48. AddConversationOption(conversation, "Alright. Anything else?", "Quest1Chat_3")
  49. AddConversationOption(conversation, "I'll see to it. Goodbye!")
  50. StartConversation(conversation, NPC, Spawn, "Hillfred Kinlock is the lass to talk to for your next assignment in tackling the Ry'Gorr that have been assaulting our camp.")
  51. end
  52. function Quest1Chat_3(NPC, Spawn)
  53. FaceTarget(NPC, Spawn)
  54. conversation = CreateConversation()
  55. PlayFlavor(NPC, "tad_ironstein/halas/cragged_spine/tad_ironstein_004.mp3", "", "", 2381720580, 2582728568, Spawn)
  56. AddConversationOption(conversation, "Alright. Anything else?", "Quest1Chat_4")
  57. AddConversationOption(conversation, "I'll see to it. Goodbye!")
  58. StartConversation(conversation, NPC, Spawn, "We're under siege from not just orcs, but blasted imps as well. I understand Knut Orcbane is lookin' for adventurers willing to deal with the mischievous monsters. He's looking for his sanity as well, so maybe ye can help him find that too.")
  59. end
  60. function Quest1Chat_4(NPC, Spawn)
  61. FaceTarget(NPC, Spawn)
  62. conversation = CreateConversation()
  63. PlayFlavor(NPC, "tad_ironstein/halas/cragged_spine/tad_ironstein_005.mp3", "", "", 520233498, 1846378100, Spawn)
  64. AddConversationOption(conversation, "Alright. Anything else?", "Quest1Chat_5")
  65. AddConversationOption(conversation, "I'll see to it. Goodbye!")
  66. StartConversation(conversation, NPC, Spawn, "Thirin Veliumdelver is worried about the current state of our equipment, and I don't blame him. Our gear is falling apart from extended use, so there's real reason to be worried.")
  67. end
  68. function Quest1Chat_5(NPC, Spawn)
  69. FaceTarget(NPC, Spawn)
  70. conversation = CreateConversation()
  71. PlayFlavor(NPC, "tad_ironstein/halas/cragged_spine/tad_ironstein_006.mp3", "", "", 678304878, 2445816043, Spawn)
  72. AddConversationOption(conversation, "Alright. Anything else?", "Quest1Chat_6")
  73. AddConversationOption(conversation, "I'll see to it. Goodbye!")
  74. StartConversation(conversation, NPC, Spawn, "Lastly, Odon Scourgeson thinks he's come up with a way to shroud the beach front in a whorl of mist to confuse the Ry'Gorr. Sounds crazy to me, but I've always been a fan of the more direct hands-on approach.")
  75. end
  76. function Quest1Chat_6(NPC, Spawn)
  77. FaceTarget(NPC, Spawn)
  78. conversation = CreateConversation()
  79. PlayFlavor(NPC, "tad_ironstein/halas/cragged_spine/tad_ironstein_007.mp3", "", "", 3904075644, 3425628781, Spawn)
  80. AddConversationOption(conversation, "Glad to be here.")
  81. AddConversationOption(conversation, "I'll see what I can do to help.")
  82. StartConversation(conversation, NPC, Spawn, "That'll do, for starters. Glad to have ye aboard, " .. GetName(Spawn) .. ".")
  83. end