9
3

KnightGrelStoneshearer.lua 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. --[[
  2. Script Name : SpawnScripts/Antonica/KnightGrelStoneshearer.lua
  3. Script Author : Premierio015
  4. Script Date : 2022.05.09 12:05:20
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. local LordGrimrotsScythe = 5522
  10. function spawn(NPC)
  11. end
  12. function hailed(NPC, Spawn)
  13. FaceTarget(NPC, Spawn)
  14. Dialog.New(NPC, Spawn)
  15. Dialog.AddDialog("And who might you be?")
  16. Dialog.AddVoiceover("voiceover/english/knight_grel_stoneshearer/antonica/quests/firemyst/grel_stoneshearer000.mp3", 3381463190, 2283836874)
  17. if GetQuestStepProgress(Spawn, LordGrimrotsScythe,1) == 0 and HasQuest(Spawn,LordGrimrotsScythe) then
  18. Dialog.AddOption( "Ignar Steadirt sent me.", "Option1")
  19. end
  20. Dialog.AddOption("Just passing through, sorry to interrupt you.")
  21. Dialog.Start()
  22. end
  23. function Option1(NPC, Spawn)
  24. FaceTarget(NPC, Spawn)
  25. Dialog.New(NPC, Spawn)
  26. Dialog.AddDialog("Ignar? Oh, I'll bet he's waiting on a report! Poor fellow, he can't hear with one ear, you know. That's why he's been assigned duty out of harm's way.")
  27. Dialog.AddVoiceover("voiceover/english/knight_grel_stoneshearer/antonica/quests/firemyst/grel_stoneshearer001.mp3", 1129984683, 980692304)
  28. Dialog.AddOption("Do you have your report? Ignar asked me to pick them up.", "Option2")
  29. Dialog.Start()
  30. end
  31. function Option2(NPC, Spawn)
  32. SetStepComplete(Spawn, LordGrimrotsScythe, 1)
  33. FaceTarget(NPC, Spawn)
  34. Dialog.New(NPC, Spawn)
  35. Dialog.AddDialog("Yes, here it is. The word is, something peculiar's going on ... apparently, there's a group of gnolls--the little wretches--that are trying to conjure up an undead invasion. I'm not sure what they're using, but the activity of the undead has increased. I will send word to Ignar without delay should I learn more.")
  36. Dialog.AddVoiceover("voiceover/english/knight_grel_stoneshearer/antonica/quests/firemyst/grel_stoneshearer002.mp3", 1531924790, 1319128858)
  37. PlayFlavor(NPC, "", "", "nod", 0, 0, Spawn)
  38. Dialog.AddOption("I'll let Ignar know.")
  39. Dialog.Start()
  40. end
  41. function respawn(NPC)
  42. spawn(NPC)
  43. end