9
3

AmazuKharliko.lua 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. --[[
  2. Script Name : SpawnScripts/Nettleville/AmazuKharliko.lua
  3. Script Purpose : Amazu Kharliko
  4. Script Author : Scatman
  5. Script Date : 2008.10.08
  6. Script Notes :
  7. --]]
  8. local QUEST_3_FROM_HELAIN = 297
  9. local QUEST_4_FROM_JOHFRIT = 298
  10. function spawn(NPC)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. FaceTarget(NPC, Spawn)
  17. conversation = CreateConversation()
  18. if HasCompletedQuest(Spawn, QUEST_4_FROM_JOHFRIT) then
  19. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/amazu_kharliko/qey_village01/quests/newbie_path_human/amazukharliko008.mp3", "", "", 1650962870, 444743395, Spawn)
  20. AddConversationOption(conversation, "You might wanna see about chewing some mint instead of fish.", "dlg_15_1")
  21. AddConversationOption(conversation, "I almost flinched that time!", "dlg_15_1")
  22. AddConversationOption(conversation, "Quit doing that! You take pleasure in scaring others, don't you?", "dlg_15_1")
  23. StartConversation(conversation, NPC, Spawn, "RrrraaaAAAawwwwwrrrrrr!")
  24. elseif HasQuest(Spawn, QUEST_4_FROM_JOHFRIT) then
  25. if GetQuestStep(Spawn, QUEST_4_FROM_JOHFRIT) == 4 then
  26. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/amazu_kharliko/qey_village01/quests/newbie_path_human/amazukharliko011.mp3", "", "", 1123006021, 1879893203, Spawn)
  27. AddConversationOption(conversation, "I have a crate for you from Johfrit.", "dlg_29_1")
  28. StartConversation(conversation, NPC, Spawn, "You smell much tastier now than before! What do you have?")
  29. else
  30. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/amazu_kharliko/qey_village01/quests/newbie_path_human/amazukharliko008.mp3", "", "", 1650962870, 444743395, Spawn)
  31. AddConversationOption(conversation, "You might wanna see about chewing some mint instead of fish.", "dlg_15_1")
  32. AddConversationOption(conversation, "I almost flinched that time!", "dlg_15_1")
  33. AddConversationOption(conversation, "Quit doing that! You take pleasure in scaring others, don't you?", "dlg_15_1")
  34. StartConversation(conversation, NPC, Spawn, "RrrraaaAAAawwwwwrrrrrr!")
  35. end
  36. elseif HasQuest(Spawn, QUEST_3_FROM_HELAIN) then
  37. if GetQuestStep(Spawn, QUEST_3_FROM_HELAIN) == 1 then
  38. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/amazu_kharliko/qey_village01/quests/newbie_path_human/amazukharliko001.mp3", "", "", 2412415380, 3586762030, Spawn)
  39. AddConversationOption(conversation, "I will take your word for it, as I have not met many kerra, and you are very impressive. ", "dlg_14_1")
  40. StartConversation(conversation, NPC, Spawn, "No need to tremble before me.")
  41. else
  42. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/amazu_kharliko/qey_village01/quests/newbie_path_human/amazukharliko008.mp3", "", "", 1650962870, 444743395, Spawn)
  43. AddConversationOption(conversation, "You might wanna see about chewing some mint instead of fish.", "dlg_15_1")
  44. AddConversationOption(conversation, "I almost flinched that time!", "dlg_15_1")
  45. AddConversationOption(conversation, "Quit doing that! You take pleasure in scaring others, don't you?", "dlg_15_1")
  46. StartConversation(conversation, NPC, Spawn, "RrrraaaAAAawwwwwrrrrrr!")
  47. end
  48. else
  49. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/amazu_kharliko/qey_village01/quests/newbie_path_human/amazukharliko010.mp3", "", "", 651374027, 1052559465, Spawn)
  50. AddConversationOption(conversation, "No. I would never think of it!", "dlg_11_1")
  51. StartConversation(conversation, NPC, Spawn, "No need to tremble before me... Unless you were the one who took my fish!")
  52. end
  53. end
  54. ----------------------------------------------------------------------------------------------
  55. -- QUEST_3_FROM_HELAIN
  56. ----------------------------------------------------------------------------------------------
  57. function dlg_14_1(NPC, Spawn)
  58. FaceTarget(NPC, Spawn)
  59. conversation = CreateConversation()
  60. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/amazu_kharliko/qey_village01/quests/newbie_path_human/amazukharliko002.mp3", "", "", 879413742, 456522706, Spawn)
  61. AddConversationOption(conversation, "I am. And trying to find some work. Helain Conyers suggested I see you. ", "dlg_14_2")
  62. StartConversation(conversation, NPC, Spawn, "Hmmm. Thank you. You are new here then, I take it?")
  63. end
  64. function dlg_14_2(NPC, Spawn)
  65. FaceTarget(NPC, Spawn)
  66. conversation = CreateConversation()
  67. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/amazu_kharliko/qey_village01/quests/newbie_path_human/amazukharliko003.mp3", "", "", 191512372, 1900479237, Spawn)
  68. AddConversationOption(conversation, "Yes. She spoke of you as a friend.", "dlg_14_3")
  69. AddConversationOption(conversation, "Yes. I was rather hoping that I could do something for you.", "Fish")
  70. StartConversation(conversation, NPC, Spawn, "Conyers? Ah yes, the peace lover, right? ")
  71. end
  72. function Fish(NPC, Spawn)
  73. FaceTarget(NPC, Spawn)
  74. conversation = CreateConversation()
  75. AddConversationOption(conversation, "I work for anyone that is willing to pay me.", "dlg_14_5")
  76. StartConversation(conversation, NPC, Spawn, "Do you work for fish?")
  77. end
  78. function dlg_14_3(NPC, Spawn)
  79. FaceTarget(NPC, Spawn)
  80. conversation = CreateConversation()
  81. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/amazu_kharliko/qey_village01/quests/newbie_path_human/amazukharliko005.mp3", "", "", 559636726, 1850023640, Spawn)
  82. AddConversationOption(conversation, "Aaaah! I am sorry! ", "dlg_14_4")
  83. StartConversation(conversation, NPC, Spawn, "A friend?! I should run you through right here and now, for even suggesting!")
  84. end
  85. function dlg_14_4(NPC, Spawn)
  86. FaceTarget(NPC, Spawn)
  87. conversation = CreateConversation()
  88. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/amazu_kharliko/qey_village01/quests/newbie_path_human/amazukharliko006.mp3", "", "", 3032852207, 1937375356, Spawn)
  89. AddConversationOption(conversation, "Good, then I will need not to declaw you! ", "dlg_14_5")
  90. StartConversation(conversation, NPC, Spawn, "Heh heh. No need to flinch! I'm only teasing.")
  91. end
  92. function dlg_14_5(NPC, Spawn)
  93. SetStepComplete(Spawn, QUEST_3_FROM_HELAIN, 1)
  94. FaceTarget(NPC, Spawn)
  95. conversation = CreateConversation()
  96. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/amazu_kharliko/qey_village01/quests/newbie_path_human/amazukharliko007.mp3", "", "", 3789369040, 1416330041, Spawn)
  97. AddConversationOption(conversation, "No matter. There are others for me to ask. Good day!")
  98. StartConversation(conversation, NPC, Spawn, "HA! I like you! I just wish I had some work for you. ")
  99. end
  100. function dlg_15_1(NPC, Spawn)
  101. FaceTarget(NPC, Spawn)
  102. conversation = CreateConversation()
  103. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/amazu_kharliko/qey_village01/quests/newbie_path_human/amazukharliko009.mp3", "", "", 919685617, 2774536820, Spawn)
  104. AddConversationOption(conversation, "Thanks, Amazu. I'll see you later.")
  105. StartConversation(conversation, NPC, Spawn, "Heh heh. I like you! You have a good sense of humor.")
  106. end
  107. ----------------------------------------------------------------------------------------------------------
  108. -- QUEST_4_FROM_JOHFRIT
  109. ----------------------------------------------------------------------------------------------------------
  110. function dlg_29_1(NPC, Spawn)
  111. FaceTarget(NPC, Spawn)
  112. conversation = CreateConversation()
  113. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/amazu_kharliko/qey_village01/quests/newbie_path_human/amazukharliko012.mp3", "", "", 984254071, 443165129, Spawn)
  114. AddConversationOption(conversation, "I just hope the smell does not linger on me.", "dlg_29_2")
  115. StartConversation(conversation, NPC, Spawn, "My imported squid! Mmmmmmm. No wonder you smelled so good! ")
  116. end
  117. function dlg_29_2(NPC, Spawn)
  118. SetStepComplete(Spawn, QUEST_4_FROM_JOHFRIT, 4)
  119. FaceTarget(NPC, Spawn)
  120. conversation = CreateConversation()
  121. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/amazu_kharliko/qey_village01/quests/newbie_path_human/amazukharliko013.mp3", "", "", 2265246236, 1769996866, Spawn)
  122. AddConversationOption(conversation, "Right. Good day, Amazu!")
  123. StartConversation(conversation, NPC, Spawn, "Heh heh. Unless you want many Kerra following you through town!")
  124. end