FillzerFuzzle.lua 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. --[[
  2. Script Name : SpawnScripts/Baubbleshire/FillzerFuzzle.lua
  3. Script Purpose : Fillzer Fuzzle
  4. Script Author : John Adams
  5. Script Date : 2008.09.23
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. -- Quest ID's
  9. local NEEZERS_SURVEY = 330 -- was 28
  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 HasQuest(Spawn, NEEZERS_SURVEY) and not QuestStepIsComplete(Spawn, NEEZERS_SURVEY, 4) then
  19. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/fillzer_fuzzle/qey_village06/quests/fillzer_fuzzle/fillzer_fuzzle001.mp3", "", "", 3200743404, 1664835726, Spawn)
  20. AddConversationOption(conversation, "Luck is an amazing thing.", "dlg_56_1")
  21. AddConversationOption(conversation, "No, I did not know that.")
  22. StartConversation(conversation, NPC, Spawn, "Hello, hello, did you know sometimes jewels can be found in the most surprising places?")
  23. else
  24. Say(NPC, "Not now, I'm looking for treasure!", Spawn)
  25. end
  26. end
  27. function dlg_56_1(NPC, Spawn)
  28. FaceTarget(NPC, Spawn)
  29. conversation = CreateConversation()
  30. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/fillzer_fuzzle/qey_village06/quests/fillzer_fuzzle/fillzer_fuzzle002.mp3", "", "", 684618694, 1163926125, Spawn)
  31. AddConversationOption(conversation, "Seventeen years is a long time. How about you take a break and answer some questions for me?", "dlg_57_2")
  32. StartConversation(conversation, NPC, Spawn, "I'll say. I found an amazing gem seventeen years ago. I've been searching for another ever since.")
  33. end
  34. function dlg_57_2(NPC, Spawn)
  35. FaceTarget(NPC, Spawn)
  36. conversation = CreateConversation()
  37. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/fillzer_fuzzle/qey_village06/quests/fillzer_fuzzle/fillzer_fuzzle003.mp3", "", "", 1972808563, 2405754009, Spawn)
  38. AddConversationOption(conversation, "Fair enough. Ok, question one: if you were to calibrate a Fizzo Torque Wrench for work in Lavastorm and then attempt precisely the same work in Everfrost what difference of calibration would be needed?", "dlg_57_3")
  39. StartConversation(conversation, NPC, Spawn, "How about you do what you need to do and I keep looking?")
  40. end
  41. function dlg_57_3(NPC, Spawn)
  42. FaceTarget(NPC, Spawn)
  43. conversation = CreateConversation()
  44. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/fillzer_fuzzle/qey_village06/quests/fillzer_fuzzle/fillzer_fuzzle004.mp3", "", "", 3369234960, 1114092403, Spawn)
  45. AddConversationOption(conversation, "Question two: what is the average measurement between Keen and Preen on a Spectromatic Nest-Druther?", "dlg_57_4")
  46. StartConversation(conversation, NPC, Spawn, "Variable dependent on precise temperature differences in the two regions. I'd say correct -0.034% at minimum.")
  47. end
  48. function dlg_57_4(NPC, Spawn)
  49. FaceTarget(NPC, Spawn)
  50. conversation = CreateConversation()
  51. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/fillzer_fuzzle/qey_village06/quests/fillzer_fuzzle/fillzer_fuzzle005.mp3", "", "", 1305378583, 3342464494, Spawn)
  52. AddConversationOption(conversation, "Next question: if given the choice in a vote for the new Queen of Qeynos, would you cast your vote for a nut or a bolt?", "dlg_57_5")
  53. StartConversation(conversation, NPC, Spawn, "In bolts: uh, twenty-nine over fifty, roughly.")
  54. end
  55. function dlg_57_5(NPC, Spawn)
  56. FaceTarget(NPC, Spawn)
  57. conversation = CreateConversation()
  58. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/fillzer_fuzzle/qey_village06/quests/fillzer_fuzzle/fillzer_fuzzle006.mp3", "", "", 1049508537, 3160462973, Spawn)
  59. AddConversationOption(conversation, "Question four: though not yet officially proven, which theory concerning thermodynamic particle acceleration and its correlation to metaphysical tides is widely accepted?", "dlg_57_6")
  60. StartConversation(conversation, NPC, Spawn, "Going to have to abstain.")
  61. end
  62. function dlg_57_6(NPC, Spawn)
  63. FaceTarget(NPC, Spawn)
  64. conversation = CreateConversation()
  65. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/fillzer_fuzzle/qey_village06/quests/fillzer_fuzzle/fillzer_fuzzle007.mp3", "", "", 916053189, 3125242157, Spawn)
  66. AddConversationOption(conversation, "Question five: isn't Neezer Grund amazing?", "dlg_57_7")
  67. StartConversation(conversation, NPC, Spawn, "No idea.")
  68. end
  69. function dlg_57_7(NPC, Spawn)
  70. FaceTarget(NPC, Spawn)
  71. conversation = CreateConversation()
  72. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/fillzer_fuzzle/qey_village06/quests/fillzer_fuzzle/fillzer_fuzzle008.mp3", "", "", 2401347894, 3730158053, Spawn)
  73. AddConversationOption(conversation, "Final question: the Banton particle is supposed to generate high amounts of what?", "dlg_57_8")
  74. StartConversation(conversation, NPC, Spawn, "Who?")
  75. end
  76. function dlg_57_8(NPC, Spawn)
  77. FaceTarget(NPC, Spawn)
  78. conversation = CreateConversation()
  79. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/fillzer_fuzzle/qey_village06/quests/fillzer_fuzzle/fillzer_fuzzle009.mp3", "", "", 2433452263, 1166262943, Spawn)
  80. AddConversationOption(conversation, "You'll have to wait for the results to come back first.", "dlg_57_9")
  81. StartConversation(conversation, NPC, Spawn, "I think the answer is tension. Did I win? Did I win?")
  82. end
  83. function dlg_57_9(NPC, Spawn)
  84. SetStepComplete(Spawn, NEEZERS_SURVEY, 4)
  85. FaceTarget(NPC, Spawn)
  86. conversation = CreateConversation()
  87. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/fillzer_fuzzle/qey_village06/quests/fillzer_fuzzle/fillzer_fuzzle010.mp3", "", "", 3356549630, 296738161, Spawn)
  88. AddConversationOption(conversation, "You're welcome.", "dlg_57_10")
  89. StartConversation(conversation, NPC, Spawn, "Ooh I hope I win something. That was great fun, thanks.")
  90. end