MissionaryGZule.lua 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. --[[
  2. Script Name : SpawnScripts/Freeport/MissionaryGZule.lua
  3. Script Author : Premierio015
  4. Script Date : 2020.07.15 06:07:47
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. local RustySymbolOfMarr = 584
  10. local DeathCert = 5872
  11. function spawn(NPC)
  12. ProvidesQuest(NPC,DeathCert)
  13. end
  14. function hailed(NPC, Spawn)
  15. if GetFactionAmount(Spawn,12)<0 then
  16. PlayFlavor(NPC,"","","cutthroat",0,0,Spawn)
  17. else
  18. Dialog1(NPC,Spawn)
  19. end
  20. end
  21. function respawn(NPC)
  22. end
  23. function Dialog1(NPC, Spawn)
  24. FaceTarget(NPC, Spawn)
  25. Dialog.New(NPC, Spawn)
  26. Dialog.AddDialog("You better watch your step if you choose to enter the Temple of War. I would suspect the greeting for a person like yourself would be a dagger in the back rather than a handshake.")
  27. Dialog.AddVoiceover("voiceover/english/missionary_g_zule/fprt_north/qst_gzule.mp3", 1791825577, 3485372568)
  28. Dialog.AddOption("Is that why you are afraid to go in yourself, hmm? ", "Dialog2")
  29. if HasQuest(Spawn, RustySymbolOfMarr) then
  30. Dialog.AddOption("I found something that may be of interest to you.", "quest")
  31. end
  32. if CanReceiveQuest(Spawn,DeathCert) then
  33. Dialog.AddOption("Give me a task worthy of proving myself then!","Offer")
  34. end
  35. Dialog.AddOption("I think I can handle myself just fine, thanks.")
  36. Dialog.Start()
  37. end
  38. function Offer(NPC, Spawn)
  39. FaceTarget(NPC, Spawn)
  40. OfferQuest(NPC,Spawn,DeathCert)
  41. end
  42. function Dialog2(NPC, Spawn)
  43. FaceTarget(NPC, Spawn)
  44. Dialog.New(NPC, Spawn)
  45. Dialog.AddDialog("It is my station to be here, you worm. Soon enough I'll take my place inside the temple.")
  46. Dialog.AddVoiceover("voiceover/english/missionary_g_zule/fprt_north/qst_gzule001.mp3", 1035950997, 818649186)
  47. Dialog.AddOption("What's the problem? You haven't done enough sacrificing to sit with the big boys yet?", "Dialog3")
  48. Dialog.Start()
  49. end
  50. function Dialog3(NPC, Spawn)
  51. FaceTarget(NPC, Spawn)
  52. Dialog.New(NPC, Spawn)
  53. Dialog.AddDialog("I'll have you know that I have done all the sacrificing I need to do, lucky for your worthless carcass. I only have to find a symbol of the old paladins to desecrate to fulfill my advancement.")
  54. PlayFlavor(NPC, "", "", "glare", 0, 0, Spawn)
  55. Dialog.AddVoiceover("voiceover/english/missionary_g_zule/fprt_north/qst_gzule002.mp3", 2865163916, 2862700718)
  56. Dialog.AddOption("For some reason I see you standing here for a while.")
  57. Dialog.Start()
  58. end
  59. function quest(NPC, Spawn)
  60. FaceTarget(NPC, Spawn)
  61. Dialog.New(NPC, Spawn)
  62. Dialog.AddDialog( "I could take the symbol of Marr off your hands. You certainly don't want to carry that thing openly around here. I won't even charge the usual fee to dispose of it.")
  63. Dialog.AddVoiceover("voiceover/english/missionary_g_zule/fprt_north/qst_gzule003.mp3", 212622032, 1987675547)
  64. Dialog.AddOption("You won't charge me? How about you pay me for it. I know you need this.", "complete")
  65. Dialog.Start()
  66. end
  67. function complete(NPC, Spawn)
  68. FaceTarget(NPC, Spawn)
  69. Dialog.New(NPC, Spawn)
  70. PlayFlavor(NPC, "", "", "grumble", 0, 0, Spawn)
  71. Dialog.AddDialog( "Fine, here is a small pouch of coins for the symbol. You know it's worthless to you anyway.")
  72. Dialog.AddVoiceover("voiceover/english/missionary_g_zule/fprt_north/qst_gzule004.mp3", 2506235491, 1587607096)
  73. Dialog.AddOption("A pleasure doing business with you.")
  74. Dialog.Start()
  75. SetStepComplete(Spawn, RustySymbolOfMarr, 1)
  76. end