9
3

DarmenSproutmore.lua 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. local HowDidTheirGardenGrow = 5361
  9. function spawn(NPC)
  10. ProvidesQuest(NPC,5361)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. FaceTarget(NPC, Spawn)
  17. local conversation = CreateConversation()
  18. PlayFlavor(NPC, "voiceover/english/darmen_sproutmore/antonica/darmensproutmore000.mp3", "", "", 2138797897, 3113209185)
  19. if not HasQuest(Spawn, HowDidTheirGardenGrow) and not HasCompletedQuest(Spawn, HowDidTheirGardenGrow) then
  20. AddConversationOption(conversation, "Your daisies look very nice. You must be a fine gardener.", "Option1")
  21. elseif GetQuestStep(Spawn, HowDidTheirGardenGrow) == 2 then
  22. AddConversationOption(conversation, "The Knights of Thunder had an atrium underground. ", "Option3")
  23. end
  24. AddConversationOption(conversation, "I must be off. Good day to you. ")
  25. StartConversation(conversation, NPC, Spawn, "Hail to you, adventurer! Mind your feet, and don't step on my dear little flowers! Just coming into bloom, they are.")
  26. end
  27. function Option1(NPC, Spawn)
  28. FaceTarget(NPC, Spawn)
  29. local conversation = CreateConversation()
  30. PlayFlavor(NPC, "voiceover/english/darmen_sproutmore/antonica/darmensproutmore001.mp3", "", "", 3489573816, 2242982097, Spawn)
  31. AddConversationOption(conversation, "What Knights of Thunder?", "Option2")
  32. StartConversation(conversation, NPC, Spawn, "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?")
  33. end
  34. function Option2(NPC, Spawn)
  35. FaceTarget(NPC, Spawn)
  36. local conversation = CreateConversation()
  37. PlayFlavor(NPC, "voiceover/english/darmen_sproutmore/antonica/darmensproutmore002.mp3", "", "", 2498400696, 3478793084, Spawn)
  38. AddConversationOption(conversation, "I may explore Stormhold some day. If I find out how, I'll be sure to let you know.", "offer")
  39. AddConversationOption(conversation, "Maybe someday some brave explorer will find the answer. ")
  40. StartConversation(conversation, NPC, Spawn, "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?")
  41. end
  42. function Option3(NPC, Spawn)
  43. SetStepComplete(Spawn, HowDidTheirGardenGrow, 2)
  44. FaceTarget(NPC, Spawn)
  45. local conversation = CreateConversation()
  46. PlayFlavor(NPC, "voiceover/english/darmen_sproutmore/antonica/darmensproutmore004.mp3", "", "", 3378309886, 1783566743, Spawn)
  47. AddConversationOption(conversation, "Aye, it is.")
  48. StartConversation(conversation, NPC, Spawn, "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?")
  49. end
  50. function offer(NPC, Spawn)
  51. OfferQuest(NPC, Spawn, HowDidTheirGardenGrow)
  52. end