JuturnaPostumus.lua 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  1. --[[
  2. Script Name : SpawnScripts/Longshadow/JuturnaPostumus.lua
  3. Script Purpose : Juturna Postumus
  4. Script Author : John Adams
  5. Script Date : 2009.04.11
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function respawn(NPC)
  11. spawn(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. conversation = CreateConversation()
  16. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1003.mp3", "", "", 0, 0, Spawn)
  17. AddConversationOption(conversation, "Nothing. Just saying hello.", "dlg_0_1")
  18. AddConversationOption(conversation, "Nothing. Good bye.")
  19. StartConversation(conversation, NPC, Spawn, "What do you want from me?")
  20. if convo==2 then
  21. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1003.mp3", "", "", 0, 0, Spawn)
  22. AddConversationOption(conversation, "Nothing. Just saying hello.", "dlg_2_1")
  23. AddConversationOption(conversation, "Nothing. Good bye.")
  24. StartConversation(conversation, NPC, Spawn, "What do you want from me?")
  25. end
  26. if convo==3 then
  27. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1003.mp3", "", "", 0, 0, Spawn)
  28. AddConversationOption(conversation, "Nothing. Just saying hello.", "dlg_3_1")
  29. AddConversationOption(conversation, "Nothing. Good bye.")
  30. StartConversation(conversation, NPC, Spawn, "What do you want from me?")
  31. end
  32. end
  33. function dlg_0_1(NPC, Spawn)
  34. FaceTarget(NPC, Spawn)
  35. conversation = CreateConversation()
  36. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  37. AddConversationOption(conversation, "What happened to your son?", "dlg_0_2")
  38. StartConversation(conversation, NPC, Spawn, "Forgive me...that was rather rude of me! You caught me remembering the past...thinking about my son, may the gods preserve his memory.")
  39. end
  40. function dlg_0_2(NPC, Spawn)
  41. FaceTarget(NPC, Spawn)
  42. conversation = CreateConversation()
  43. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  44. AddConversationOption(conversation, "Where would you have gone?", "dlg_0_3")
  45. AddConversationOption(conversation, "I'm not interested in your story anyway.")
  46. StartConversation(conversation, NPC, Spawn, "I don't want to burden you with the details. He's...been dead now for many years. Even now, though, I remember his smile and laugh. If only I'd listened to my heart and left when I had the chance.")
  47. end
  48. function dlg_0_3(NPC, Spawn)
  49. FaceTarget(NPC, Spawn)
  50. conversation = CreateConversation()
  51. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  52. AddConversationOption(conversation, "Why didn't you join them, then?", "dlg_0_4")
  53. StartConversation(conversation, NPC, Spawn, "I have relatives...elsewhere. They're warm, friendly and caring people. Their minds and hearts are open. Their lives are rich and full of beauty. I'm not speaking of wealth, but of another sort of richness.")
  54. end
  55. function dlg_0_4(NPC, Spawn)
  56. FaceTarget(NPC, Spawn)
  57. conversation = CreateConversation()
  58. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  59. AddConversationOption(conversation, "I'm sorry to hear that.", "dlg_0_5")
  60. AddConversationOption(conversation, "It's been a long time since then, you said. Get over it.")
  61. StartConversation(conversation, NPC, Spawn, "My husband would not leave Freeport then. When he finally did leave, it was to take our son and...and... Well...my husband got what he deserved in the end, but not my son. He deserved a much better end.")
  62. end
  63. function dlg_0_5(NPC, Spawn)
  64. FaceTarget(NPC, Spawn)
  65. conversation = CreateConversation()
  66. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  67. AddConversationOption(conversation, "A client?", "dlg_0_6")
  68. StartConversation(conversation, NPC, Spawn, "You seem like an open-minded person. We squires can sense that about others. I...can tell you more about this, if you would become a client of mine.")
  69. end
  70. function dlg_0_6(NPC, Spawn)
  71. FaceTarget(NPC, Spawn)
  72. conversation = CreateConversation()
  73. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  74. AddConversationOption(conversation, "You have relatives elsewhere. Why don't you stay with them now?", "dlg_0_7")
  75. StartConversation(conversation, NPC, Spawn, "There are a handful of squires in Freeport who assist their clients in learning more about other places, where our lives would not be filled with the stress that living here in Freeport can bring.")
  76. end
  77. function dlg_0_7(NPC, Spawn)
  78. FaceTarget(NPC, Spawn)
  79. conversation = CreateConversation()
  80. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  81. AddConversationOption(conversation, "I can get the coin, but it will take a bit of time.", "dlg_0_8")
  82. AddConversationOption(conversation, "If I gave you the coin, it would be a gift and not a loan.")
  83. AddConversationOption(conversation, "I've heard this story a thousand times. You'll not get anything from me!")
  84. AddConversationOption(conversation, "Nice try. Hah! Good riddance.")
  85. StartConversation(conversation, NPC, Spawn, "Widowed as young as I was, I've been unable to save anything. I barely scrape by as it is. If...if you could lend me five hundred gold, I could go to my relatives. I'd pay you back...I would!")
  86. end
  87. function dlg_2_1(NPC, Spawn)
  88. FaceTarget(NPC, Spawn)
  89. conversation = CreateConversation()
  90. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  91. AddConversationOption(conversation, "What happened to your son?", "dlg_2_2")
  92. StartConversation(conversation, NPC, Spawn, "Forgive me...that was rather rude of me! You caught me remembering the past...thinking about my son, may the gods preserve his memory.")
  93. end
  94. function dlg_2_2(NPC, Spawn)
  95. FaceTarget(NPC, Spawn)
  96. conversation = CreateConversation()
  97. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  98. AddConversationOption(conversation, "Where would you have gone?", "dlg_2_3")
  99. AddConversationOption(conversation, "I'm not interested in your story anyway.")
  100. StartConversation(conversation, NPC, Spawn, "I don't want to burden you with the details. He's...been dead now for many years. Even now, though, I remember his smile and laugh. If only I'd listened to my heart and left when I had the chance.")
  101. end
  102. function dlg_2_3(NPC, Spawn)
  103. FaceTarget(NPC, Spawn)
  104. conversation = CreateConversation()
  105. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  106. AddConversationOption(conversation, "Why didn't you join them, then?", "dlg_2_4")
  107. StartConversation(conversation, NPC, Spawn, "I have relatives...elsewhere. They're warm, friendly and caring people. Their minds and hearts are open. Their lives are rich and full of beauty. I'm not speaking of wealth, but of another sort of richness.")
  108. end
  109. function dlg_2_4(NPC, Spawn)
  110. FaceTarget(NPC, Spawn)
  111. conversation = CreateConversation()
  112. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  113. AddConversationOption(conversation, "I'm sorry to hear that.", "dlg_2_5")
  114. AddConversationOption(conversation, "It's been a long time since then, you said. Get over it.")
  115. StartConversation(conversation, NPC, Spawn, "My husband would not leave Freeport then. When he finally did leave, it was to take our son and...and... Well...my husband got what he deserved in the end, but not my son. He deserved a much better end.")
  116. end
  117. function dlg_2_5(NPC, Spawn)
  118. FaceTarget(NPC, Spawn)
  119. conversation = CreateConversation()
  120. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  121. AddConversationOption(conversation, "A client?", "dlg_2_6")
  122. StartConversation(conversation, NPC, Spawn, "You seem like an open-minded person. We squires can sense that about others. I...can tell you more about this, if you would become a client of mine.")
  123. end
  124. function dlg_2_6(NPC, Spawn)
  125. FaceTarget(NPC, Spawn)
  126. conversation = CreateConversation()
  127. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  128. AddConversationOption(conversation, "You have relatives elsewhere. Why don't you stay with them now?", "dlg_2_7")
  129. StartConversation(conversation, NPC, Spawn, "There are a handful of squires in Freeport who assist their clients in learning more about other places, where our lives would not be filled with the stress that living here in Freeport can bring.")
  130. end
  131. function dlg_2_7(NPC, Spawn)
  132. FaceTarget(NPC, Spawn)
  133. conversation = CreateConversation()
  134. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  135. AddConversationOption(conversation, "I can get the coin, but it will take a bit of time.", "dlg_2_8")
  136. AddConversationOption(conversation, "If I gave you the coin, it would be a gift and not a loan.")
  137. AddConversationOption(conversation, "I've heard this story a thousand times. You'll not get anything from me!")
  138. AddConversationOption(conversation, "Nice try. Hah! Good riddance.")
  139. StartConversation(conversation, NPC, Spawn, "Widowed as young as I was, I've been unable to save anything. I barely scrape by as it is. If...if you could lend me five hundred gold, I could go to my relatives. I'd pay you back...I would!")
  140. end
  141. function dlg_2_8(NPC, Spawn)
  142. FaceTarget(NPC, Spawn)
  143. conversation = CreateConversation()
  144. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  145. AddConversationOption(conversation, "Tell me more.")
  146. StartConversation(conversation, NPC, Spawn, "I was right: your heart and mind are open. There is no need to give me anything. I have much that I can give you, though. There is a way to .. GetName(Spawn) .. . and security. Are you interested in learning about it?")
  147. end
  148. function dlg_3_1(NPC, Spawn)
  149. FaceTarget(NPC, Spawn)
  150. conversation = CreateConversation()
  151. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  152. AddConversationOption(conversation, "What happened to your son?", "dlg_3_2")
  153. StartConversation(conversation, NPC, Spawn, "Forgive me...that was rather rude of me! You caught me remembering the past...thinking about my son, may the gods preserve his memory.")
  154. end
  155. function dlg_3_2(NPC, Spawn)
  156. FaceTarget(NPC, Spawn)
  157. conversation = CreateConversation()
  158. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  159. AddConversationOption(conversation, "Where would you have gone?", "dlg_3_3")
  160. AddConversationOption(conversation, "I'm not interested in your story anyway.")
  161. StartConversation(conversation, NPC, Spawn, "I don't want to burden you with the details. He's...been dead now for many years. Even now, though, I remember his smile and laugh. If only I'd listened to my heart and left when I had the chance.")
  162. end
  163. function dlg_3_3(NPC, Spawn)
  164. FaceTarget(NPC, Spawn)
  165. conversation = CreateConversation()
  166. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  167. AddConversationOption(conversation, "Why didn't you join them, then?", "dlg_3_4")
  168. StartConversation(conversation, NPC, Spawn, "I have relatives...elsewhere. They're warm, friendly and caring people. Their minds and hearts are open. Their lives are rich and full of beauty. I'm not speaking of wealth, but of another sort of richness.")
  169. end
  170. function dlg_3_4(NPC, Spawn)
  171. FaceTarget(NPC, Spawn)
  172. conversation = CreateConversation()
  173. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  174. AddConversationOption(conversation, "I'm sorry to hear that.", "dlg_3_5")
  175. AddConversationOption(conversation, "It's been a long time since then, you said. Get over it.")
  176. StartConversation(conversation, NPC, Spawn, "My husband would not leave Freeport then. When he finally did leave, it was to take our son and...and... Well...my husband got what he deserved in the end, but not my son. He deserved a much better end.")
  177. end
  178. function dlg_3_5(NPC, Spawn)
  179. FaceTarget(NPC, Spawn)
  180. conversation = CreateConversation()
  181. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  182. AddConversationOption(conversation, "A client?", "dlg_3_6")
  183. StartConversation(conversation, NPC, Spawn, "You seem like an open-minded person. We squires can sense that about others. I...can tell you more about this, if you would become a client of mine.")
  184. end
  185. function dlg_3_6(NPC, Spawn)
  186. FaceTarget(NPC, Spawn)
  187. conversation = CreateConversation()
  188. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  189. AddConversationOption(conversation, "You have relatives elsewhere. Why don't you stay with them now?", "dlg_3_7")
  190. StartConversation(conversation, NPC, Spawn, "There are a handful of squires in Freeport who assist their clients in learning more about other places, where our lives would not be filled with the stress that living here in Freeport can bring.")
  191. end
  192. function dlg_3_7(NPC, Spawn)
  193. FaceTarget(NPC, Spawn)
  194. conversation = CreateConversation()
  195. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  196. AddConversationOption(conversation, "I can get the coin, but it will take a bit of time.", "dlg_3_8")
  197. AddConversationOption(conversation, "If I gave you the coin, it would be a gift and not a loan.")
  198. AddConversationOption(conversation, "I've heard this story a thousand times. You'll not get anything from me!")
  199. AddConversationOption(conversation, "Nice try. Hah! Good riddance.")
  200. StartConversation(conversation, NPC, Spawn, "Widowed as young as I was, I've been unable to save anything. I barely scrape by as it is. If...if you could lend me five hundred gold, I could go to my relatives. I'd pay you back...I would!")
  201. end
  202. function dlg_3_8(NPC, Spawn)
  203. FaceTarget(NPC, Spawn)
  204. conversation = CreateConversation()
  205. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  206. AddConversationOption(conversation, "Tell me more.", "dlg_3_9")
  207. StartConversation(conversation, NPC, Spawn, "I was right: your heart and mind are open. There is no need to give me anything. I have much that I can give you, though. There is a way to .. GetName(Spawn) .. . and security. Are you interested in learning about it?")
  208. end
  209. function dlg_3_9(NPC, Spawn)
  210. FaceTarget(NPC, Spawn)
  211. conversation = CreateConversation()
  212. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  213. AddConversationOption(conversation, "I can handle it.", "dlg_3_10")
  214. StartConversation(conversation, NPC, Spawn, "A stockpile of weapons and armor is hidden somewhere in Freeport. We must locate it before it's distributed where it will do harm. A gnomish squire invented a clever device -- a listenomitron -- that allows someone to hear things from quite a distance away. The listenomitrons only work at night, so someone whose bones do not creak as mine do is the best person for the task.")
  215. end
  216. function dlg_3_10(NPC, Spawn)
  217. FaceTarget(NPC, Spawn)
  218. conversation = CreateConversation()
  219. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  220. AddConversationOption(conversation, "I'll take care of this, don't worry.", "dlg_3_11")
  221. StartConversation(conversation, NPC, Spawn, "You are most kind. Once you've placed the listenomitrons, please visit the squire in the pub room at the Blood Haze Inn in West Freeport. You'll receive further directions then. The blessings of the gods go with you.")
  222. end