9
3

GlurieStonegrip.lua 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/GlurieStonegrip.lua
  3. Script Purpose : Glurie Stonegrip <Protectors of Growth>
  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, "voiceover/english/voice_emotes/greetings/greetings_1_1003.mp3", "", "", 0, 0, Spawn)
  22. AddConversationOption(conversation, "I would like the writ: Crushbone Pawns", "dlg_4_1")
  23. AddConversationOption(conversation, "I would like the writ: Crushbone Footmen")
  24. AddConversationOption(conversation, "I would like the writ: Crushbone Centurions")
  25. AddConversationOption(conversation, "I will return to assist you, later.")
  26. StartConversation(conversation, NPC, Spawn, "Welcome to the Protectors of Growth, .. GetName(Spawn) .. . We are in need of your help if you are willing to assist us.")
  27. if convo==5 then
  28. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1003.mp3", "", "", 0, 0, Spawn)
  29. AddConversationOption(conversation, "I would like the writ: Crushbone Pawns", "dlg_5_1")
  30. AddConversationOption(conversation, "I would like the writ: Crushbone Footmen")
  31. AddConversationOption(conversation, "I would like the writ: Crushbone Centurions")
  32. AddConversationOption(conversation, "I will return to assist you, later.")
  33. StartConversation(conversation, NPC, Spawn, "Welcome to the Protectors of Growth, .. GetName(Spawn) .. . We are in need of your help if you are willing to assist us.")
  34. end
  35. if convo==6 then
  36. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1003.mp3", "", "", 0, 0, Spawn)
  37. AddConversationOption(conversation, "I would like the writ: Crushbone Pawns", "dlg_6_1")
  38. AddConversationOption(conversation, "I would like the writ: Crushbone Footmen")
  39. AddConversationOption(conversation, "I would like the writ: Crushbone Centurions")
  40. AddConversationOption(conversation, "I will return to assist you, later.")
  41. StartConversation(conversation, NPC, Spawn, "Welcome to the Protectors of Growth, .. GetName(Spawn) .. . We are in need of your help if you are willing to assist us.")
  42. end
  43. if convo==7 then
  44. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1003.mp3", "", "", 0, 0, Spawn)
  45. AddConversationOption(conversation, "I would like the writ: Crushbone Pawns", "dlg_7_1")
  46. AddConversationOption(conversation, "I would like the writ: Crushbone Footmen")
  47. AddConversationOption(conversation, "I would like the writ: Crushbone Centurions")
  48. AddConversationOption(conversation, "I will return to assist you, later.")
  49. StartConversation(conversation, NPC, Spawn, "Welcome to the Protectors of Growth, .. GetName(Spawn) .. . We are in need of your help if you are willing to assist us.")
  50. end
  51. if convo==15 then
  52. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1003.mp3", "", "", 0, 0, Spawn)
  53. AddConversationOption(conversation, "I would like the writ: Crushbone Pawns", "dlg_15_1")
  54. AddConversationOption(conversation, "I would like the writ: Crushbone Footmen")
  55. AddConversationOption(conversation, "I will return to assist you, later.")
  56. StartConversation(conversation, NPC, Spawn, "Welcome to the Protectors of Growth, .. GetName(Spawn) .. . We are in need of your help if you are willing to assist us.")
  57. end
  58. if convo==16 then
  59. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1003.mp3", "", "", 0, 0, Spawn)
  60. AddConversationOption(conversation, "I would like the writ: Crushbone Pawns", "dlg_16_1")
  61. AddConversationOption(conversation, "I would like the writ: Crushbone Footmen")
  62. AddConversationOption(conversation, "I will return to assist you, later.")
  63. StartConversation(conversation, NPC, Spawn, "Welcome to the Protectors of Growth, .. GetName(Spawn) .. . We are in need of your help if you are willing to assist us.")
  64. end
  65. if convo==94 then
  66. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1003.mp3", "", "", 0, 0, Spawn)
  67. AddConversationOption(conversation, "I would like the writ: Crushbone Pawns", "dlg_94_1")
  68. AddConversationOption(conversation, "I would like the writ: Crushbone Footmen")
  69. AddConversationOption(conversation, "I will return to assist you, later.")
  70. StartConversation(conversation, NPC, Spawn, "Welcome to the Protectors of Growth, .. GetName(Spawn) .. . We are in need of your help if you are willing to assist us.")
  71. end
  72. if convo==95 then
  73. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1003.mp3", "", "", 0, 0, Spawn)
  74. AddConversationOption(conversation, "I would like the writ: Crushbone Pawns", "dlg_95_1")
  75. AddConversationOption(conversation, "I would like the writ: Crushbone Footmen")
  76. AddConversationOption(conversation, "I will return to assist you, later.")
  77. StartConversation(conversation, NPC, Spawn, "Welcome to the Protectors of Growth, .. GetName(Spawn) .. . We are in need of your help if you are willing to assist us.")
  78. end
  79. end
  80. function dlg_7_1(NPC, Spawn)
  81. FaceTarget(NPC, Spawn)
  82. conversation = CreateConversation()
  83. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  84. AddConversationOption(conversation, "Thank you, I'll get started right away.", "dlg_7_2")
  85. StartConversation(conversation, NPC, Spawn, "The Protectors of Growth would like for you to eliminate Crushbone pawns to further our cause. Doing so will earn you favor with our organization.")
  86. end