9
3

TrainerVellaNDur.lua 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. --[[
  2. Script Name : SpawnScripts/OutpostOverlord/TrainerVellaNDur.lua
  3. Script Purpose : Trainer Vella N'Dur <Matron of the Harvest and Collections>
  4. Script Author : John Adams
  5. Script Date : 2008.09.23
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  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_1007.mp3", "", "", 0, 0, Spawn)
  17. if HasQuest(Spawn, 54) and GetQuestStep(Spawn, 54) == 6 then
  18. AddConversationOption(conversation, "Do you know someone named Charles Arker?", "dlg_41_1")
  19. end
  20. AddConversationOption(conversation, "I'd like to learn about collections.", "dlg_0_1")
  21. AddConversationOption(conversation, "I'd like to learn about harvesting.", "dlg_0_4")
  22. AddConversationOption(conversation, "I've no time to chat right now.")
  23. StartConversation(conversation, NPC, Spawn, "Come closer if you want me to answer any questions you have about collections or harvesting!")
  24. if convo==7 then
  25. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1007.mp3", "", "", 0, 0, Spawn)
  26. AddConversationOption(conversation, "I'd like to learn about collections.", "dlg_7_1")
  27. AddConversationOption(conversation, "I'd like to learn about harvesting.")
  28. AddConversationOption(conversation, "I've no time to chat right now.")
  29. StartConversation(conversation, NPC, Spawn, "Come closer if you want me to answer any questions you have about collections or harvesting!")
  30. end
  31. if convo==41 then
  32. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1007.mp3", "", "", 0, 0, Spawn)
  33. AddConversationOption(conversation, "I'd like to learn about collections.")
  34. AddConversationOption(conversation, "I'd like to learn about harvesting.")
  35. AddConversationOption(conversation, "I've no time to chat right now.")
  36. StartConversation(conversation, NPC, Spawn, "Come closer if you want me to answer any questions you have about collections or harvesting!")
  37. end
  38. if convo==44 then
  39. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1007.mp3", "", "", 0, 0, Spawn)
  40. AddConversationOption(conversation, "Do you know someone named Charles Arker?", "dlg_44_1")
  41. AddConversationOption(conversation, "I'd like to learn about collections.")
  42. AddConversationOption(conversation, "I'd like to learn about harvesting.")
  43. AddConversationOption(conversation, "I've no time to chat right now.")
  44. StartConversation(conversation, NPC, Spawn, "Come closer if you want me to answer any questions you have about collections or harvesting!")
  45. end
  46. end
  47. function dlg_0_1(NPC, Spawn)
  48. FaceTarget(NPC, Spawn)
  49. conversation = CreateConversation()
  50. AddConversationOption(conversation, "What happens next?", "dlg_0_2")
  51. StartConversation(conversation, NPC, Spawn, "Collectibles are seen as a glow rising from the ground. If you're close enough, you'll notice a question mark above it. Double-click or right-click the glow and select Harvest. The item you gather will go into your inventory. You can examine this item in your inventory.")
  52. end
  53. function dlg_0_2(NPC, Spawn)
  54. FaceTarget(NPC, Spawn)
  55. conversation = CreateConversation()
  56. AddConversationOption(conversation, "How do I complete the collection?", "dlg_0_3")
  57. StartConversation(conversation, NPC, Spawn, "Your quest journal will open up automatically to the Collections tab. Use the Add button to add that item to a collection. As you travel through Norrath, you'll find different collectibles in different areas of the world. Some items can be part of more than one collection.")
  58. end
  59. function dlg_0_3(NPC, Spawn)
  60. FaceTarget(NPC, Spawn)
  61. conversation = CreateConversation()
  62. AddConversationOption(conversation, "I'd like to learn about harvesting and gathering now.", "dlg_0_4")
  63. AddConversationOption(conversation, "Thanks for the information.")
  64. StartConversation(conversation, NPC, Spawn, "Continue to gather and examine all the items you find until all the icons of that collection are highlighted in your quest journal. Then you'll be able to turn the completed collection in to a collector who will reward you with some experience. If you already have a collectible in all collections that call for it, you can sell it to a merchant or trade it to another player.")
  65. end
  66. function dlg_0_4(NPC, Spawn)
  67. FaceTarget(NPC, Spawn)
  68. conversation = CreateConversation()
  69. AddConversationOption(conversation, "What are harvestables used for?", "dlg_0_5")
  70. StartConversation(conversation, NPC, Spawn, "Harvestables come in five forms, each tied to its own respective skill. These skills can be seen by opening your Skills window by pressing the P key, clicking on the Skills tab and selecting your General skills. Rocks increase mining, logs increase foresting, dens increase trapping, fish increase fishing, and plants increase gathering.")
  71. end
  72. function dlg_0_5(NPC, Spawn)
  73. FaceTarget(NPC, Spawn)
  74. conversation = CreateConversation()
  75. AddConversationOption(conversation, "Why do I need to increase my harvesting skills?", "dlg_0_6")
  76. StartConversation(conversation, NPC, Spawn, "The items found through harvesting are the basic building blocks of tradeskills. They cannot be sold to vendors, but they can be traded or sold to other players who need them for their respective tradeskill professions. Some components that can be found through harvesting are very rare and can be worth quite a bit of money to tradeskillers.")
  77. end
  78. function dlg_0_6(NPC, Spawn)
  79. FaceTarget(NPC, Spawn)
  80. conversation = CreateConversation()
  81. AddConversationOption(conversation, "I'd like to learn about collections now.", "dlg_0_1")
  82. AddConversationOption(conversation, "Thanks for the information.")
  83. StartConversation(conversation, NPC, Spawn, "The skill required to harvest in a given area increases along with the difficulty of the area. If you find that you are unable to harvest in an area you should return to a less difficult area and practice.")
  84. end
  85. -- charles Arker
  86. function dlg_41_1(NPC, Spawn)
  87. SetStepComplete(Spawn, 54, 6)
  88. FaceTarget(NPC, Spawn)
  89. conversation = CreateConversation()
  90. AddConversationOption(conversation, "Thank you, Vella.")
  91. StartConversation(conversation, NPC, Spawn, "Sorry, but I can't say that I know this person.")
  92. end