9
3

MasterMalvonicus.lua 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. --[[
  2. Script Name : SpawnScripts/IsleRefuge1/MasterMalvonicus.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.09.03 06:09:50
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. local Research = 5757
  10. function spawn(NPC)
  11. end
  12. function hailed(NPC, Spawn)
  13. FaceTarget(NPC, Spawn)
  14. Dialog.New(NPC, Spawn)
  15. PlayFlavor(NPC, "", "", "stare", 0, 0, Spawn)
  16. Dialog.AddDialog("What on Norrath are you doing here? Get out of my house this instant!")
  17. Dialog.AddVoiceover("voiceover/english/master_malvonicus/tutorial_island02/mastermalvonicus001.mp3", 2916930572, 3452710584)
  18. if GetQuestStep(Spawn, Research) ==5 then
  19. Dialog.AddOption("I found this research notebook and completed the work described in it for you. Apparently the person sent before me wasn't so lucky.","QuestDone")
  20. end
  21. Dialog.AddOption("I'm leaving.")
  22. Dialog.Start()
  23. end
  24. function respawn(NPC)
  25. spawn(NPC)
  26. end
  27. function QuestDone(NPC, Spawn)
  28. FaceTarget(NPC, Spawn)
  29. Dialog.New(NPC, Spawn)
  30. PlayFlavor(NPC, "", "", "scold", 0, 0, Spawn)
  31. Dialog.AddDialog("It is about time! I asked for that research to be completed days ago! Wait... you are not the one I sent out previously... No matter, these specimens will do for my research. Here is the bracelet I promised in payment. Now get out and leave me to my work.")
  32. Dialog.AddVoiceover("voiceover/english/master_malvonicus/tutorial_island02/mastermalvonicus004.mp3", 1075201494, 3603694386)
  33. Dialog.AddOption("Thanks. I'll just be going now.")
  34. Dialog.Start()
  35. SetStepComplete(Spawn,Research,5)
  36. end