9
3

makeup_for_krysa.lua 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. --[[
  2. Script Name : Quests/TempleStreet/makeup_for_krysa.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.11.07 09:11:10
  5. Script Purpose :
  6. Zone : TempleStreet
  7. Quest Giver: Krysa
  8. Preceded by: None
  9. Followed by:
  10. --]]
  11. require "SpawnScripts/Generic/DialogModule"
  12. function Init(Quest)
  13. AddQuestStepChat(Quest, 1, "I need to speak with Brashk near the docks.", 1, "I need to find Brashk here in Temple Street and get the makeup from him.", 11, 1360043)
  14. AddQuestStepCompleteAction(Quest, 1, "Step1Complete")
  15. end
  16. function Step1Complete(Quest, QuestGiver, Player)
  17. UpdateQuestStepDescription(Quest, 1, "I've spoken with Brashk.")
  18. UpdateQuestTaskGroupDescription(Quest, 1, "I've spoken to Brashk, but he says he doesn't have any more makeup. Supposedly he got it from some mage in Stonestair Byway.")
  19. AddQuestStepChat(Quest, 2, "I need to tell Krysa the bad news.", 1, "I should let Krysa that Brashk did not have any more makeup for her.", 11, 1360042)
  20. AddQuestStepCompleteAction(Quest, 2, "QuestComplete")
  21. end
  22. function Accepted(Quest, QuestGiver, Player)
  23. FaceTarget(QuestGiver, Player)
  24. Dialog.New(QuestGiver, Player)
  25. Dialog.AddDialog("I lost the makeup that makes my lips so pretty. I think my ugly sister tooks it from me, but she says she didn't. It could be that hag, Spezi ... hmmm ... Doesn't matter! I need more makeups but if I leave this bar, I make no money! Go to Brashk, he's a rubbish picker, and tell him I needs more makeup, okay? ")
  26. Dialog.AddVoiceover("voiceover/english/krysa/fprt_hood03/quests/krysa/krysa_x1_accept.mp3", 2773775534, 2917895269)
  27. PlayFlavor(QuestGiver,"","","pout",0,0,Player)
  28. Dialog.AddOption("I'll see if he has any.")
  29. Dialog.Start()
  30. end
  31. function Declined(Quest, QuestGiver, Player)
  32. -- Add dialog here for when the quest is declined
  33. end
  34. function Deleted(Quest, QuestGiver, Player)
  35. -- Remove any quest specific items here when the quest is deleted
  36. end
  37. function QuestComplete(Quest, QuestGiver, Player)
  38. -- The following UpdateQuestStepDescription and UpdateTaskGroupDescription are not needed, parser adds them for completion in case stuff needs to be moved around
  39. UpdateQuestStepDescription(Quest, 1, "I've spoken to Krysa.")
  40. UpdateQuestTaskGroupDescription(Quest, 1, "I have told Krysa about the fact that Brashk has no more makeup.")
  41. UpdateQuestDescription(Quest, "I told Krysa that Brashk didn't have any of the makeup and she had a conniption fit. I never even got my free drink!")
  42. GiveQuestReward(Quest, Player)
  43. end
  44. function Reload(Quest, QuestGiver, Player, Step)
  45. if Step == 1 then
  46. Step1Complete(Quest, QuestGiver, Player)
  47. elseif Step == 2 then
  48. QuestComplete(Quest, QuestGiver, Player)
  49. end
  50. end