agnomeresearcher.lua 6.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. --[[
  2. Script Name : SpawnScripts/QeynosHarbor/agnomeresearcher.lua
  3. Script Purpose : a gnome researcher <Tinmizer's Tinkerers>
  4. Script Author : Cynnar
  5. Script Date : 2020.04.12
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function InRange(NPC, Spawn)
  15. end
  16. function LeaveRange(NPC, Spawn)
  17. end
  18. function hailed(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. conversation = CreateConversation()
  21. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1025.mp3", "", "", 0, 0, Spawn)
  22. AddConversationOption(conversation, "Ahem.", "dlg_12_1")
  23. AddConversationOption(conversation, "If I find any small-brained sorts, I'll let you know. Goodbye. ")
  24. StartConversation(conversation, NPC, Spawn, "This research opportunity is amazing. It appears that traveling all the way out here was a brilliant idea, after all. And of course it was a good idea, because I am brilliant! Now if I could only find some small-brained, strong-backed sorts to test the parameters of the Cog of Precision.")
  25. if convo==13 then
  26. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1025.mp3", "", "", 0, 0, Spawn)
  27. AddConversationOption(conversation, "Ahem.", "dlg_13_1")
  28. AddConversationOption(conversation, "If I find any small-brained sorts, I'll let you know. Goodbye. ")
  29. StartConversation(conversation, NPC, Spawn, "This research opportunity is amazing. It appears that traveling all the way out here was a brilliant idea, after all. And of course it was a good idea, because I am brilliant! Now if I could only find some small-brained, strong-backed sorts to test the parameters of the Cog of Precision.")
  30. end
  31. if convo==14 then
  32. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1025.mp3", "", "", 0, 0, Spawn)
  33. AddConversationOption(conversation, "Ahem.", "dlg_14_1")
  34. AddConversationOption(conversation, "If I find any small-brained sorts, I'll let you know. Goodbye. ")
  35. StartConversation(conversation, NPC, Spawn, "This research opportunity is amazing. It appears that traveling all the way out here was a brilliant idea, after all. And of course it was a good idea, because I am brilliant! Now if I could only find some small-brained, strong-backed sorts to test the parameters of the Cog of Precision.")
  36. end
  37. if convo==15 then
  38. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1025.mp3", "", "", 0, 0, Spawn)
  39. AddConversationOption(conversation, "Ahem.", "dlg_15_1")
  40. AddConversationOption(conversation, "If I find any small-brained sorts, I'll let you know. Goodbye. ")
  41. StartConversation(conversation, NPC, Spawn, "This research opportunity is amazing. It appears that traveling all the way out here was a brilliant idea, after all. And of course it was a good idea, because I am brilliant! Now if I could only find some small-brained, strong-backed sorts to test the parameters of the Cog of Precision.")
  42. end
  43. if convo==16 then
  44. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1025.mp3", "", "", 0, 0, Spawn)
  45. AddConversationOption(conversation, "Ahem.", "dlg_16_1")
  46. AddConversationOption(conversation, "If I find any small-brained sorts, I'll let you know. Goodbye. ")
  47. StartConversation(conversation, NPC, Spawn, "This research opportunity is amazing. It appears that traveling all the way out here was a brilliant idea, after all. And of course it was a good idea, because I am brilliant! Now if I could only find some small-brained, strong-backed sorts to test the parameters of the Cog of Precision.")
  48. end
  49. if convo==17 then
  50. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1040.mp3", "", "", 0, 0, Spawn)
  51. AddConversationOption(conversation, "Wait, see what?", "dlg_17_1")
  52. AddConversationOption(conversation, "I don't have time for this nonsense. ")
  53. StartConversation(conversation, NPC, Spawn, "Tell me you saw it! Tell me I'm not dreaming! Oh, my grampy's grammy's grampy's aunt Jude would have given up her favorite brass clockwork potato peeler for just a glimpse of it! And this was during the potato glut of '06, when such a trade would have been ill-advised.")
  54. end
  55. if convo==18 then
  56. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1040.mp3", "", "", 0, 0, Spawn)
  57. AddConversationOption(conversation, "Wait, see what?", "dlg_18_1")
  58. AddConversationOption(conversation, "I don't have time for this nonsense. ")
  59. StartConversation(conversation, NPC, Spawn, "Tell me you saw it! Tell me I'm not dreaming! Oh, my grampy's grammy's grampy's aunt Jude would have given up her favorite brass clockwork potato peeler for just a glimpse of it! And this was during the potato glut of '06, when such a trade would have been ill-advised.")
  60. end
  61. if convo==19 then
  62. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1040.mp3", "", "", 0, 0, Spawn)
  63. AddConversationOption(conversation, "Wait, see what?", "dlg_19_1")
  64. AddConversationOption(conversation, "I don't have time for this nonsense. ")
  65. StartConversation(conversation, NPC, Spawn, "Tell me you saw it! Tell me I'm not dreaming! Oh, my grampy's grammy's grampy's aunt Jude would have given up her favorite brass clockwork potato peeler for just a glimpse of it! And this was during the potato glut of '06, when such a trade would have been ill-advised.")
  66. end
  67. if convo==20 then
  68. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1040.mp3", "", "", 0, 0, Spawn)
  69. AddConversationOption(conversation, "Wait, see what?", "dlg_20_1")
  70. AddConversationOption(conversation, "I don't have time for this nonsense. ")
  71. StartConversation(conversation, NPC, Spawn, "Tell me you saw it! Tell me I'm not dreaming! Oh, my grampy's grammy's grampy's aunt Jude would have given up her favorite brass clockwork potato peeler for just a glimpse of it! And this was during the potato glut of '06, when such a trade would have been ill-advised.")
  72. end
  73. end