Hurska.lua 891 B

12345678910111213141516171819202122232425262728293031323334353637
  1. --[[
  2. Script Name : SpawnScripts/BigBend/Hurska.lua
  3. Script Purpose : Hurska
  4. Script Author : torsten
  5. Script Date : 2022.07.10
  6. Script Notes :
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. local HopsForGalenus = 5626
  10. function spawn(NPC)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. if HasLanguage(Spawn, 15) then
  17. if HasQuest(Spawn, HopsForGalenus) and not HasCompletedQuest(Spawn, HopsForGalenus) then
  18. SetStepComplete(Spawn, HopsForGalenus, 1)
  19. end
  20. Dialog1(NPC, Spawn)
  21. end
  22. end
  23. function Dialog1(NPC, Spawn)
  24. FaceTarget(NPC, Spawn)
  25. Dialog.New(NPC, Spawn)
  26. Dialog.AddDialog("Why are you botherin' Hurska?")
  27. Dialog.AddVoiceover("voiceover/english/optional5/hurska/hurska_line1_64.mp3", 4288363486, 696744928)
  28. Dialog.AddOption("I will move on then....")
  29. Dialog.Start()
  30. end