9
3

IlaenLilac.lua 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. --[[
  2. Script Name : SpawnScripts/ForestRuins/IlaenLilac.lua
  3. Script Purpose : Ilaen Lilac
  4. Script Author : John Adams
  5. Script Date : 2008.09.19
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function hailed(NPC, Spawn)
  9. FaceTarget(NPC, Spawn)
  10. conversation = CreateConversation()
  11. choice = math.random(1,3)
  12. if choice == 1 then
  13. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/ilaen_lilac/qey_adv02_ruins_revamp/qst_woodelf_ilaen_lilac_notonquest_ae7644e9.mp3", "There is no failing greater than a child unable to protect a parent.", "", 138794585, 337134419)
  14. elseif choice == 2 then
  15. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/ilaen_lilac/qey_adv02_ruins_revamp/qst_woodelf_ilaen_lilac_ulinir_d84a1bb.mp3", "You are wise to know Ulinir is worth your time. Speak with me if you wish to use your wisdom for a greater good.", "", 1864539566, 4233668295)
  16. else
  17. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1005.mp3", "", "", 0, 0)
  18. end
  19. AddConversationOption(conversation, "Save this land from what?", "dlg_11_1")
  20. StartConversation(conversation, NPC, Spawn, "If we do not work to save this land there are no others who will.")
  21. if convo==15 then
  22. AddConversationOption(conversation, "Yes, I found this arrow.", "dlg_15_1")
  23. StartConversation(conversation, NPC, Spawn, "Have you found a clue yet?")
  24. end
  25. end
  26. function dlg_11_1(NPC, Spawn)
  27. FaceTarget(NPC, Spawn)
  28. conversation = CreateConversation()
  29. AddConversationOption(conversation, "What are you talking about?", "dlg_11_2")
  30. StartConversation(conversation, NPC, Spawn, "If you have not felt it yet you will soon. The movement, the sudden interest in this place by multiple parties, and the strange deaths of this land's inhabitants.")
  31. end
  32. function dlg_11_2(NPC, Spawn)
  33. FaceTarget(NPC, Spawn)
  34. conversation = CreateConversation()
  35. AddConversationOption(conversation, "Killed by what?", "dlg_11_3")
  36. StartConversation(conversation, NPC, Spawn, "I do not believe this land's problems are enough to interest the Qeynos Guard, not yet lestways. But any child of Tunare who spends time here soon realizes there is something sinister in these lands. The deer of these parts are being slain at an alarming rate. Most of their deaths are obviously the cause of wolves or other predators, natural causes, but some of their bodies are left dead and intact.")
  37. end
  38. function dlg_11_3(NPC, Spawn)
  39. FaceTarget(NPC, Spawn)
  40. conversation = CreateConversation()
  41. AddConversationOption(conversation, "Yes, I am willing.", "dlg_11_4")
  42. AddConversationOption(conversation, "Sorry, no.")
  43. StartConversation(conversation, NPC, Spawn, "I do not know, but I believe they are being hunted for sport. They have wounds consistent with arrow fire, but I have yet to recover any clues. Would you be willing to help me search for a clue?")
  44. end
  45. function dlg_11_4(NPC, Spawn)
  46. FaceTarget(NPC, Spawn)
  47. conversation = CreateConversation()
  48. AddConversationOption(conversation, "I will return.", "dlg_11_5")
  49. StartConversation(conversation, NPC, Spawn, "Good. Go find the deer bodies that litter these lands. Ignore the bodies killed by predators, seek out only the intact bodies. Search them for clues: weapons, specific types of scars, anything that will help determine who is beind their death.")
  50. end
  51. function dlg_11_5(NPC, Spawn)
  52. FaceTarget(NPC, Spawn)
  53. conversation = CreateConversation()
  54. AddConversationOption(conversation, "Thank you.", "dlg_11_6")
  55. StartConversation(conversation, NPC, Spawn, "May you do so without coming to harm.")
  56. end
  57. function dlg_15_1(NPC, Spawn)
  58. FaceTarget(NPC, Spawn)
  59. conversation = CreateConversation()
  60. AddConversationOption(conversation, "Yes, from a dead deer.", "dlg_15_2")
  61. StartConversation(conversation, NPC, Spawn, "You found this arrow here? You are certain?")
  62. end
  63. function dlg_15_2(NPC, Spawn)
  64. FaceTarget(NPC, Spawn)
  65. conversation = CreateConversation()
  66. AddConversationOption(conversation, "Alright, I shall.", "dlg_15_3")
  67. StartConversation(conversation, NPC, Spawn, "This arrow is of gnollish make. It may have gotten here by innocent means, or a gnoll may have brought it here. If the gnolls are moving in then the Qeynos Guard will be very interested. I want you to take this arrow to Lieutenant Germain. Tell him where you found it, he will be most interested to hear this.")
  68. end