9
3

BoloBrassharp.lua 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. --[[
  2. Script Name : SpawnScripts/Baubbleshire/BoloBrassharp.lua
  3. Script Purpose : Bolo Brassharp
  4. Script Author : John Adams
  5. Script Date : 2009.01.30
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. -- Quest ID's
  9. local HELPING_SOME_FRIENDS = 325 -- was 72
  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, HELPING_SOME_FRIENDS) then
  19. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/bolo_brassharp/qey_village06/qst_bolo_brassharp_pranking_78f2abf4.mp3", "I really should leave soon. I can't wait, I can't wait!", "", 571318150, 1838754800, Spawn)
  20. elseif HasQuest(Spawn, HELPING_SOME_FRIENDS) then
  21. if GetQuestStep(Spawn, HELPING_SOME_FRIENDS) >= 2 and not QuestStepIsComplete(Spawn, HELPING_SOME_FRIENDS, 4) then
  22. HelloHello(NPC, Spawn)
  23. else
  24. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/bolo_brassharp/qey_village06/qst_bolo_brassharp_pranking_78f2abf4.mp3", "I really should leave soon. I can't wait, I can't wait!", "", 571318150, 1838754800, Spawn)
  25. end
  26. else
  27. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/bolo_brassharp/qey_village06/qst_bolo_brassharp_notonquest_b910a0ae.mp3", "I know you'd love to speak with me, but I'm a little busy right now.", "", 2952662835, 3836420976, Spawn)
  28. end
  29. end
  30. function HelloHello(NPC, Spawn)
  31. FaceTarget(NPC, Spawn)
  32. conversation = CreateConversation()
  33. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/bolo_brassharp/qey_village06/quests/bolo_brassharp/bolo_brassharp001.mp3", "", "", 1093318327, 1301148449, Spawn)
  34. AddConversationOption(conversation, "No, sorry. I am here on behalf of someone else.", "dlg_20_1")
  35. AddConversationOption(conversation, "Not now.")
  36. StartConversation(conversation, NPC, Spawn, "Hello? Hello! I take it you seek interesting conversation, no?")
  37. end
  38. function dlg_20_1(NPC, Spawn)
  39. FaceTarget(NPC, Spawn)
  40. conversation = CreateConversation()
  41. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/bolo_brassharp/qey_village06/quests/bolo_brassharp/bolo_brassharp002.mp3", "", "", 1427735869, 407597046, Spawn)
  42. AddConversationOption(conversation, "Hmm, I forget her name.", "dlg_20_2")
  43. AddConversationOption(conversation, "Jayla Midhop.", "WhatIDontThinkSo")
  44. StartConversation(conversation, NPC, Spawn, "Oh? And who might that be?")
  45. end
  46. function dlg_20_2(NPC, Spawn)
  47. FaceTarget(NPC, Spawn)
  48. conversation = CreateConversation()
  49. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/bolo_brassharp/qey_village06/quests/bolo_brassharp/bolo_brassharp003.mp3", "", "", 3121914646, 3365197240, Spawn)
  50. AddConversationOption(conversation, "Oh, she's the pretty type. She seems to care a great deal about how she looks. What was her name... Jala? Or something.", "dlg_20_3")
  51. StartConversation(conversation, NPC, Spawn, "HER name, eh? Well what does she look like?")
  52. end
  53. function WhatIDontThinkSo(NPC, Spawn)
  54. FaceTarget(NPC, Spawn)
  55. conversation = CreateConversation()
  56. AddConversationOption(conversation, "All right, she had another halfling in mind in the event you turned her down, good day!", "WaitWhatDidSheWant")
  57. StartConversation(conversation, NPC, Spawn, "What? I don't think so. That's a little hard to believe.")
  58. end
  59. function WaitWhatDidSheWant(NPC, Spawn)
  60. FaceTarget(NPC, Spawn)
  61. conversation = CreateConversation()
  62. AddConversationOption(conversation, "She said she wanted to meet you.", "dlg_20_5")
  63. StartConversation(conversation, NPC, Spawn, "WAIT! What did she want?")
  64. end
  65. function dlg_20_3(NPC, Spawn)
  66. FaceTarget(NPC, Spawn)
  67. conversation = CreateConversation()
  68. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/bolo_brassharp/qey_village06/quests/bolo_brassharp/bolo_brassharp004.mp3", "", "", 267219328, 3581650998, Spawn)
  69. AddConversationOption(conversation, "Hmm, yes! That was it! I come on behalf of Jayla Midhop.", "dlg_20_4")
  70. StartConversation(conversation, NPC, Spawn, "Jayla? Jayla Midhop?")
  71. end
  72. function dlg_20_4(NPC, Spawn)
  73. FaceTarget(NPC, Spawn)
  74. conversation = CreateConversation()
  75. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/bolo_brassharp/qey_village06/quests/bolo_brassharp/bolo_brassharp005.mp3", "", "", 4089683737, 1175948805, Spawn)
  76. AddConversationOption(conversation, "She said she wanted to meet you.", "dlg_20_5")
  77. StartConversation(conversation, NPC, Spawn, "Oh wow! That's great, what does she want?")
  78. end
  79. function dlg_20_5(NPC, Spawn)
  80. FaceTarget(NPC, Spawn)
  81. conversation = CreateConversation()
  82. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/bolo_brassharp/qey_village06/quests/bolo_brassharp/bolo_brassharp008.mp3", "", "", 1904776578, 2004574358, Spawn)
  83. AddConversationOption(conversation, "In the Oakmyst Forest, in one hour. And she wants you to bring a pie.", "dlg_20_6")
  84. StartConversation(conversation, NPC, Spawn, "Where? When? This is important, speak quickly!")
  85. end
  86. function dlg_20_6(NPC, Spawn)
  87. FaceTarget(NPC, Spawn)
  88. conversation = CreateConversation()
  89. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/bolo_brassharp/qey_village06/quests/bolo_brassharp/bolo_brassharp009.mp3", "", "", 3533611364, 2889663261, Spawn)
  90. AddConversationOption(conversation, "Marybelle's Meadowberry Pie is probably your best choice.", "dlg_20_7")
  91. StartConversation(conversation, NPC, Spawn, "Wonderful! I KNEW she was interested. Uh, bring a pie? Hmmm, what kind of pie is romantic?")
  92. end
  93. function dlg_20_7(NPC, Spawn)
  94. FaceTarget(NPC, Spawn)
  95. conversation = CreateConversation()
  96. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/bolo_brassharp/qey_village06/quests/bolo_brassharp/bolo_brassharp010.mp3", "", "", 3936791601, 1760013312, Spawn)
  97. AddConversationOption(conversation, "Well, I happen to have one right now. I'm supposed to deliver it to someone but I have enough time to get another. I'll let you have it, but you'll owe me one.", "dlg_20_8")
  98. StartConversation(conversation, NPC, Spawn, "You're very right, but those take so long to make, I don't think I'll be able to get one.")
  99. end
  100. function dlg_20_8(NPC, Spawn)
  101. SetStepComplete(Spawn, HELPING_SOME_FRIENDS, 4)
  102. FaceTarget(NPC, Spawn)
  103. conversation = CreateConversation()
  104. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/bolo_brassharp/qey_village06/quests/bolo_brassharp/bolo_brassharp011.mp3", "", "", 3760245356, 3275375450, Spawn)
  105. AddConversationOption(conversation, "Er, just doing my job.")
  106. StartConversation(conversation, NPC, Spawn, "That's perfect! Thank you, kind courier.")
  107. end