KnightGrelStoneshearer.lua 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. local LordGrimrotsScythe = 5522
  9. function spawn(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. PlayFlavor(NPC, "voiceover/english/knight_grel_stoneshearer/antonica/quests/firemyst/grel_stoneshearer000.mp3", "", "", 3381463190, 2283836874, Spawn)
  14. local conversation = CreateConversation()
  15. if GetQuestStep(Spawn, LordGrimrotsScythe) == 1 then
  16. AddConversationOption(conversation, "Ignar Steadirt sent me.", "Option1")
  17. end
  18. AddConversationOption(conversation, "Just passing through, sorry to interrupt you.")
  19. StartConversation(conversation, NPC, Spawn, "And who might you be?")
  20. end
  21. function Option1(NPC, Spawn)
  22. FaceTarget(NPC, Spawn)
  23. local conversation = CreateConversation()
  24. PlayFlavor(NPC, "voiceover/english/knight_grel_stoneshearer/antonica/quests/firemyst/grel_stoneshearer001.mp3", "", "", 1129984683, 980692304, Spawn)
  25. AddConversationOption(conversation, "Do you have your report? Ignar asked me to pick them up.", "Option2")
  26. StartConversation(conversation, NPC, Spawn, "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. end
  28. function Option2(NPC, Spawn)
  29. SetStepComplete(Spawn, LordGrimrotsScythe, 1)
  30. FaceTarget(NPC, Spawn)
  31. local conversation = CreateConversation()
  32. PlayFlavor(NPC, "voiceover/english/knight_grel_stoneshearer/antonica/quests/firemyst/grel_stoneshearer002.mp3", "", "", 1531924790, 1319128858, Spawn)
  33. AddConversationOption(conversation, "I'll let Ignar know.")
  34. StartConversation(conversation, NPC, Spawn, "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.")
  35. end
  36. function respawn(NPC)
  37. spawn(NPC)
  38. end