SkalVethiz.lua 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. --[[
  2. Script Name : SpawnScripts/ScaleYard/SkalVethiz.lua
  3. Script Purpose : Skal Vethiz
  4. Script Author : John Adams
  5. Script Date : 2008.10.01
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. local Mage1 = 5902
  9. require "SpawnScripts/Generic/DialogModule"
  10. function spawn(NPC)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. if GetFactionAmount(Spawn,12) >0 then
  17. Dialog1(NPC, Spawn)
  18. else
  19. PlayFlavor(NPC,"","","cutthroat",0,0,Spawn)
  20. end
  21. end
  22. -- PlayFlavor(NPC, "", "What have we iksar become? We live next to barbarians and accept it? We once had a great Empire.", "pout", 0, 0, Spawn, 0)
  23. function Dialog1(NPC, Spawn)
  24. FaceTarget(NPC, Spawn)
  25. Dialog.New(NPC, Spawn)
  26. Dialog.AddDialog("What have we iksar become? We live next to barbarians and accept it? We once had a great Empire.")
  27. Dialog.AddVoiceover("voiceover/english/skal_vethiz/fprt_hood06/qst_skalvethiz.mp3", 632016145, 49250829)
  28. Dialog.AddOption("I don't really care. Bye.")
  29. Dialog.AddOption("What empire?", "Dialog2")
  30. if HasQuest(Spawn,Mage1) and GetQuestStepProgress(Spawn,Mage1,8)== 0 then
  31. Dialog.AddOption("I understand you witnessed a summoning today. What was summoned?", "Dialog3")
  32. end
  33. Dialog.Start()
  34. end
  35. function Dialog2(NPC, Spawn)
  36. FaceTarget(NPC, Spawn)
  37. Dialog.New(NPC, Spawn)
  38. Dialog.AddDialog("What? You know nothing of the greatest empire to dominate the face of Norrath?! We conquered the continent of Kunark! Kingdoms on Antonica and Faydwer trembled at the mere whisper of the iksar name. Before the Shattering, the Iksarian Empire held the entire world in its grasp! Now look at us. We're reduced to squatting in the corner of some human city.")
  39. Dialog.AddVoiceover("voiceover/english/skal_vethiz/fprt_hood06/qst_skalvethiz000.mp3", 4224301835, 4229334233)
  40. Dialog.AddOption("Sorry to hear it.")
  41. Dialog.Start()
  42. end
  43. function Dialog3(NPC, Spawn)
  44. SetStepComplete(Spawn,Mage1,8)
  45. FaceTarget(NPC, Spawn)
  46. Dialog.New(NPC, Spawn)
  47. Dialog.AddDialog("I couldn't see anything because of the blinding light, but I could feel it. That crazy mage summoned a huge snake. I barely made it out of there with my life, I did. One moment I was wondering who turned off the sun, then I felt a snake wrap around my neck.")
  48. Dialog.AddVoiceover("voiceover/english/skal_vethiz/fprt_hood06/qst_skalvethiz001.mp3", 3405726897, 4260366325)
  49. PlayFlavor(NPC,"","","confused",0,0,Spawn)
  50. Dialog.AddOption("He summoned a snake... thank you.")
  51. Dialog.Start()
  52. end