9
3

BiminiBowchaser.lua 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. --[[
  2. Script Name : SpawnScripts/ButcherblockMountains/BiminiBowchaser.lua
  3. Script Purpose : Bimini Bowchaser <The Far Seas Trading Company>
  4. Script Author : jakejp
  5. Script Date : 2018.06.02
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. local CaptainSays = 267
  9. function spawn(NPC)
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. FaceTarget(NPC, Spawn)
  16. conversation = CreateConversation()
  17. if HasQuest(Spawn, CaptainSays) and GetQuestStep(Spawn, CaptainSays) == 1 then
  18. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1006.mp3", "", "", 0, 0, Spawn)
  19. AddConversationOption(conversation, "Avast ye, shortie! I come with Cap'n Stonnacky new orders for you!", "dlg_6_1")
  20. AddConversationOption(conversation, "Blimmey! You're three sheets to the wind!")
  21. StartConversation(conversation, NPC, Spawn, "Oooooh, what do ya do wit' a drunken halfling? What do ya do wit' a drunken' halfling? What do ya do wit' meeee.... *hick-up*.")
  22. else
  23. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1040.mp3", "", "", 0, 0, Spawn)
  24. AddConversationOption(conversation, "Blimey! You're three sheets to the wind!")
  25. StartConversation(conversation, NPC, Spawn, "Oooooh, what do ya do wit' a drunken halfling? What do ya do wit' a drunken' halfling? What do ya do wit' meeee.... *hick-up*.")
  26. end
  27. end
  28. function dlg_6_1(NPC, Spawn)
  29. FaceTarget(NPC, Spawn)
  30. conversation = CreateConversation()
  31. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  32. AddConversationOption(conversation, "You're to coil down the lines an' be sure the flemish boat falls correctly!", "WrongChoice")
  33. AddConversationOption(conversation, "You're to flemish down the boat falls an' be sure all the lines are coiled correctly!", "dlg_6_2")
  34. AddConversationOption(conversation, "You're to flemish down the lines an' be sure the boat is coiled correctly.", "WrongChoice")
  35. StartConversation(conversation, NPC, Spawn, "Oh yeah? And just what exactly do he want me to do?")
  36. end
  37. function dlg_6_2(NPC, Spawn)
  38. SetStepComplete(Spawn, CaptainSays, 1)
  39. FaceTarget(NPC, Spawn)
  40. conversation = CreateConversation()
  41. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  42. AddConversationOption(conversation, "On the double, matey!")
  43. StartConversation(conversation, NPC, Spawn, "Oh! Aye aye. You tell the Cap'n I'll be right on it!")
  44. end
  45. function WrongChoice(NPC, Spawn)
  46. FaceTarget(NPC, Spawn)
  47. conversation = CreateConversation()
  48. AddConversationOption(conversation, "Wait, maybe I had that wrong. Let me try again.", "dlg_6_1")
  49. StartConversation(conversation, NPC, Spawn, "He wants me to do what?! Ha ha ha! Tha's a good one. Almost made me believe you really did have orders from the ol' Cap'n hisself? *hick-up*.")
  50. end