AcommemorativeQeynosCoin.lua 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. --[[
  2. Script Name : ItemScripts/AcommemorativeQeynosCoin.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.05.30 08:05:12
  5. Script Purpose : a commemorative coin speech broken into sections EMU players can hear.
  6. :
  7. --]]
  8. function examined(Item, Player)
  9. choice = MakeRandomInt(0,100)
  10. if choice >=2 then
  11. if GetClientVersion(Player) >546 then
  12. conversation = CreateConversation()
  13. PlayFlavor(Player, "voiceover/english/queen_antonia_bayle/qey_north/antonia_isle_speech_1.mp3", "", "", 499186274, 1744595600, Player)
  14. -- PlayFlavor(Player,"voiceover/english/tullia_domna/fprt_hood04/quests/tulladomna/tulla_x1_initial.mp3","","",309451026,621524268,Player)
  15. -- PlayFlavor(Player,"voiceover/english/queen_antonia_bayle/qey_north/antonia_isle_speech.mp3","","", 2297205435, 1273418227,Player)
  16. AddConversationOption(conversation, "\"Many among you...\"", "visage03")
  17. AddConversationOption(conversation, "Put the coin away.", "CloseItemConversation")
  18. StartDialogConversation(conversation, 2, Item, Player, "As you clutch the coin in your hand, you hear a voice magically speaking in your mind. \"Good traveler, you have seen much in your journey, and now you seek refuge in our humble City of Qeynos. As ruler and servant of the good people of Qeynos, I, Antonia Bayle, welcome you.\"")
  19. else
  20. conversation = CreateConversation()
  21. PlayFlavor(Player,"voiceover/english/queen_antonia_bayle/qey_north/antonia_isle_speech.mp3","","", 2297205435, 1273418227,Player)
  22. AddConversationOption(conversation, "Put the coin away.", "CloseItemConversation")
  23. StartDialogConversation(conversation, 2, Item, Player, "As you clutch the coin in your hand, you hear a voice magically speaking in your mind.")
  24. end
  25. else
  26. conversation = CreateConversation() -- A SECRET DEEP DIVE INTO ANTONIA'S THOUGHTS (This is in jest, obviously)
  27. PlayFlavor(Player,"voiceover/english/tullia_domna/fprt_hood04/quests/tulladomna/tulla_x1_initial.mp3","","",309451026,621524268,Player)
  28. AddConversationOption(conversation, "Put the coin away.", "CloseItemConversation")
  29. StartDialogConversation(conversation, 2, Item, Player, "As you clutch the coin in your hand, you hear a voice magically speaking in your mind.")
  30. end
  31. end
  32. function visage03(Item, Player)
  33. conversation = CreateConversation()
  34. PlayFlavor(Player, "voiceover/english/queen_antonia_bayle/qey_north/antonia_isle_speech_2.mp3", "", "", 2366466723, 1207173576, Player)
  35. AddConversationOption(conversation, "\"If you are tired...\"", "visage04")
  36. AddConversationOption(conversation, "Put the coin away.", "CloseItemConversation")
  37. StartDialogConversation(conversation, 2, Item, Player, "\"Many among you have traveled great distances, enduring hardships and facing terrible dangers.\"")
  38. end
  39. function visage04(Item, Player)
  40. conversation = CreateConversation()
  41. PlayFlavor(Player, "voiceover/english/queen_antonia_bayle/qey_north/antonia_isle_speech_3.mp3", "", "", 1841028977, 3133868486, Player)
  42. AddConversationOption(conversation, "\"You shall...\"", "visage05")
  43. AddConversationOption(conversation, "Put the coin away.", "CloseItemConversation")
  44. StartDialogConversation(conversation, 2, Item, Player, "\"If you are tired, cold or hungry, if you flee persecution, poverty or injustice, be comforted, there is a place at our hearth for you.\"")
  45. end
  46. function visage05(Item, Player)
  47. conversation = CreateConversation()
  48. PlayFlavor(Player, "voiceover/english/queen_antonia_bayle/qey_north/antonia_isle_speech_4.mp3", "", "", 2202564065, 871912515, Player)
  49. AddConversationOption(conversation, "\"Our own...\"", "visage06")
  50. AddConversationOption(conversation, "Put the coin away.", "CloseItemConversation")
  51. StartDialogConversation(conversation, 2, Item, Player, "\"You shall find rest in Qeynos.\"")
  52. end
  53. function visage06(Item, Player)
  54. conversation = CreateConversation()
  55. PlayFlavor(Player, "voiceover/english/queen_antonia_bayle/qey_north/antonia_isle_speech_5.mp3", "", "", 1129117607, 63248962, Player)
  56. AddConversationOption(conversation, "\"Your safety...\"", "visage07")
  57. AddConversationOption(conversation, "Put the coin away.", "CloseItemConversation")
  58. StartDialogConversation(conversation, 2, Item, Player, "\"Our own Qeynos guard pledges its service to your security.\"")
  59. end
  60. function visage07(Item, Player)
  61. conversation = CreateConversation()
  62. PlayFlavor(Player, "voiceover/english/queen_antonia_bayle/qey_north/antonia_isle_speech_6.mp3", "", "", 1663362626, 2717555718, Player)
  63. AddConversationOption(conversation, "\"The tribulations of Qeynos...\"", "visage08")
  64. AddConversationOption(conversation, "Put the coin away.", "CloseItemConversation")
  65. StartDialogConversation(conversation, 2, Item, Player, "\"Your safety and peace is our sacred trust.\"")
  66. end
  67. function visage08(Item, Player)
  68. conversation = CreateConversation()
  69. PlayFlavor(Player, "voiceover/english/queen_antonia_bayle/qey_north/antonia_isle_speech_7.mp3", "", "", 3755081144, 1816040948, Player)
  70. AddConversationOption(conversation, "\"If Qeynos has endured...\"", "visage09")
  71. AddConversationOption(conversation, "Put the coin away.", "CloseItemConversation")
  72. StartDialogConversation(conversation, 2, Item, Player, "\"The tribulations of Qeynos during the Age of Cataclysms are legendary -- destruction, plagues, horrors both natural and unnatural...\"")
  73. end
  74. function visage09(Item, Player)
  75. conversation = CreateConversation()
  76. PlayFlavor(Player, "voiceover/english/queen_antonia_bayle/qey_north/antonia_isle_speech_8.mp3", "", "", 1646438592, 3991623974, Player)
  77. AddConversationOption(conversation, "\"Prepare yourself...\"", "visage10")
  78. AddConversationOption(conversation, "Put the coin away.", "CloseItemConversation")
  79. StartDialogConversation(conversation, 2, Item, Player, "\"If Qeynos has endured, it is because of the steadfast loyalty and courage of her people.\"")
  80. end
  81. function visage10(Item, Player)
  82. conversation = CreateConversation()
  83. PlayFlavor(Player, "voiceover/english/queen_antonia_bayle/qey_north/antonia_isle_speech_9.mp3", "", "", 2292019727, 2112049669, Player)
  84. AddConversationOption(conversation, "\"All who yearn...\"", "visage11")
  85. AddConversationOption(conversation, "Put the coin away.", "CloseItemConversation")
  86. StartDialogConversation(conversation, 2, Item, Player, "\"Prepare yourself. When you enter the city gates, you accept the challenge of citizenship.\"")
  87. end
  88. function visage11(Item, Player)
  89. conversation = CreateConversation()
  90. PlayFlavor(Player, "voiceover/english/queen_antonia_bayle/qey_north/antonia_isle_speech_10.mp3", "", "", 1463066361, 618547599, Player)
  91. AddConversationOption(conversation, "\"Your loyalty...\"", "visage12")
  92. AddConversationOption(conversation, "Put the coin away.", "CloseItemConversation")
  93. StartDialogConversation(conversation, 2, Item, Player, "\"All who yearn to fully participate in the center of Qeynos must first prove themselves.\"")
  94. end
  95. function visage12(Item, Player)
  96. conversation = CreateConversation()
  97. PlayFlavor(Player, "voiceover/english/queen_antonia_bayle/qey_north/antonia_isle_speech_11.mp3", "", "", 3316158990, 3680571955, Player)
  98. AddConversationOption(conversation, "\"Qeynosians are...\"", "visage13")
  99. AddConversationOption(conversation, "Put the coin away.", "CloseItemConversation")
  100. StartDialogConversation(conversation, 2, Item, Player, "\"Your loyalty will be tested, for you must earn the right to be called citizen.\"")
  101. end
  102. function visage13(Item, Player)
  103. conversation = CreateConversation()
  104. PlayFlavor(Player, "voiceover/english/queen_antonia_bayle/qey_north/antonia_isle_speech_12.mp3", "", "", 2036336595, 3509341224, Player)
  105. AddConversationOption(conversation, "\"No doubt...\"", "visage14")
  106. AddConversationOption(conversation, "Put the coin away.", "CloseItemConversation")
  107. StartDialogConversation(conversation, 2, Item, Player, "\"Qeynosians are generous to travelers, but harsh with traitors.\"")
  108. end
  109. function visage14(Item, Player)
  110. conversation = CreateConversation()
  111. PlayFlavor(Player, "voiceover/english/queen_antonia_bayle/qey_north/antonia_isle_speech_13.mp3", "", "", 2730892750, 1805998546, Player)
  112. AddConversationOption(conversation, "\"I see...\"", "visage15")
  113. AddConversationOption(conversation, "Put the coin away.", "CloseItemConversation")
  114. StartDialogConversation(conversation, 2, Item, Player, "\"No doubt you have heard the boasting of Lucan De'Lere.\"")
  115. end
  116. function visage15(Item, Player)
  117. conversation = CreateConversation()
  118. PlayFlavor(Player, "voiceover/english/queen_antonia_bayle/qey_north/antonia_isle_speech_14.mp3", "", "", 1986999100, 3686223802, Player)
  119. AddConversationOption(conversation, "\"I trust...\"", "visage16")
  120. AddConversationOption(conversation, "Put the coin away.", "CloseItemConversation")
  121. StartDialogConversation(conversation, 2, Item, Player, "\"I see, however, that his lies have not enticed you into Freeport. Be grateful and thank the gods; you would not find a restful sanctuary there.\"")
  122. end
  123. function visage16(Item, Player)
  124. conversation = CreateConversation()
  125. PlayFlavor(Player, "voiceover/english/queen_antonia_bayle/qey_north/antonia_isle_speech_15.mp3", "", "", 3873638463, 3215411094, Player)
  126. AddConversationOption(conversation, "\"If this be not...\"", "visage17")
  127. AddConversationOption(conversation, "Put the coin away.", "CloseItemConversation")
  128. StartDialogConversation(conversation, 2, Item, Player, "\"I trust that you do not share in Lucan's deceit, and that the well-being of Qeynos and its people is in your heart.\"")
  129. end
  130. function visage17(Item, Player)
  131. conversation = CreateConversation()
  132. PlayFlavor(Player, "voiceover/english/queen_antonia_bayle/qey_north/antonia_isle_speech_16.mp3", "", "", 3813230568, 886823992, Player)
  133. AddConversationOption(conversation, "\"If, however...\"", "visage18")
  134. AddConversationOption(conversation, "Put the coin away.", "CloseItemConversation")
  135. StartDialogConversation(conversation, 2, Item, Player, "\"If this be not the truth, take heed: treachery will not be suffered here.\"")
  136. end
  137. function visage18(Item, Player)
  138. conversation = CreateConversation()
  139. PlayFlavor(Player, "voiceover/english/queen_antonia_bayle/qey_north/antonia_isle_speech_17.mp3", "", "", 3518095686, 1014640100, Player)
  140. AddConversationOption(conversation, "\"Now enter...\"", "visage19")
  141. AddConversationOption(conversation, "Put the coin away.", "CloseItemConversation")
  142. StartDialogConversation(conversation, 2, Item, Player, "\"If, however, you are as true and loyal as you seem, then may your life in Qeynos be abundant in blessings.\"")
  143. end
  144. function visage19(Item, Player)
  145. conversation = CreateConversation()
  146. PlayFlavor(Player, "voiceover/english/queen_antonia_bayle/qey_north/antonia_isle_speech_18.mp3", "", "", 1587099913, 694440967, Player)
  147. AddConversationOption(conversation, "Put the coin away.", "CloseItemConversation")
  148. StartDialogConversation(conversation, 2, Item, Player, "\"Now enter good traveler, and find your place among us.\"")
  149. end
  150. function CloseConvo(Item,Player)
  151. CloseItemConversation(Item,Player)
  152. end