MasterBowyerMossberge.lua 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/MasterBowyerMossberge.lua
  3. Script Purpose : Master Bowyer Mossberge
  4. Script Author : John Adams
  5. Script Date : 2009.03.01
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function InRange(NPC, Spawn)
  15. end
  16. function LeaveRange(NPC, Spawn)
  17. end
  18. function hailed(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. conversation = CreateConversation()
  21. PlayFlavor(NPC, "master_bowyer_mossberge/_exp03/exp03_rgn_greater_faydark/master_bowyer_mossberge/master_bowyer_mossberge001.mp3", "", "", 3127429571, 2993577902, Spawn)
  22. AddConversationOption(conversation, "Who are the Faydark's Champions?", "dlg_83_1")
  23. AddConversationOption(conversation, "I'll keep that in mind.")
  24. StartConversation(conversation, NPC, Spawn, "These new carpentry devices are great, but I prefer the old traditional ways of making bows. There is nothing like taking a plain old piece of wood and with your whittling knife, shape and transform it into a bow of beauty and power. The Faydark's Champions understood that quite well.")
  25. if convo==84 then
  26. PlayFlavor(NPC, "master_bowyer_mossberge/_exp03/exp03_rgn_greater_faydark/master_bowyer_mossberge/master_bowyer_mossberge001.mp3", "", "", 3127429571, 2993577902, Spawn)
  27. AddConversationOption(conversation, "Who are the Faydark's Champions?", "dlg_84_1")
  28. AddConversationOption(conversation, "I'll keep that in mind.")
  29. StartConversation(conversation, NPC, Spawn, "These new carpentry devices are great, but I prefer the old traditional ways of making bows. There is nothing like taking a plain old piece of wood and with your whittling knife, shape and transform it into a bow of beauty and power. The Faydark's Champions understood that quite well.")
  30. end
  31. end
  32. function dlg_83_1(NPC, Spawn)
  33. FaceTarget(NPC, Spawn)
  34. conversation = CreateConversation()
  35. PlayFlavor(NPC, "master_bowyer_mossberge/_exp03/exp03_rgn_greater_faydark/master_bowyer_mossberge/master_bowyer_mossberge002.mp3", "", "", 4179297404, 3815097672, Spawn)
  36. AddConversationOption(conversation, "What happened to them?", "dlg_83_2")
  37. StartConversation(conversation, NPC, Spawn, "The Champions were the ranger guild that once called Kelethin home long ago. They created exceptional weapons such as the Trueshot longbow, and the rare enchanted Rain Caller. Sadly, they are all gone now, casualties of the horrible War of the Fay.")
  38. end
  39. function dlg_83_2(NPC, Spawn)
  40. FaceTarget(NPC, Spawn)
  41. conversation = CreateConversation()
  42. PlayFlavor(NPC, "master_bowyer_mossberge/_exp03/exp03_rgn_greater_faydark/master_bowyer_mossberge/master_bowyer_mossberge003.mp3", "", "", 3846923539, 1035605128, Spawn)
  43. AddConversationOption(conversation, "Did they all die in the siege?", "dlg_83_3")
  44. StartConversation(conversation, NPC, Spawn, "Most of them lost their lives valiantly defending the tree city they loved. While Kelethin was besieged and burning around them they heroically repelled the Teir'dal and orcish invaders to buy time for their loved ones to escape into the forest.")
  45. end
  46. function dlg_83_3(NPC, Spawn)
  47. FaceTarget(NPC, Spawn)
  48. conversation = CreateConversation()
  49. PlayFlavor(NPC, "master_bowyer_mossberge/_exp03/exp03_rgn_greater_faydark/master_bowyer_mossberge/master_bowyer_mossberge004.mp3", "", "", 3957751629, 1890990204, Spawn)
  50. AddConversationOption(conversation, "What was their mission?", "dlg_83_4")
  51. StartConversation(conversation, NPC, Spawn, "All those rangers that stayed to protect Kelethin died to allow others to escape. However, there is a legend that tells of a small group of the Faydark's Champions that were sent on an urgent task as the Teir'dal army began closing around Kelethin to begin their siege. These few did not die but were able to slip by the enemy under the cover of night and proceed with their critical mission.")
  52. end
  53. function dlg_83_4(NPC, Spawn)
  54. FaceTarget(NPC, Spawn)
  55. conversation = CreateConversation()
  56. PlayFlavor(NPC, "master_bowyer_mossberge/_exp03/exp03_rgn_greater_faydark/master_bowyer_mossberge/master_bowyer_mossberge005.mp3", "", "", 2721196409, 2451619839, Spawn)
  57. AddConversationOption(conversation, "I understand. Thanks for the story.", "dlg_83_5")
  58. AddConversationOption(conversation, "Hmph... I can handle anything. Goodbye!")
  59. StartConversation(conversation, NPC, Spawn, "That part of the legend will have to wait till you are a little more experienced, I'm afraid. I'd hate to fill your head with exciting tales only to see you run off to relive them and get yourself killed in the process.")
  60. end
  61. function dlg_84_1(NPC, Spawn)
  62. FaceTarget(NPC, Spawn)
  63. conversation = CreateConversation()
  64. PlayFlavor(NPC, "master_bowyer_mossberge/_exp03/exp03_rgn_greater_faydark/master_bowyer_mossberge/master_bowyer_mossberge002.mp3", "", "", 4179297404, 3815097672, Spawn)
  65. AddConversationOption(conversation, "What happened to them?", "dlg_84_2")
  66. StartConversation(conversation, NPC, Spawn, "The Champions were the ranger guild that once called Kelethin home long ago. They created exceptional weapons such as the Trueshot longbow, and the rare enchanted Rain Caller. Sadly, they are all gone now, casualties of the horrible War of the Fay.")
  67. end
  68. function dlg_84_2(NPC, Spawn)
  69. FaceTarget(NPC, Spawn)
  70. conversation = CreateConversation()
  71. PlayFlavor(NPC, "master_bowyer_mossberge/_exp03/exp03_rgn_greater_faydark/master_bowyer_mossberge/master_bowyer_mossberge003.mp3", "", "", 3846923539, 1035605128, Spawn)
  72. AddConversationOption(conversation, "Did they all die in the siege?", "dlg_84_3")
  73. StartConversation(conversation, NPC, Spawn, "Most of them lost their lives valiantly defending the tree city they loved. While Kelethin was besieged and burning around them they heroically repelled the Teir'dal and orcish invaders to buy time for their loved ones to escape into the forest.")
  74. end
  75. function dlg_84_3(NPC, Spawn)
  76. FaceTarget(NPC, Spawn)
  77. conversation = CreateConversation()
  78. PlayFlavor(NPC, "master_bowyer_mossberge/_exp03/exp03_rgn_greater_faydark/master_bowyer_mossberge/master_bowyer_mossberge004.mp3", "", "", 3957751629, 1890990204, Spawn)
  79. AddConversationOption(conversation, "What was their mission?", "dlg_84_4")
  80. StartConversation(conversation, NPC, Spawn, "All those rangers that stayed to protect Kelethin died to allow others to escape. However, there is a legend that tells of a small group of the Faydark's Champions that were sent on an urgent task as the Teir'dal army began closing around Kelethin to begin their siege. These few did not die but were able to slip by the enemy under the cover of night and proceed with their critical mission.")
  81. end
  82. function dlg_84_4(NPC, Spawn)
  83. FaceTarget(NPC, Spawn)
  84. conversation = CreateConversation()
  85. PlayFlavor(NPC, "master_bowyer_mossberge/_exp03/exp03_rgn_greater_faydark/master_bowyer_mossberge/master_bowyer_mossberge005.mp3", "", "", 2721196409, 2451619839, Spawn)
  86. AddConversationOption(conversation, "I understand. Thanks for the story.", "dlg_84_5")
  87. AddConversationOption(conversation, "Hmph... I can handle anything. Goodbye!")
  88. StartConversation(conversation, NPC, Spawn, "That part of the legend will have to wait till you are a little more experienced, I'm afraid. I'd hate to fill your head with exciting tales only to see you run off to relive them and get yourself killed in the process.")
  89. end