Brashk.lua 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. --[[
  2. Script Name : SpawnScripts/TempleSt/Brashk.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.10.27 12:10:31
  5. Script Purpose :
  6. :
  7. --]]
  8. local Makeup = 5925
  9. require "SpawnScripts/Generic/DialogModule"
  10. function spawn(NPC)
  11. SetInfoStructString(NPC, "action_state", "gathering_search")
  12. end
  13. --
  14. function respawn(NPC)
  15. spawn(NPC)
  16. end
  17. function hailed(NPC, Spawn)
  18. Dialog1(NPC, Spawn)
  19. end
  20. function Dialog1(NPC, Spawn)
  21. FaceTarget(NPC, Spawn)
  22. Dialog.New(NPC, Spawn)
  23. Dialog.AddDialog("A new treasure lurks in every corner! Ooooh! ")
  24. Dialog.AddVoiceover("voiceover/english/optional1/brashk/fprt_hood03/qst_brashk.mp3", 67711495, 2241704250)
  25. if GetQuestStep(Spawn, Makeup)==1 then
  26. Dialog.AddOption("Brashk said he didn't have any more makeup.","Dialog2")
  27. end
  28. Dialog.AddOption("I bet it does... if you treasure filth, that is. Goodbye.")
  29. Dialog.Start()
  30. end
  31. function Dialog2(NPC, Spawn)
  32. SetStepComplete(Spawn,Makeup,1)
  33. FaceTarget(NPC, Spawn)
  34. Dialog.New(NPC, Spawn)
  35. Dialog.AddDialog("Oh no! OH NO!!!! I no have any more of the makeup! I ... uh ... I got the makeup from a tall Erudite. She is a magical, magical witch she is, and she makes me some makeup so I can give it to Krysa. I have no more ... Boooo hooooo hooooo!!!! Now Krysa will never give me a kiss... WAAAAHHHHHH!!!! ")
  36. Dialog.AddVoiceover("voiceover/english/optional1/brashk/fprt_hood03/quests/krysa/brashk_krysa_x1_initial.mp3", 0, 0) --NO KEYS
  37. PlayFlavor(NPC, "","","cry",0,0, Spawn)
  38. Dialog.AddOption("Get ahold of yourself! She must know about this.")
  39. Dialog.Start()
  40. end