MerchantFallulah.lua 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/MerchantFallulah.lua
  3. Script Purpose : Merchant Fallulah
  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_2_1005.mp3", "", "", 0, 0, Spawn)
  22. AddConversationOption(conversation, "Your sister Melilah asked me...", "dlg_43_1")
  23. AddConversationOption(conversation, "Have a nice day!")
  24. StartConversation(conversation, NPC, Spawn, "Hello.")
  25. if convo==51 then
  26. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1005.mp3", "", "", 0, 0, Spawn)
  27. AddConversationOption(conversation, "Do you want to talk about it?", "dlg_51_1")
  28. AddConversationOption(conversation, "No problem.")
  29. StartConversation(conversation, NPC, Spawn, "Oh. It's you again. Listen, sorry about my outburst earlier.")
  30. end
  31. if convo==52 then
  32. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1005.mp3", "", "", 0, 0, Spawn)
  33. AddConversationOption(conversation, "Do you want to talk about it?", "dlg_52_1")
  34. AddConversationOption(conversation, "No problem.")
  35. StartConversation(conversation, NPC, Spawn, "Oh. It's you again. Listen, sorry about my outburst earlier.")
  36. end
  37. end
  38. function dlg_43_1(NPC, Spawn)
  39. FaceTarget(NPC, Spawn)
  40. conversation = CreateConversation()
  41. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  42. AddConversationOption(conversation, "She just wanted me to...", "dlg_43_2")
  43. StartConversation(conversation, NPC, Spawn, "Oh, she did, did she? Well, if she wants to talk to me, she can jolly well come down here off her high...platform...and do so herself!")
  44. end
  45. function dlg_43_2(NPC, Spawn)
  46. FaceTarget(NPC, Spawn)
  47. conversation = CreateConversation()
  48. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  49. AddConversationOption(conversation, "Do you want to see it?", "dlg_43_3")
  50. StartConversation(conversation, NPC, Spawn, "Oh, I'm not angry with you! I'm angry with HER! Seasons go by without so much as a 'how're you doing' and then she sends a complete STRANGER to me with a note. A NOTE!")
  51. end
  52. function dlg_43_3(NPC, Spawn)
  53. FaceTarget(NPC, Spawn)
  54. conversation = CreateConversation()
  55. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  56. AddConversationOption(conversation, "I'll let her know.", "dlg_43_4")
  57. StartConversation(conversation, NPC, Spawn, "No. Take it away. You can tell her no matter what excuses she makes, I want the clock. Got it?")
  58. end
  59. function dlg_52_1(NPC, Spawn)
  60. FaceTarget(NPC, Spawn)
  61. conversation = CreateConversation()
  62. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  63. AddConversationOption(conversation, "That's what I thought. Melilah wants to start over with you.", "dlg_52_2")
  64. StartConversation(conversation, NPC, Spawn, "It's just...our father died and he was the last family Melilah and I had in Kelethin, except for each other. I've never had to run the shop before and it's been really frustrating to me.")
  65. end
  66. function dlg_52_2(NPC, Spawn)
  67. FaceTarget(NPC, Spawn)
  68. conversation = CreateConversation()
  69. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  70. AddConversationOption(conversation, "I think you two are overdue for a long, sisterly talk.", "dlg_52_3")
  71. StartConversation(conversation, NPC, Spawn, "She does? I could really use the help! I mean...I miss her. And yes, I could use the help. She's always had a head for business. And I don't want the clock, I just want to be friends with her again.")
  72. end
  73. function dlg_52_3(NPC, Spawn)
  74. FaceTarget(NPC, Spawn)
  75. conversation = CreateConversation()
  76. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  77. AddConversationOption(conversation, "Good luck with your business...and your sister!", "dlg_52_4")
  78. StartConversation(conversation, NPC, Spawn, "Poor Melilah...all this time, I misjudged her. Thank you so much for getting us to see things straight. May Tunare's blessings be upon you!")
  79. end