RelcTulin.lua 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/RelcTulin.lua
  3. Script Purpose : Relc Tulin <House of Falling Stars>
  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_3_1006.mp3", "", "", 0, 0, Spawn)
  22. AddConversationOption(conversation, "I would like the writ: Saplings", "dlg_1_1")
  23. AddConversationOption(conversation, "I would like the writ: Frenzied Virosinoids")
  24. AddConversationOption(conversation, "I will return to aid you, later.")
  25. StartConversation(conversation, NPC, Spawn, "Rest easy here in the House of Falling Stars, .. GetName(Spawn) .. . However, if you are willing, we could really use your help.")
  26. if convo==9 then
  27. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1006.mp3", "", "", 0, 0, Spawn)
  28. AddConversationOption(conversation, "I would like the writ: Saplings", "dlg_9_1")
  29. AddConversationOption(conversation, "I would like the writ: Frenzied Virosinoids")
  30. AddConversationOption(conversation, "I would like the writ: Crushbone Trainers")
  31. AddConversationOption(conversation, "I will return to aid you, later.")
  32. StartConversation(conversation, NPC, Spawn, "Rest easy here in the House of Falling Stars, .. GetName(Spawn) .. . However, if you are willing, we could really use your help.")
  33. end
  34. if convo==10 then
  35. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1006.mp3", "", "", 0, 0, Spawn)
  36. AddConversationOption(conversation, "I would like the writ: Saplings", "dlg_10_1")
  37. AddConversationOption(conversation, "I would like the writ: Frenzied Virosinoids")
  38. AddConversationOption(conversation, "I would like the writ: Crushbone Trainers")
  39. AddConversationOption(conversation, "I will return to aid you, later.")
  40. StartConversation(conversation, NPC, Spawn, "Rest easy here in the House of Falling Stars, .. GetName(Spawn) .. . However, if you are willing, we could really use your help.")
  41. end
  42. if convo==11 then
  43. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1006.mp3", "", "", 0, 0, Spawn)
  44. AddConversationOption(conversation, "I would like the writ: Saplings", "dlg_11_1")
  45. AddConversationOption(conversation, "I would like the writ: Frenzied Virosinoids")
  46. AddConversationOption(conversation, "I would like the writ: Crushbone Trainers")
  47. AddConversationOption(conversation, "I will return to aid you, later.")
  48. StartConversation(conversation, NPC, Spawn, "Rest easy here in the House of Falling Stars, .. GetName(Spawn) .. . However, if you are willing, we could really use your help.")
  49. end
  50. if convo==12 then
  51. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1006.mp3", "", "", 0, 0, Spawn)
  52. AddConversationOption(conversation, "I would like the writ: Saplings", "dlg_12_1")
  53. AddConversationOption(conversation, "I would like the writ: Frenzied Virosinoids")
  54. AddConversationOption(conversation, "I would like the writ: Crushbone Trainers")
  55. AddConversationOption(conversation, "I will return to aid you, later.")
  56. StartConversation(conversation, NPC, Spawn, "Rest easy here in the House of Falling Stars, .. GetName(Spawn) .. . However, if you are willing, we could really use your help.")
  57. end
  58. end
  59. function dlg_12_1(NPC, Spawn)
  60. FaceTarget(NPC, Spawn)
  61. conversation = CreateConversation()
  62. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  63. AddConversationOption(conversation, "Thank you, I'll get started right away.", "dlg_12_2")
  64. StartConversation(conversation, NPC, Spawn, "The House of Falling Stars would like for you to eliminate angry saplings to further our cause. Doing so will earn you favor with our organization.")
  65. end