9
3

Chrna.lua 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. --[[
  2. Script Name : SpawnScripts/TempleStreet/Chrna.lua
  3. Script Purpose : Chrna
  4. Script Author : torsten
  5. Script Date : 2022.07.19
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. local TheMissingBook = 5681
  10. function spawn(NPC)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. if GetQuestStep(Spawn, TheMissingBook) == 1 then
  17. FaceTarget(NPC, Spawn)
  18. Dialog.New(NPC, Spawn)
  19. Dialog.AddDialog("I do not have that missing book! I don't know where it is. ")
  20. Dialog.AddOption("I hope you don't lie...")
  21. Dialog.Start()
  22. SetStepComplete(Spawn, TheMissingBook, 1)
  23. else
  24. Dialog1(NPC, Spawn)
  25. end
  26. end
  27. function Dialog1(NPC, Spawn)
  28. FaceTarget(NPC, Spawn)
  29. Dialog.New(NPC, Spawn)
  30. Dialog.AddDialog("Chrna look for hidden treasures. Maybe you see where they are, yes? ")
  31. Dialog.AddVoiceover("voiceover/english/chrna/fprt_hood03/qst_chrna.mp3", 1920372216, 1161082682)
  32. Dialog.AddOption("I haven't seen any, but will keep an eye out for you. Good luck!")
  33. Dialog.Start()
  34. end