9
3

searching_for_the_ruins.lua 4.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. --[[
  2. Script Name : Quests/SunkenCity/searching_for_the_ruins.lua
  3. Script Purpose : Handles the quest, "Searching for the Ruins"
  4. Script Author : Scatman
  5. Script Date : 2009.07.28
  6. Zone : Sunken City
  7. Quest Giver: Inquisitor Thorson
  8. Preceded by: Time to Stop a Madman (time_to_stop_a_madman.lua)
  9. Followed by: None
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepChat(Quest, 1, "I should make my way to the Freeport Ruins and speak to Captain Arellius.", 1, "I should go to the Ruins and speak to Captain Arellius.", 0, 1270003)
  13. AddQuestStepCompleteAction(Quest, 1, "Quest_Complete")
  14. end
  15. function Accepted(Quest, QuestGiver, Player)
  16. FaceTarget(QuestGiver, Player)
  17. conversation = CreateConversation()
  18. AddConversationOption(conversation, "How do I get there?", "dlg_24_3")
  19. AddConversationOption(conversation, "I'm leaving.")
  20. StartConversation(conversation, QuestGiver, Player, "I must remain here to finish my report for the Dismal Rage. However, I would like you to journey to the Freeport Ruins and seek out an acquaintance of mine named Captain Arellius. I have heard that your help is much needed there. I will send word that you are coming, hero of Freeport.")
  21. end
  22. function dlg_24_3(NPC, Spawn)
  23. FaceTarget(NPC, Spawn)
  24. conversation = CreateConversation()
  25. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/inquisitor_thorson/fprt_adv01_sunken/inquisitor_thorson049.mp3", "", "", 3163252250, 288796806, Spawn)
  26. AddConversationOption(conversation, "Are there any other places you could recommend where I can find adventures?", "dlg_24_4")
  27. AddConversationOption(conversation, "Thank you, Inquisitor Thorson. Farewell.")
  28. StartConversation(conversation, NPC, Spawn, "The fastest route to the Ruins is to use the mariner's bell at the end of the dock for traveling outside the city proper. This will summon transportation to take you to the Ruins, where Captain Arellius of the Freeport Militia will be awaiting your assistance.")
  29. end
  30. function dlg_24_4(NPC, Spawn)
  31. FaceTarget(NPC, Spawn)
  32. conversation = CreateConversation()
  33. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/inquisitor_thorson/fprt_adv01_sunken/inquisitor_thorson061.mp3", "", "", 2845086086, 1715171802, Spawn)
  34. AddConversationOption(conversation, "Tell me more about Custodian Zaddar.", "dlg_24_5")
  35. AddConversationOption(conversation, "Tell me more about Enforcer Kurdek.", "dlg_24_6")
  36. AddConversationOption(conversation, "I may seek them out. Thank you.")
  37. StartConversation(conversation, NPC, Spawn, "You can speak to Custodian Zaddar in the Graveyard and Enforcer Kurdek in the Sprawl. They could both use assistance from an able adventurer.")
  38. end
  39. function dlg_24_5(NPC, Spawn)
  40. FaceTarget(NPC, Spawn)
  41. conversation = CreateConversation()
  42. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/inquisitor_thorson/fprt_adv01_sunken/inquisitor_thorson062.mp3", "", "", 4025975768, 1084751097, Spawn)
  43. AddConversationOption(conversation, "Tell me more about Enforcer Kurdek.", "dlg_24_6")
  44. AddConversationOption(conversation, "Thank you for the advice.")
  45. StartConversation(conversation, NPC, Spawn, "Custodian Zaddar in the Graveyard is trying to determine what's behind a recent increase in undead attacks. Use the mariner's bell on the docks of your home district to travel to Stonestair Byway. Head west until you see a passage to the south. The gate at the end leads to the Graveyard.")
  46. end
  47. function dlg_24_6(NPC, Spawn)
  48. FaceTarget(NPC, Spawn)
  49. conversation = CreateConversation()
  50. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/inquisitor_thorson/fprt_adv01_sunken/inquisitor_thorson063.mp3", "", "", 3377387482, 1184471101, Spawn)
  51. AddConversationOption(conversation, "Tell me more about Custodian Zaddar.", "dlg_24_5")
  52. AddConversationOption(conversation, "Thank you for the advice.")
  53. StartConversation(conversation, NPC, Spawn, "Enforcer Kurdek in the Sprawl could use a hand keeping the local gangs in line. To journey to the Sprawl, use the mariner's bell on the docks of your home district to travel to Big Bend. Follow the halls north, then take the west passageway to the west gate.")
  54. end
  55. function Declined(Quest, QuestGiver, Player)
  56. end
  57. function Quest_Complete(Quest, QuestGiver, Player)
  58. UpdateQuestStepDescription(Quest, 1, "I have spoken to Captain Arellius in the Ruins.")
  59. UpdateQuestTaskGroupDescription(Quest, 1, "I have spoken to Captain Arellius.")
  60. GiveQuestReward(Quest, Player)
  61. UpdateQuestDescription(Quest, "I found the Ruins and have reported to Captain Arellius. I will now see what duties she needs me to perform.")
  62. end
  63. function Reload(Quest, QuestGiver, Player, Step)
  64. end