TallyTopgallant.lua 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. --[[
  2. Script Name : SpawnScripts/Butcherblock/TallyTopgallant.lua
  3. Script Purpose : Tally Topgallant <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) == 3 then
  18. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1001.mp3", "", "", 0, 0, Spawn)
  19. AddConversationOption(conversation, "Orders from the Cap'n, m'lady!", "dlg_8_1")
  20. AddConversationOption(conversation, "Oh, you caught me! I'll be leaving now.")
  21. StartConversation(conversation, NPC, Spawn, "Aye, wot do we got 'ere? Some land lubber think they can git the drop on ole Tally Topgallant? Ha ha! I think not!")
  22. else
  23. PlayFlavor(NPC, "", "Aye, wot do we got 'ere? Some land lubber think they can git the drop on ole Tally Topgallant? Ha ha! I think not!", "", 1689589577, 4560189, Spawn)
  24. end
  25. end
  26. function dlg_8_1(NPC, Spawn)
  27. FaceTarget(NPC, Spawn)
  28. conversation = CreateConversation()
  29. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  30. AddConversationOption(conversation, "Cap'n wants you ta lash up an' stow 'afore you batten down the hatches!", "dlg_8_2")
  31. AddConversationOption(conversation, "Cap'n wants you ta stow the hatches 'afore you batten down the lash!", "WrongChoice")
  32. AddConversationOption(conversation, "Cap'n wants you ta lash up the batten 'afore you stow the hatches.", "WrongChoice")
  33. StartConversation(conversation, NPC, Spawn, "Hmph. He best pay me 'afor he can expect me ta take another run aboard that floatin' heap he be callin' a ship. Now then, wot's the Cap'n got ta say ta me?")
  34. end
  35. function dlg_8_2(NPC, Spawn)
  36. SetStepComplete(Spawn, CaptainSays, 3)
  37. FaceTarget(NPC, Spawn)
  38. conversation = CreateConversation()
  39. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  40. AddConversationOption(conversation, "I'll report back to the Cap'n at once!")
  41. StartConversation(conversation, NPC, Spawn, "Aye, that's wot he always be tellin' me. Day in an' day out. Tell the Cap'n I'll be there promptly. Blimmey, I'm gettin' too old for this 'ere kinda work.")
  42. end
  43. function WrongChoice(NPC,Spawn)
  44. FaceTarget(NPC, Spawn)
  45. conversation = CreateConversation()
  46. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  47. AddConversationOption(conversation, "Wait, let me try that again!", "dlg_8_1")
  48. StartConversation(conversation, NPC, Spawn, "Is this some sorta joke? Let me guess, one too many hits wit a belay pin got you all scrambled in yer noggin', right? You ain't talk to no Cap'n I work for! Off wit ye!")
  49. end
  50. --[[ raw_conversations
  51. PlayFlavor(NPC, "", "Aye, wot do we got 'ere? Some land lubber think they can git the drop on ole Tally Topgallant? Ha ha! I think not!", "", 1689589577, 4560189, Spawn)
  52. --]]