9
3

KinamerGalemaul.lua 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. --[[
  2. Script Name : SpawnScripts/Antonica/KinamerGalemaul.lua
  3. Script Purpose : Kinamer Galemaul
  4. Script Author : premierio015
  5. Script Date : 08.05.2022
  6. Script Notes :
  7. --]]
  8. local DoesTheUnderforgeExist = 5518
  9. function spawn(NPC)
  10. ProvidesQuest(NPC, DoesTheUnderforgeExist)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. FaceTarget(NPC, Spawn)
  17. PlayFlavor(NPC, "voiceover/english/kinamer_galemaul/antonica/kinamergalemaul000.mp3", "", "", 165936049, 625468658, Spawn)
  18. conversation = CreateConversation()
  19. if not HasQuest(Spawn, DoesTheUnderforgeExist) and not HasCompletedQuest(Spawn, DoesTheUnderforgeExist) then
  20. AddConversationOption(conversation, "You look like you have an interesting style of blacksmithing.", "Option1")
  21. elseif GetQuestStep(Spawn, DoesTheUnderforgeExist) == 2 then
  22. AddConversationOption(conversation, "Kinamer, the Underforge is real! It isn't as impressive as legend makes it, but it does exist.", "Option4")
  23. end
  24. AddConversationOption(conversation, "I think I'll play it safe and stay back here.")
  25. StartConversation(conversation, NPC, Spawn, "Keep clear of the forge, my friend. The metal is hot and my hammer swings where it will!")
  26. end
  27. function Option1(NPC, Spawn)
  28. FaceTarget(NPC, Spawn)
  29. PlayFlavor(NPC, "voiceover/english/kinamer_galemaul/antonica/kinamergalemaul001.mp3", "", "", 2027558019, 1718672799)
  30. conversation = CreateConversation()
  31. AddConversationOption(conversation, "What is wrong with the tools?", "Option2")
  32. AddConversationOption(conversation, "I'm sorry to hear that. I guess I should look elsewhere for my repairs.")
  33. StartConversation(conversation, NPC, Spawn, "Aye! Some think I'm dangerous in my old age, but I get the job done. I never retired, you know. Blacksmithing is in my blood... I gotta work now and then, keeps me young. Ach! But these worthless tools ... they make me mad as a wet cat!")
  34. end
  35. function Option2(NPC, Spawn)
  36. FaceTarget(NPC, Spawn)
  37. PlayFlavor(NPC, "voiceover/english/kinamer_galemaul/antonica/kinamergalemaul002.mp3", "", "", 1072576802, 3460847281, Spawn)
  38. local conversation = CreateConversation()
  39. AddConversationOption(conversation, "What is a smithy?", "Option3")
  40. StartConversation(conversation, NPC, Spawn, "Oh, nothing's wrong with them, I suppose. It's just ... they're not the beloved tools I left behind in Kaladim. Back then, we dwarves knew how to make tools. Not like today. If only I had a smithy like the one in that fabled Stormhold, I would never retire!")
  41. end
  42. function Option3(NPC, Spawn)
  43. FaceTarget(NPC, Spawn)
  44. local conversation = CreateConversation()
  45. PlayFlavor(NPC, "voiceover/english/kinamer_galemaul/antonica/kinamergalemaul003.mp3", "", "", 4028492463, 2669208994, Spawn)
  46. AddConversationOption(conversation, "If the legend turns out to be true, I'll let you know.", "offer")
  47. AddConversationOption(conversation, "If I found such a thing I certainly wouldn't tell you.")
  48. StartConversation(conversation, NPC, Spawn, "Why, a smithy is the workshop of a blacksmith! And Stormhold -- the legendary fortress of the Knights of Thunder -- had the greatest smithy outside Kaladim! Underforge it was called. It produced all the arms and armor, and kept the Knights' horses shod. Say ... you've heard the rumors, haven't you? Some rapscallion crypt raiders found Stormhold, or so everyone claims. I put no faith in rumors, but I'd be grateful to anyone who would find out the truth for me.")
  49. end
  50. function Option4(NPC, Spawn)
  51. SetStepComplete(Spawn, DoesTheUnderforgeExist, 2)
  52. FaceTarget(NPC, Spawn)
  53. local conversation = CreateConversation()
  54. PlayFlavor(NPC, "voiceover/english/kinamer_galemaul/antonica/kinamergalemaul005.mp3", "", "", 4275576159, 2433123313, Spawn)
  55. AddConversationOption(conversation, "You are welcome.")
  56. StartConversation(conversation, NPC, Spawn, "It does! The tools and anvils -- are they still within? Oh, this makes an old dwarf very glad indeed! Perhaps the legends are all true after all! Thank you! Thank you for bringing this good news to old Kinamer Galemaul!")
  57. end
  58. function offer(NPC, Spawn)
  59. OfferQuest(NPC, Spawn, DoesTheUnderforgeExist)
  60. end