aGigglegibberScout.lua 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. --[[
  2. Script Name : SpawnScripts/QeynosHarbor/aGigglegibberScout.lua
  3. Script Purpose : a Gigglegibber scout
  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, "", "", "", 0, 0, Spawn)
  22. AddConversationOption(conversation, "What do you know about the disappearance of Lord Bowsprite?", "dlg_2_1")
  23. AddConversationOption(conversation, "Of course you aren't.")
  24. StartConversation(conversation, NPC, Spawn, "Hellos, I'm just waiting here. Not doin' nothin' wrong. Nope, not me.")
  25. end
  26. function dlg_2_1(NPC, Spawn)
  27. FaceTarget(NPC, Spawn)
  28. conversation = CreateConversation()
  29. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  30. AddConversationOption(conversation, "Bowsprite... Not Bowspit.", "dlg_2_2")
  31. AddConversationOption(conversation, "On second thought, I'll be going now.")
  32. StartConversation(conversation, NPC, Spawn, "Lord who? I's never met no one named Bowspit.")
  33. end
  34. function dlg_2_2(NPC, Spawn)
  35. FaceTarget(NPC, Spawn)
  36. conversation = CreateConversation()
  37. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  38. AddConversationOption(conversation, "Who said he was an elf? Fess up or I'll tell everyone the Gigglegibber gambling game is rigged!", "dlg_2_3")
  39. AddConversationOption(conversation, "Yeah, this is going to be like pulling teeth. Nevermind.")
  40. StartConversation(conversation, NPC, Spawn, "Oh... Well, um, I's still don't know nothing about that elf.")
  41. end
  42. function dlg_2_3(NPC, Spawn)
  43. FaceTarget(NPC, Spawn)
  44. conversation = CreateConversation()
  45. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  46. AddConversationOption(conversation, "Tell me where it is. You don't want me to ruin your business do you?", "dlg_2_4")
  47. AddConversationOption(conversation, "On second thought, I'll be going now.")
  48. StartConversation(conversation, NPC, Spawn, "Noes, noes, you can't do that! Fine, I'll tells you everything. We have Bowspit at the super secret hideout, but you can't go there. No way.")
  49. end
  50. function dlg_2_4(NPC, Spawn)
  51. FaceTarget(NPC, Spawn)
  52. conversation = CreateConversation()
  53. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  54. AddConversationOption(conversation, "You've been helpful, thanks.", "dlg_2_5")
  55. StartConversation(conversation, NPC, Spawn, "You gonna gets me in a lot of trouble, you know. I'll tells you, but I don't exactly remember where it is. All I remember is the entrance is at the bottom of the water, under the docks, where the halfies and fairies play. We all haves to take the boat to get there. That's all I'm telling you! Now goes away.")
  56. end