9
3

FoombySlopdigger.lua 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. --[[
  2. Script Name : SpawnScripts/EnchantedLands/FoombySlopdigger.lua
  3. Script Purpose : Foomby Slopdigger
  4. Script Author : Cynnar
  5. Script Date : 2015.02.24
  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, "", "Where did I drop them?! How did this bag tear!", "", 1689589577, 4560189, Spawn)
  24. else
  25. end
  26. PlayFlavor(NPC, "voiceover/english/foomby_slopdigger/enchanted/quests/foomby_slopdigger001.mp3", "", "", 657177046, 878520688, Spawn)
  27. AddConversationOption(conversation, "How did you lose your things?", "dlg_1_1")
  28. AddConversationOption(conversation, "Good luck finding them in this land.")
  29. StartConversation(conversation, NPC, Spawn, "Hey hey hey! I don't got time for pitter patter chitter chatter. I got to find my lost baubles and get out of here!")
  30. if convo==6 then
  31. PlayFlavor(NPC, "voiceover/english/foomby_slopdigger/enchanted/quests/foomby_slopdigger001.mp3", "", "", 657177046, 878520688, Spawn)
  32. AddConversationOption(conversation, "How did you lose your things?", "dlg_6_1")
  33. AddConversationOption(conversation, "Good luck finding them in this land.")
  34. StartConversation(conversation, NPC, Spawn, "Hey hey hey! I don't got time for pitter patter chitter chatter. I got to find my lost baubles and get out of here!")
  35. end
  36. if convo==7 then
  37. PlayFlavor(NPC, "voiceover/english/foomby_slopdigger/enchanted/quests/foomby_slopdigger001.mp3", "", "", 657177046, 878520688, Spawn)
  38. AddConversationOption(conversation, "How did you lose your things?", "dlg_7_1")
  39. AddConversationOption(conversation, "Good luck finding them in this land.")
  40. StartConversation(conversation, NPC, Spawn, "Hey hey hey! I don't got time for pitter patter chitter chatter. I got to find my lost baubles and get out of here!")
  41. end
  42. if convo==8 then
  43. PlayFlavor(NPC, "voiceover/english/foomby_slopdigger/enchanted/quests/foomby_slopdigger001.mp3", "", "", 657177046, 878520688, Spawn)
  44. AddConversationOption(conversation, "How did you lose your things?", "dlg_8_1")
  45. AddConversationOption(conversation, "Good luck finding them in this land.")
  46. StartConversation(conversation, NPC, Spawn, "Hey hey hey! I don't got time for pitter patter chitter chatter. I got to find my lost baubles and get out of here!")
  47. end
  48. if convo==9 then
  49. PlayFlavor(NPC, "voiceover/english/foomby_slopdigger/enchanted/quests/foomby_slopdigger008.mp3", "", "", 2465448933, 3199429146, Spawn)
  50. AddConversationOption(conversation, "I haven't found it yet.", "dlg_9_1")
  51. StartConversation(conversation, NPC, Spawn, "Do you have the monocle? I've been waiting forever for you to get back!")
  52. end
  53. end
  54. function dlg_1_1(NPC, Spawn)
  55. FaceTarget(NPC, Spawn)
  56. conversation = CreateConversation()
  57. PlayFlavor(NPC, "voiceover/english/foomby_slopdigger/enchanted/quests/foomby_slopdigger002.mp3", "", "", 3912708950, 1660270702, Spawn)
  58. AddConversationOption(conversation, "It is kind of strange that one would have a bag.", "dlg_1_2")
  59. StartConversation(conversation, NPC, Spawn, "My bag ripped when I ran out of Runny Eye. Stupid old bag! No surprise that an evil eye would have a flimsy bag. What do they need to carry around? They don't have hands or nothin'!")
  60. end
  61. function dlg_1_2(NPC, Spawn)
  62. FaceTarget(NPC, Spawn)
  63. conversation = CreateConversation()
  64. PlayFlavor(NPC, "voiceover/english/foomby_slopdigger/enchanted/quests/foomby_slopdigger003.mp3", "", "", 2418670083, 2304290657, Spawn)
  65. AddConversationOption(conversation, "I don't remember volunteering.", "dlg_1_3")
  66. StartConversation(conversation, NPC, Spawn, "So, are you gonna start looking for my lost things or what?!")
  67. end
  68. function dlg_1_3(NPC, Spawn)
  69. FaceTarget(NPC, Spawn)
  70. conversation = CreateConversation()
  71. PlayFlavor(NPC, "voiceover/english/foomby_slopdigger/enchanted/quests/foomby_slopdigger004.mp3", "", "", 2112487192, 3399141446, Spawn)
  72. AddConversationOption(conversation, "You stole his things didn't you...", "dlg_1_4")
  73. StartConversation(conversation, NPC, Spawn, "Come on! Help me find my things so I can get out of here! Horguz is gonna be furious when he finds out his stuff is missing!")
  74. end
  75. function dlg_1_4(NPC, Spawn)
  76. FaceTarget(NPC, Spawn)
  77. conversation = CreateConversation()
  78. PlayFlavor(NPC, "voiceover/english/foomby_slopdigger/enchanted/quests/foomby_slopdigger005.mp3", "", "", 2981894452, 1648038368, Spawn)
  79. AddConversationOption(conversation, "I'll help you, but the reward better be good.", "dlg_1_5")
  80. AddConversationOption(conversation, "Forget it. Go find your own stolen loot.")
  81. StartConversation(conversation, NPC, Spawn, "Well his stuff didn't just fall into my bag! You help me out and I'll give you a reward. That sounds good, right? That sounds good?")
  82. end
  83. function dlg_1_5(NPC, Spawn)
  84. FaceTarget(NPC, Spawn)
  85. conversation = CreateConversation()
  86. PlayFlavor(NPC, "voiceover/english/foomby_slopdigger/enchanted/quests/foomby_slopdigger006.mp3", "", "", 1974862443, 3815333440, Spawn)
  87. AddConversationOption(conversation, "Wait, where did you last have the monocle?", "dlg_1_6")
  88. StartConversation(conversation, NPC, Spawn, "Oh it will be, it will be! Okay, you go find the cracked gold monocle, and I'll look for the bent silver hoop. Meet back here after you find it.")
  89. end
  90. function dlg_1_6(NPC, Spawn)
  91. FaceTarget(NPC, Spawn)
  92. conversation = CreateConversation()
  93. PlayFlavor(NPC, "voiceover/english/foomby_slopdigger/enchanted/quests/foomby_slopdigger007.mp3", "", "", 3563369595, 1191620411, Spawn)
  94. AddConversationOption(conversation, "I'll meet you back here with the monocle.", "dlg_1_7")
  95. StartConversation(conversation, NPC, Spawn, "I remember some nasty looking Darkflight fairies hovering around me when I tried it on. They must've grabbed it when it fell out of my bag. Oooooh ... those winged insects! Can you believe they'd steal from me? Go get it back from them!")
  96. end
  97. --[[ raw_conversations
  98. PlayFlavor(NPC, "", "Where did I drop them?! How did this bag tear!", "", 1689589577, 4560189, Spawn)
  99. --]]