9
3

TrainerGregoryCollins.lua 5.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/TrainerGregoryCollins.lua
  3. Script Author : Zcoretri
  4. Script Date : 2015.07.30
  5. Script Purpose : Trainer Gregory Collins dialog
  6. :
  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_1004.mp3", "", "", 0, 0, Spawn)
  17. AddConversationOption(conversation, "How does one take up crafting?", "dlg_18_1")
  18. AddConversationOption(conversation, "I will return another time to learn your lesson.")
  19. StartConversation(conversation, NPC, Spawn, "Hello my friend! I have the pleasure of serving Qeynos by explaining the role of crafting and tradeskills to newly arrived heroes such as you. By taking on the role of an artisan, you can help expand the influence of our fair city in worldwide commerce.")
  20. end
  21. function dlg_18_1(NPC, Spawn)
  22. FaceTarget(NPC, Spawn)
  23. conversation = CreateConversation()
  24. AddConversationOption(conversation, "Where does one perform crafting?", "dlg_18_2")
  25. AddConversationOption(conversation, "I will return another time to learn your lesson.")
  26. StartConversation(conversation, NPC, Spawn, "Crafting, or tradeskilling as some call it, involves taking ingredients harvested or obtained in the world, mixing them with the proper fuel, and carefully following a specific recipe to create something new and useful for yourself or your fellow citizens. Just as you can gain levels by adventuring, you have a separate Artisan level that increases as you earn experience crafting.")
  27. end
  28. function dlg_18_2(NPC, Spawn)
  29. FaceTarget(NPC, Spawn)
  30. conversation = CreateConversation()
  31. AddConversationOption(conversation, "Can I make a variety of items?", "dlg_18_3")
  32. AddConversationOption(conversation, "I will return another time to learn your lesson.")
  33. StartConversation(conversation, NPC, Spawn, "Crafting takes place in workshops, just like the one we have here on the island. Inside the workshops you will find the fuel and devices you'll need to build, cook, scribe, sew, and create all manner of useful goods. When you arrive in our grand city, you will find the entrance to a similar workshop in your home village.")
  34. end
  35. function dlg_18_3(NPC, Spawn)
  36. FaceTarget(NPC, Spawn)
  37. conversation = CreateConversation()
  38. AddConversationOption(conversation, "What could I specialize in?", "dlg_18_4")
  39. AddConversationOption(conversation, "I will return another time to learn your lesson.")
  40. StartConversation(conversation, NPC, Spawn, "As you practice your craft you will learn to make a variety of products, but as you advance in your profession you will specialize in certain types of goods. As you acquire new recipe books, you will learn new types of items you can make.")
  41. end
  42. function dlg_18_4(NPC, Spawn)
  43. FaceTarget(NPC, Spawn)
  44. conversation = CreateConversation()
  45. AddConversationOption(conversation, "Where do I learn recipes?", "dlg_18_5")
  46. AddConversationOption(conversation, "I will return another time to learn your lesson.")
  47. StartConversation(conversation, NPC, Spawn, "You might choose to become a Provisioner that makes food and drink, a Woodworker that crafts totems and staves, an Armorer that forges plate and chain armor, a Sage that scribes potent spells for mages and priests, or one of many other noble professions.")
  48. end
  49. function dlg_18_5(NPC, Spawn)
  50. FaceTarget(NPC, Spawn)
  51. conversation = CreateConversation()
  52. AddConversationOption(conversation, "What can I do with the items I make?", "dlg_18_6")
  53. AddConversationOption(conversation, "I will return another time to learn your lesson.")
  54. StartConversation(conversation, NPC, Spawn, "Basic recipes can be bought for a small fee from a merchant near the workshops in the cities. Rare recipes can be obtained by adventuring in the wilds of Norrath. You may want to trade goods or services with other adventurers and artisans to obtain such valuable recipes. You can view your recipe book by pressing the N key. ")
  55. end
  56. function dlg_18_6(NPC, Spawn)
  57. FaceTarget(NPC, Spawn)
  58. conversation = CreateConversation()
  59. AddConversationOption(conversation, "Do you have any further advice?", "dlg_18_7")
  60. AddConversationOption(conversation, "I will return another time to learn your lesson.")
  61. StartConversation(conversation, NPC, Spawn, "You can either use the items yourself or make a tidy profit by selling them to others. A skilled artisan is always in demand for the goods they provide, so learn your craft well and you will always have a place in Qeynos society. ")
  62. end
  63. function dlg_18_7(NPC, Spawn)
  64. FaceTarget(NPC, Spawn)
  65. conversation = CreateConversation()
  66. AddConversationOption(conversation, "Thank you for the guidance.")
  67. AddConversationOption(conversation, "I will return another time to learn your lesson.")
  68. StartConversation(conversation, NPC, Spawn, "Here is a handbook that will provide you with some basic reference material to start with. Once you reach Qeynos, you will find a tradeskill tutor within your local crafting workshop who can teach you more about crafting in further detail.")
  69. -- JA: Need to give out some tradeskill item here
  70. end