investigating_the_black_magi.lua 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. --[[
  2. Script Name : Quests/TheSprawl/investigating_the_black_magi.lua
  3. Script Purpose : Handles the quest, "Investigating the Black Magi"
  4. Script Author : Scatman
  5. Script Date : 2009.07.26
  6. Zone : The Sprawl
  7. Quest Giver: Enforcer Kurdek
  8. Preceded by: Bullying the Bully (bullying_the_bully.lua)
  9. Followed by: Dominating the Dervish (dominating_the_dervish.lua)
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepChat(Quest, 1, "I should look for a ratonga named Tikkeri and trick her into revealing information about the Black Magi.", 1, "I should seek a ratonga named Tikkeri deep inside the Black Magi area.", 0, 1260028)
  13. AddQuestStepCompleteAction(Quest, 1, "Step1_Complete_SpokeWithTikkeri")
  14. end
  15. function Accepted(Quest, QuestGiver, Player)
  16. FaceTarget(QuestGiver, Player)
  17. conversation = CreateConversation()
  18. PlayFlavor(QuestGiver, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek030.mp3", "", "", 903390823, 1009474399, Player)
  19. AddConversationOption(conversation, "Do you have any suggestions on how I could get her to trust me?", "dlg_27_5")
  20. AddConversationOption(conversation, "This sounds like a lost cause.")
  21. StartConversation(conversation, QuestGiver, Player, "Far back among the burned-out houses they inhabit is one of their leaders, a rat named Tikkeri. Find her and see if she'll talk to you. The Black Magi are extremely secretive, so I'm not sure if Tikkeri will trust you.")
  22. end
  23. function Declined(Quest, QuestGiver, Player)
  24. end
  25. function Step1_Complete_SpokeWithTikkeri(Quest, QuestGiver, Player)
  26. UpdateQuestStepDescription(Quest, 1, "I found Arcanist Tikkeri and learned a clue about some organization called 'the Marked.'")
  27. UpdateQuestTaskGroupDescription(Quest, 1, "I found Arcanist Tikkeri and found out about some organization called 'the Marked.'")
  28. AddQuestStepChat(Quest, 2, "I should return to Enforcer Kurdek near the gate to Big Bend.", 1, "I should return to Enforcer Kurdek and tell him what I learned.", 0, 1260017)
  29. AddQuestStepCompleteAction(Quest, 2, "Quest_Complete")
  30. end
  31. function Quest_Complete(Quest, QuestGiver, Player)
  32. UpdateQuestStepDescription(Quest, 2, "I have reported back to Enforcer Kurdek.")
  33. UpdateQuestTaskGroupDescription(Quest, 2, "I have reported back to Enforcer Kurdek.")
  34. GiveQuestReward(Quest, Player)
  35. UpdateQuestDescription(Quest, "I found Arcanish Tikkeri deep inside the Sprawl and tried to trick her by pretending that I had information about some kind of wheel. She saw through my plan, but not before I found out about some organization called 'the Marked.' I let Enforcer Kurdek know what I found out, and he will let the Dreadnaughts know so that the matter can be investigated more fully.")
  36. end
  37. function Reload(Quest, QuestGiver, Player)
  38. if Step == 1 then
  39. Step1_Complete_SpokeWithTikkeri(Quest, QuestGiver, Player)
  40. end
  41. end