agnomeresearcher_1.lua 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. --[[
  2. Script Name : SpawnScripts/QeynosHarbor/agnomeresearcher_1.lua
  3. Script Purpose : a gnome researcher <Meldrath's Machinists>
  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. local choice = math.random(1,1)
  22. if choice == 1 then
  23. PlayFlavor(NPC, "", "You're supposed to be demonstrating our superiority in the Gears of Klak'Anon arena, remember?", "", 1689589577, 4560189, Spawn)
  24. else
  25. end
  26. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1026.mp3", "", "", 0, 0, Spawn)
  27. AddConversationOption(conversation, "Sounds like you want to teach them a lesson.", "dlg_21_1")
  28. AddConversationOption(conversation, "I don't want to get in the middle of this.")
  29. StartConversation(conversation, NPC, Spawn, "I find it simply appalling that we have to share the Cog of Precision with Tinmizer's Tinkerers. Those fools don't know what they've got in their possession. Granted, they turn up intriguing data every once in awhile, but even my old pappy's lunar-powered sundial was right once a day.")
  30. if convo==22 then
  31. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1026.mp3", "", "", 0, 0, Spawn)
  32. AddConversationOption(conversation, "Sounds like you want to teach them a lesson.", "dlg_22_1")
  33. AddConversationOption(conversation, "I don't want to get in the middle of this.")
  34. StartConversation(conversation, NPC, Spawn, "I find it simply appalling that we have to share the Cog of Precision with Tinmizer's Tinkerers. Those fools don't know what they've got in their possession. Granted, they turn up intriguing data every once in awhile, but even my old pappy's lunar-powered sundial was right once a day.")
  35. end
  36. if convo==23 then
  37. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1026.mp3", "", "", 0, 0, Spawn)
  38. AddConversationOption(conversation, "Sounds like you want to teach them a lesson.", "dlg_23_1")
  39. AddConversationOption(conversation, "I don't want to get in the middle of this.")
  40. StartConversation(conversation, NPC, Spawn, "I find it simply appalling that we have to share the Cog of Precision with Tinmizer's Tinkerers. Those fools don't know what they've got in their possession. Granted, they turn up intriguing data every once in awhile, but even my old pappy's lunar-powered sundial was right once a day.")
  41. end
  42. if convo==24 then
  43. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1026.mp3", "", "", 0, 0, Spawn)
  44. AddConversationOption(conversation, "Sounds like you want to teach them a lesson.", "dlg_24_1")
  45. AddConversationOption(conversation, "I don't want to get in the middle of this.")
  46. StartConversation(conversation, NPC, Spawn, "I find it simply appalling that we have to share the Cog of Precision with Tinmizer's Tinkerers. Those fools don't know what they've got in their possession. Granted, they turn up intriguing data every once in awhile, but even my old pappy's lunar-powered sundial was right once a day.")
  47. end
  48. if convo==25 then
  49. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1026.mp3", "", "", 0, 0, Spawn)
  50. AddConversationOption(conversation, "Sounds like you want to teach them a lesson.", "dlg_25_1")
  51. AddConversationOption(conversation, "I don't want to get in the middle of this.")
  52. StartConversation(conversation, NPC, Spawn, "I find it simply appalling that we have to share the Cog of Precision with Tinmizer's Tinkerers. Those fools don't know what they've got in their possession. Granted, they turn up intriguing data every once in awhile, but even my old pappy's lunar-powered sundial was right once a day.")
  53. end
  54. end
  55. --[[ raw_conversations
  56. PlayFlavor(NPC, "", "You're supposed to be demonstrating our superiority in the Gears of Klak'Anon arena, remember?", "", 1689589577, 4560189, Spawn)
  57. --]]