9
3

DarmenSproutmore.lua 3.5 KB

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