9
3

LondiarInygad.lua 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/LondiarInygad.lua
  3. Script Purpose : Londiar Inygad <Adorning Daily Tasks>
  4. Script Author : theFoof
  5. Script Date : 2013.09.26
  6. Script Notes :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function respawn(NPC)
  11. spawn(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. conversation = CreateConversation()
  16. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1052.mp3", "hello", "", 0, 0, Spawn)
  17. AddConversationOption(conversation, "Thank you, I'll keep that in mind.")
  18. AddConversationOption(conversation, "How would I learn adorning?", "AdornChat1")
  19. StartConversation(conversation, NPC, Spawn, "Good day, friend. Let me know if you take up the craft of adorning, I may have some work for you if so.")
  20. end
  21. function AdornChat1(NPC, Spawn)
  22. FaceTarget(NPC, Spawn)
  23. conversation = CreateConversation()
  24. AddConversationOption(conversation, "Thank you.")
  25. StartConversation(conversation, NPC, Spawn, "Visit the adorning trainer in the city of Kelethin, or on the docks of Butcherblock Mountains, if you wish to learn this skill. While you're there, you can also learn tinkering if you are interested.")
  26. end
  27. --[[
  28. function hailed(NPC, Spawn)
  29. FaceTarget(NPC, Spawn)
  30. conversation = CreateConversation()
  31. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1052.mp3", "", "", 0, 0, Spawn)
  32. AddConversationOption(conversation, "Thank you, I'll keep that in mind.", "dlg_1_1")
  33. AddConversationOption(conversation, "How would I learn adorning?")
  34. StartConversation(conversation, NPC, Spawn, "Good day, friend. Let me know if you take up the craft of adorning, I may have some work for you if so.")
  35. if convo==2 then
  36. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1052.mp3", "", "", 0, 0, Spawn)
  37. AddConversationOption(conversation, "Thank you, I'll keep that in mind.", "dlg_2_1")
  38. AddConversationOption(conversation, "How would I learn adorning?")
  39. StartConversation(conversation, NPC, Spawn, "Good day, friend. Let me know if you take up the craft of adorning, I may have some work for you if so.")
  40. end
  41. if convo==5 then
  42. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1052.mp3", "", "", 0, 0, Spawn)
  43. AddConversationOption(conversation, "Thank you, I'll keep that in mind.", "dlg_5_1")
  44. AddConversationOption(conversation, "How would I learn adorning?")
  45. StartConversation(conversation, NPC, Spawn, "Good day, friend. Let me know if you take up the craft of adorning, I may have some work for you if so.")
  46. end
  47. if convo==6 then
  48. PlayFlavor(NPC, "londiar_inygad/tradeskill/live_quests/adorning_daily_005.mp3", "", "", 2903671869, 119224492, Spawn)
  49. AddConversationOption(conversation, "Not yet, I'll be back with them soon.", "dlg_6_1")
  50. AddConversationOption(conversation, "Yes I have, here you go.")
  51. StartConversation(conversation, NPC, Spawn, "Hello again. Have you finished those adornments?")
  52. end
  53. if convo==7 then
  54. PlayFlavor(NPC, "londiar_inygad/tradeskill/live_quests/adorning_daily_005.mp3", "", "", 2903671869, 119224492, Spawn)
  55. AddConversationOption(conversation, "Not yet, I'll be back with them soon.", "dlg_7_1")
  56. AddConversationOption(conversation, "Yes I have, here you go.")
  57. StartConversation(conversation, NPC, Spawn, "Hello again. Have you finished those adornments?")
  58. end
  59. if convo==9 then
  60. PlayFlavor(NPC, "londiar_inygad/tradeskill/live_quests/adorning_daily_007.mp3", "", "", 2470727427, 4215990095, Spawn)
  61. AddConversationOption(conversation, "Very well.", "dlg_9_1")
  62. StartConversation(conversation, NPC, Spawn, "Unfortunately, I'm out of components now, so you'll have to come back tomorrow if you want to help further.")
  63. end
  64. end
  65. function dlg_1_1(NPC, Spawn)
  66. FaceTarget(NPC, Spawn)
  67. conversation = CreateConversation()
  68. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  69. AddConversationOption(conversation, "Thank you.")
  70. StartConversation(conversation, NPC, Spawn, "Visit the adorning trainer in the city of Kelethin, or on the docks of Butcherblock Mountains, if you wish to learn this skill. While you're there, you can also learn tinkering if you are interested.")
  71. end
  72. function dlg_2_1(NPC, Spawn)
  73. FaceTarget(NPC, Spawn)
  74. conversation = CreateConversation()
  75. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  76. AddConversationOption(conversation, "Thank you.")
  77. StartConversation(conversation, NPC, Spawn, "Visit the adorning trainer in the city of Kelethin, or on the docks of Butcherblock Mountains, if you wish to learn this skill. While you're there, you can also learn tinkering if you are interested.")
  78. end
  79. function dlg_5_1(NPC, Spawn)
  80. FaceTarget(NPC, Spawn)
  81. conversation = CreateConversation()
  82. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  83. AddConversationOption(conversation, "Thank you.")
  84. StartConversation(conversation, NPC, Spawn, "Visit the adorning trainer in the city of Kelethin, or on the docks of Butcherblock Mountains, if you wish to learn this skill. While you're there, you can also learn tinkering if you are interested.")
  85. end
  86. function dlg_5_1(NPC, Spawn)
  87. FaceTarget(NPC, Spawn)
  88. conversation = CreateConversation()
  89. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  90. AddConversationOption(conversation, "I'll get to work now.", "dlg_5_2")
  91. AddConversationOption(conversation, "Sorry, I've changed my mind.")
  92. StartConversation(conversation, NPC, Spawn, "Thank you, we are always in need of more. Please take this recipe and these components, and get to work. You will need to supply your own fuel, however, and the cost of this will not be reimbursed.")
  93. end
  94. function dlg_5_2(NPC, Spawn)
  95. FaceTarget(NPC, Spawn)
  96. conversation = CreateConversation()
  97. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  98. AddConversationOption(conversation, "I will.", "dlg_5_3")
  99. StartConversation(conversation, NPC, Spawn, "Thank you, bring them back to me when you're done.")
  100. end
  101. function dlg_7_1(NPC, Spawn)
  102. FaceTarget(NPC, Spawn)
  103. conversation = CreateConversation()
  104. PlayFlavor(NPC, "londiar_inygad/tradeskill/live_quests/adorning_daily_006.mp3", "", "", 287110901, 245711122, Spawn)
  105. AddConversationOption(conversation, "You're welcome.")
  106. StartConversation(conversation, NPC, Spawn, "Thank you! Feel free to stop by tomorrow if you are looking for more work, I might need more assistance by then.")
  107. end
  108. --]]