AmbassadorBrynhildeMaersdottr.lua 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/AmbassadorBrynhildeMaersdottr.lua
  3. Script Purpose : Ambassador Brynhilde Maersdottr <Change of Citizenship>
  4. Script Author : theFoof
  5. Script Date : 2013.10.30
  6. Script Notes :
  7. --]]
  8. require"SpawnScripts/FrostfangSea/halas_proximity_cheer"
  9. function spawn(NPC)
  10. SetPlayerProximityFunction(NPC, 15, "ProxCheer")
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. --[[
  16. function hailed(NPC, Spawn)
  17. FaceTarget(NPC, Spawn)
  18. conversation = CreateConversation()
  19. PlayFlavor(NPC, "brynhilde_maersdottr/halas/city_population/halas_betrayal_001.mp3", "", "", 97799044, 4230411082, Spawn)
  20. AddConversationOption(conversation, "Maybe, tell me more.", "dlg_3_1")
  21. AddConversationOption(conversation, "No thank you, I'm very happy here.")
  22. StartConversation(conversation, NPC, Spawn, "Greetings! I am here to offer assistance if you wish to change citizenship. Is this of interest to you?")
  23. if convo==6 then
  24. PlayFlavor(NPC, "brynhilde_maersdottr/halas/city_population/halas_betrayal_001.mp3", "", "", 97799044, 4230411082, Spawn)
  25. AddConversationOption(conversation, "Maybe, tell me more.", "dlg_6_1")
  26. AddConversationOption(conversation, "No thank you, I'm very happy here.")
  27. StartConversation(conversation, NPC, Spawn, "Greetings! I am here to offer assistance if you wish to change citizenship. Is this of interest to you?")
  28. end
  29. if convo==8 then
  30. PlayFlavor(NPC, "brynhilde_maersdottr/halas/city_population/halas_betrayal_001.mp3", "", "", 97799044, 4230411082, Spawn)
  31. AddConversationOption(conversation, "Maybe, tell me more.", "dlg_8_1")
  32. AddConversationOption(conversation, "No thank you, I'm very happy here.")
  33. StartConversation(conversation, NPC, Spawn, "Greetings! I am here to offer assistance if you wish to change citizenship. Is this of interest to you?")
  34. end
  35. if convo==9 then
  36. PlayFlavor(NPC, "brynhilde_maersdottr/halas/city_population/halas_betrayal_001.mp3", "", "", 97799044, 4230411082, Spawn)
  37. AddConversationOption(conversation, "Maybe, tell me more.", "dlg_9_1")
  38. AddConversationOption(conversation, "No thank you, I'm very happy here.")
  39. StartConversation(conversation, NPC, Spawn, "Greetings! I am here to offer assistance if you wish to change citizenship. Is this of interest to you?")
  40. end
  41. end
  42. function dlg_3_1(NPC, Spawn)
  43. FaceTarget(NPC, Spawn)
  44. conversation = CreateConversation()
  45. PlayFlavor(NPC, "brynhilde_maersdottr/halas/city_population/halas_betrayal_002.mp3", "", "", 1600213250, 4013876704, Spawn)
  46. AddConversationOption(conversation, "Yes, can you help me to do that?", "dlg_3_2")
  47. AddConversationOption(conversation, "Actually, I was thinking of changing citizenship to ... elsewhere.")
  48. StartConversation(conversation, NPC, Spawn, "As you're probably aware, New Halas has established good relations with the cities of Qeynos and Kelethin, and when someone wishes to switch citizenship to these cities we try to make the process as friendly as possible. Is this your wish?")
  49. end
  50. function dlg_3_2(NPC, Spawn)
  51. FaceTarget(NPC, Spawn)
  52. conversation = CreateConversation()
  53. PlayFlavor(NPC, "brynhilde_maersdottr/halas/city_population/halas_betrayal_003.mp3", "", "", 2358151408, 4270279466, Spawn)
  54. AddConversationOption(conversation, "Qeynos, if you please.", "dlg_3_3")
  55. AddConversationOption(conversation, "Kelethin, if you please.")
  56. AddConversationOption(conversation, "Neither, I have changed my mind. Thanks anyway!")
  57. StartConversation(conversation, NPC, Spawn, "I would be happy to help. Are you interested in becoming a citizen of Qeynos, or Kelethin?")
  58. end
  59. function dlg_8_1(NPC, Spawn)
  60. FaceTarget(NPC, Spawn)
  61. conversation = CreateConversation()
  62. PlayFlavor(NPC, "brynhilde_maersdottr/halas/city_population/halas_betrayal_002.mp3", "", "", 1600213250, 4013876704, Spawn)
  63. AddConversationOption(conversation, "Yes, can you help me to do that?", "dlg_8_2")
  64. AddConversationOption(conversation, "Actually, I was thinking of changing citizenship to ... elsewhere.")
  65. StartConversation(conversation, NPC, Spawn, "As you're probably aware, New Halas has established good relations with the cities of Qeynos and Kelethin, and when someone wishes to switch citizenship to these cities we try to make the process as friendly as possible. Is this your wish?")
  66. end
  67. function dlg_8_2(NPC, Spawn)
  68. FaceTarget(NPC, Spawn)
  69. conversation = CreateConversation()
  70. PlayFlavor(NPC, "brynhilde_maersdottr/halas/city_population/halas_betrayal_003.mp3", "", "", 2358151408, 4270279466, Spawn)
  71. AddConversationOption(conversation, "Qeynos, if you please.", "dlg_8_3")
  72. AddConversationOption(conversation, "Kelethin, if you please.")
  73. AddConversationOption(conversation, "Neither, I have changed my mind. Thanks anyway!")
  74. StartConversation(conversation, NPC, Spawn, "I would be happy to help. Are you interested in becoming a citizen of Qeynos, or Kelethin?")
  75. end
  76. function dlg_9_1(NPC, Spawn)
  77. FaceTarget(NPC, Spawn)
  78. conversation = CreateConversation()
  79. PlayFlavor(NPC, "brynhilde_maersdottr/halas/city_population/halas_betrayal_002.mp3", "", "", 1600213250, 4013876704, Spawn)
  80. AddConversationOption(conversation, "Yes, can you help me to do that?", "dlg_9_2")
  81. AddConversationOption(conversation, "Actually, I was thinking of changing citizenship to ... elsewhere.")
  82. StartConversation(conversation, NPC, Spawn, "As you're probably aware, New Halas has established good relations with the cities of Qeynos and Kelethin, and when someone wishes to switch citizenship to these cities we try to make the process as friendly as possible. Is this your wish?")
  83. end
  84. function dlg_9_2(NPC, Spawn)
  85. FaceTarget(NPC, Spawn)
  86. conversation = CreateConversation()
  87. PlayFlavor(NPC, "brynhilde_maersdottr/halas/city_population/halas_betrayal_003.mp3", "", "", 2358151408, 4270279466, Spawn)
  88. AddConversationOption(conversation, "Qeynos, if you please.", "dlg_9_3")
  89. AddConversationOption(conversation, "Kelethin, if you please.")
  90. AddConversationOption(conversation, "Neither, I have changed my mind. Thanks anyway!")
  91. StartConversation(conversation, NPC, Spawn, "I would be happy to help. Are you interested in becoming a citizen of Qeynos, or Kelethin?")
  92. end
  93. --]]
  94. --[[ raw_conversations
  95. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1003.mp3", "", "", 0, 0, Spawn)
  96. --]]