KnightMorteWinghammer.lua 4.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. local LordGrimrotsScythe = 5522
  9. function spawn(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. local conversation = CreateConversation()
  14. PlayFlavor(NPC, "voiceover/english/knight_morte_winghammer/antonica/quests/firemyst/morte_winghammer000.mp3", "", "", 427855541, 2221169308, Spawn)
  15. if GetQuestStep(Spawn, LordGrimrotsScythe) == 3 then
  16. AddConversationOption(conversation, "You're...in the dwarven brigade? But...you're a human! I mean, Ignar sent me.", "Option1")
  17. end
  18. AddConversationOption(conversation, "Glad to brighten your day. Just passing through.")
  19. StartConversation(conversation, NPC, Spawn, "Hello! It's such a pleasure to talk to someone else for a change! What brings you this way from the big city, eh?")
  20. end
  21. function Option1(NPC, Spawn)
  22. FaceTarget(NPC, Spawn)
  23. local conversation = CreateConversation()
  24. PlayFlavor(NPC, "voiceover/english/knight_morte_winghammer/antonica/quests/firemyst/morte_winghammer001.mp3", "", "", 457217351, 2761152415, Spawn)
  25. AddConversationOption(conversation, "I suppose so. I'm here to pick up your report.", "Option2")
  26. AddConversationOption(conversation, "I'll be back later.")
  27. StartConversation(conversation, NPC, Spawn, "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. end
  29. function Option2(NPC, Spawn)
  30. FaceTarget(NPC, Spawn)
  31. local conversation = CreateConversation()
  32. PlayFlavor(NPC, "voiceover/english/knight_morte_winghammer/antonica/quests/firemyst/morte_winghammer002.mp3", "", "", 324436321, 1708126787, Spawn)
  33. AddConversationOption(conversation, "Do you have your report ready?", "Option3")
  34. AddConversationOption(conversation, "I'll be back later. Sounds like this might take a while.")
  35. StartConversation(conversation, NPC, Spawn, "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!")
  36. end
  37. function Option3(NPC, Spawn)
  38. FaceTarget(NPC, Spawn)
  39. PlayAnimation(NPC, 12030) -- ponder
  40. local conversation = CreateConversation()
  41. PlayFlavor(NPC, "voiceover/english/knight_morte_winghammer/antonica/quests/firemyst/morte_winghammer003.mp3", "", "", 2960742057, 217719766, Spawn)
  42. AddConversationOption(conversation, "I think Ignar's waiting on your report, soldier.", "Option4")
  43. AddConversationOption(conversation, "Yep, this will take a while. I'll be back.")
  44. StartConversation(conversation, NPC, Spawn, "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?")
  45. end
  46. function Option4(NPC, Spawn)
  47. SetStepComplete(Spawn, LordGrimrotsScythe, 3)
  48. FaceTarget(NPC, Spawn)
  49. local conversation = CreateConversation()
  50. PlayFlavor(NPC, "voiceover/english/knight_morte_winghammer/antonica/quests/firemyst/morte_winghammer004.mp3", "", "", 3382872987, 887284875, Spawn)
  51. AddConversationOption(conversation, "I've got to let Ignar know. Uh, thanks!")
  52. StartConversation(conversation, NPC, Spawn, "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?")
  53. end
  54. function respawn(NPC)
  55. spawn(NPC)
  56. end