9
3

KnightMorteWinghammer.lua 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. --[[
  2. Script Name : SpawnScripts/Antonica/KnightMorteWinghammer.lua
  3. Script Author : Premierio015
  4. Script Date : 2022.05.09 12:05:15
  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("Hello! It's such a pleasure to talk to someone else for a change! What brings you this way from the big city, eh?")
  16. Dialog.AddVoiceover("voiceover/english/knight_morte_winghammer/antonica/quests/firemyst/morte_winghammer000.mp3", 427855541, 2221169308)
  17. PlayFlavor(NPC, "", "", "hello", 0, 0, Spawn)
  18. if GetQuestStepProgress(Spawn, LordGrimrotsScythe,3) == 0 and HasQuest(Spawn,LordGrimrotsScythe) then
  19. Dialog.AddOption("You're...in the dwarven brigade? But...you're a human! I mean, Ignar sent me.", "Option1")
  20. end
  21. Dialog.AddOption("Glad to brighten your day. Just passing through.")
  22. Dialog.Start()
  23. end
  24. function Option1(NPC, Spawn)
  25. FaceTarget(NPC, Spawn)
  26. Dialog.New(NPC, Spawn)
  27. Dialog.AddDialog("Did he? Ignar's such a good person, you know. He stuck up for me when I joined the dwarven brigade, even though the other dwarves were a bit down on the idea. Frankly, all I want out of this is a chance to learn some good blacksmithing. That's what I really want to do, be a blacksmith. I can't help but meet the right sort of folk for that in a dwarven unit, can I? It's an absolutely brilliant idea, isn't it?")
  28. Dialog.AddVoiceover("voiceover/english/knight_morte_winghammer/antonica/quests/firemyst/morte_winghammer001.mp3", 457217351, 2761152415)
  29. Dialog.AddOption("I suppose so. I'm here to pick up your report.", "Option2")
  30. Dialog.AddOption("I'll be back later.")
  31. Dialog.Start()
  32. end
  33. function Option2(NPC, Spawn)
  34. FaceTarget(NPC, Spawn)
  35. Dialog.New(NPC, Spawn)
  36. Dialog.AddDialog("There are probably some good human blacksmiths, too, but I want to learn from the best of the best! I'm tickled that they consider me one of their own now! Mostly. The only downside is that I'm not meeting many women this way, but oh, well! Once I start my own smithy, I'll be a hot man around town. Get it? Ha!")
  37. Dialog.AddVoiceover("voiceover/english/knight_morte_winghammer/antonica/quests/firemyst/morte_winghammer002.mp3", 324436321, 1708126787)
  38. PlayFlavor(NPC, "", "", "happy", 0, 0, Spawn)
  39. Dialog.AddOption("Do you have your report ready?", "Option3")
  40. Dialog.AddOption("I'll be back later. Sounds like this might take a while.")
  41. Dialog.Start()
  42. end
  43. function Option3(NPC, Spawn)
  44. FaceTarget(NPC, Spawn)
  45. Dialog.New(NPC, Spawn)
  46. Dialog.AddDialog("Still, I can't decide whether they're just humoring me or not. I get a lot of, \"How's the weather up there?\" and \"Good day to be a dwarf, Longshanks!\" I have yet to meet any blacksmiths, either. Maybe I've made a mistake after all ... d'you think?")
  47. Dialog.AddVoiceover("voiceover/english/knight_morte_winghammer/antonica/quests/firemyst/morte_winghammer003.mp3", 2960742057, 217719766)
  48. PlayFlavor(NPC, "", "", "ponder", 0, 0, Spawn)
  49. Dialog.AddOption("I think Ignar's waiting on your report, soldier.", "Option4")
  50. Dialog.AddOption("Yep, this will take a while. I'll be back.")
  51. Dialog.Start()
  52. end
  53. function Option4(NPC, Spawn)
  54. SetStepComplete(Spawn, LordGrimrotsScythe, 3)
  55. FaceTarget(NPC, Spawn)
  56. Dialog.New(NPC, Spawn)
  57. Dialog.AddDialog("Oh, right! My report! Supposedly, someone's found Lord Grimrot's war scythe and is trying to raise him from the dead using its power. Isn't it the oddest thing you ever heard? Who'd want to bring back a dead guy who LOST a war? I mean, if you're going to go through the trouble of bringing back the dead, go get one of the WINNERS, eh? What? You're leaving already?")
  58. Dialog.AddVoiceover("voiceover/english/knight_morte_winghammer/antonica/quests/firemyst/morte_winghammer004.mp3", 3382872987, 887284875)
  59. PlayFlavor(NPC, "", "", "doh", 0, 0, Spawn)
  60. Dialog.AddOption("I've got to let Ignar know. Uh, thanks!")
  61. Dialog.Start()
  62. end
  63. function respawn(NPC)
  64. spawn(NPC)
  65. end