DarmenSproutmore.lua 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. --[[
  2. Script Name : DarmenSproutmore.lua
  3. Script Purpose : Darmen Sproutmore
  4. Script Author : Jabantiz
  5. Script Date : 08/29/2019
  6. Script Notes : Auto-Generated from a chat log using SpawnScriptDesigner
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. local HowDidTheirGardenGrow = 5361
  10. function spawn(NPC)
  11. ProvidesQuest(NPC,5361)
  12. end
  13. function respawn(NPC)
  14. spawn(NPC)
  15. end
  16. function hailed(NPC, Spawn)
  17. FaceTarget(NPC, Spawn)
  18. Dialog.New(NPC, Spawn)
  19. Dialog.AddDialog("Hail to you, adventurer! Mind your feet, and don't step on my dear little flowers! Just coming into bloom, they are.")
  20. Dialog.AddVoiceover("voiceover/english/darmen_sproutmore/antonica/darmensproutmore000.mp3", 2138797897, 3113209185)
  21. PlayFlavor(NPC, "", "", "curtsey", 0, 0,Spawn)
  22. if CanReceiveQuest(Spawn, HowDidTheirGardenGrow) then
  23. Dialog.AddOption("Your daisies look very nice. You must be a fine gardener.", "Option1")
  24. elseif GetQuestStep(Spawn, HowDidTheirGardenGrow)==2 then
  25. Dialog.AddOption("The Knights of Thunder had an atrium underground. ", "Option3")
  26. end
  27. Dialog.AddOption("I must be off. Good day to you. ")
  28. Dialog.Start()
  29. end
  30. function Option1(NPC, Spawn)
  31. FaceTarget(NPC, Spawn)
  32. Dialog.New(NPC, Spawn)
  33. Dialog.AddDialog("Thank you! Gardening is my life. I love tending the small, green things of the earth. Why, some of these sprouts shall be tall trees one day. And, many of my plants, will soon feed the people of Qeynos. Hmm ... makes one wonder, though. What do you suppose fed those Knights of Thunder so long ago?")
  34. Dialog.AddVoiceover("voiceover/english/darmen_sproutmore/antonica/darmensproutmore001.mp3", 3489573816, 2242982097)
  35. PlayFlavor(NPC, "", "", "thanks", 0, 0,Spawn)
  36. Dialog.AddOption("What Knights of Thunder?", "Option2")
  37. Dialog.Start()
  38. end
  39. function Option2(NPC, Spawn)
  40. FaceTarget(NPC, Spawn)
  41. Dialog.New(NPC, Spawn)
  42. Dialog.AddDialog("Oh, come now! Surely you have heard the rumors that some explorers believe they found the location of the legendary Stormhold? ... The ancient fortress of the Knights of Thunder? Personally, I think those \"explorers\" were crypt raiders, but what do I know? Plants. That's what I know. And no one ever saw the Knights of Thunder growing their own plants ... or hauling supply wagons out of Qeynos for that matter. So, how do you suppose they fed themselves? Hmm?")
  43. Dialog.AddVoiceover("voiceover/english/darmen_sproutmore/antonica/darmensproutmore002.mp3", 2498400696, 3478793084)
  44. PlayFlavor(NPC, "", "", "tapfoot", 0, 0,Spawn)
  45. Dialog.AddOption("I may explore Stormhold some day. If I find out how, I'll be sure to let you know.", "offer")
  46. Dialog.AddOption("Maybe someday some brave explorer will find the answer. ")
  47. Dialog.Start()
  48. end
  49. function Option3(NPC, Spawn)
  50. SetStepComplete(Spawn, HowDidTheirGardenGrow, 2)
  51. FaceTarget(NPC, Spawn)
  52. Dialog.New(NPC, Spawn)
  53. Dialog.AddDialog("An atrium? How marvelous! They must've grown their food plants in the atrium. Karana could've used his power to enchant the dark space with sunlight and water ... even under the ground. Amazing, isn't it?")
  54. Dialog.AddVoiceover("voiceover/english/darmen_sproutmore/antonica/darmensproutmore004.mp3", 3378309886, 1783566743)
  55. PlayFlavor(NPC, "", "", "boggle", 0, 0,Spawn)
  56. Dialog.AddOption("Aye, it is.")
  57. Dialog.Start()
  58. end
  59. function offer(NPC, Spawn)
  60. OfferQuest(NPC, Spawn, HowDidTheirGardenGrow)
  61. end