9
3

TrainerArthurMerrin.lua 5.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. --[[
  2. Script Name : SpawnScripts/OutpostOverlord/TrainerArthurMerrin.lua
  3. Script Purpose : Trainer Arthur Merrin <Skilled Artisan and Crafter>
  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_1_1004.mp3", "", "", 0, 0, Spawn)
  17. AddConversationOption(conversation, "How does one take up crafting?", "dlg_11_1")
  18. AddConversationOption(conversation, "I will return another time to learn your lesson.")
  19. StartConversation(conversation, NPC, Spawn, "Greetings, brave hero of the Overlord! It is my responsibility to explain how crafting and tradeskills can bring prosperity to the kingdom of Freeport. I hope I can encourage your participation in helping our city flourish. We can beat those hapless Qeynosians through our superior commerce!")
  20. end
  21. function dlg_11_1(NPC, Spawn)
  22. FaceTarget(NPC, Spawn)
  23. conversation = CreateConversation()
  24. AddConversationOption(conversation, "Where does one perform crafting?", "dlg_11_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_11_2(NPC, Spawn)
  29. FaceTarget(NPC, Spawn)
  30. conversation = CreateConversation()
  31. AddConversationOption(conversation, "Can I make a variety of items?", "dlg_11_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 this doorway 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 entrances to workshops scattered throughout your home village.")
  34. end
  35. function dlg_11_3(NPC, Spawn)
  36. FaceTarget(NPC, Spawn)
  37. conversation = CreateConversation()
  38. AddConversationOption(conversation, "What could I specialize in?", "dlg_11_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_11_4(NPC, Spawn)
  43. FaceTarget(NPC, Spawn)
  44. conversation = CreateConversation()
  45. AddConversationOption(conversation, "Where do I learn recipes?", "dlg_11_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_11_5(NPC, Spawn)
  50. FaceTarget(NPC, Spawn)
  51. conversation = CreateConversation()
  52. AddConversationOption(conversation, "What can I do with the items I make?", "dlg_11_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 Freeport. 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_11_6(NPC, Spawn)
  57. FaceTarget(NPC, Spawn)
  58. conversation = CreateConversation()
  59. AddConversationOption(conversation, "Do you have any further advice?", "dlg_11_7")
  60. AddConversationOption(conversation, "Thank you.")
  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 may build a fortune that others in Freeport can only envy!")
  62. end
  63. function dlg_11_7(NPC, Spawn)
  64. FaceTarget(NPC, Spawn)
  65. conversation = CreateConversation()
  66. -- give tradeskill item(s) here
  67. AddConversationOption(conversation, "Thank you for the guidance.", "dlg_11_8")
  68. StartConversation(conversation, NPC, Spawn, "Here is a handbook that will provide you with some basic reference material to start with. Once you reach Freeport, you will find a tradeskill tutor within your local crafting workshop who can teach you more about crafting in further detail.")
  69. end