9
3

MizzenStaysail.lua 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. --[[
  2. Script Name : SpawnScripts/Butcherblock/MizzenStaysail.lua
  3. Script Purpose : Mizzen Staysail <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) == 2 then
  18. PlayFlavor(NPC, "mizzen_staysail/_exp03/exp03_rgn_butcherblock/staysail/staysail001.mp3", "", "", 1029519275, 2649145859, Spawn)
  19. AddConversationOption(conversation, "Orders from the Cap'n, Shorty!", "dlg_7_1")
  20. AddConversationOption(conversation, "I'll let you get back to your story.")
  21. StartConversation(conversation, NPC, Spawn, "So there I was! Surrounded by a marauding band of... Undead... Elemental... Orc pirates! Armed with only a flanger-poozle and frik-fork! So I says to 'em...")
  22. else
  23. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1006.mp3", "", "", 0, 0, Spawn)
  24. PlayFlavor(NPC, "", "So there I was! Surrounded by a marauding band of... Undead... Elemental... Orc pirates! Armed with only a flanger-poozle and frak-fork! So I says to 'em...", "", 1689589577, 4560189, Spawn)
  25. end
  26. end
  27. function dlg_7_1(NPC, Spawn)
  28. FaceTarget(NPC, Spawn)
  29. conversation = CreateConversation()
  30. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  31. AddConversationOption(conversation, "Cap'n says ta knock off the deck work an' brighten the clamp!", "WrongChoice")
  32. AddConversationOption(conversation, "Cap'n says ta brighten the clamp off an' work on the deck knock!", "WrongChoice")
  33. AddConversationOption(conversation, "Cap'n says to knock off the bright work an' clamp down the deck!", "dlg_7_2")
  34. StartConversation(conversation, NPC, Spawn, "Bah! I was just gettin' ta the good part. Alright then, if you be a representative of ta' Cap'n, then lemme 'ave it!")
  35. end
  36. function dlg_7_2(NPC, Spawn)
  37. SetStepComplete(Spawn, CaptainSays, 2)
  38. FaceTarget(NPC, Spawn)
  39. conversation = CreateConversation()
  40. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  41. AddConversationOption(conversation, "Aye aye!")
  42. StartConversation(conversation, NPC, Spawn, "Well, why didn't you say so?! Tell the Cap'n I'll be right over!")
  43. end
  44. function WrongChoice(NPC,Spawn)
  45. FaceTarget(NPC, Spawn)
  46. conversation = CreateConversation()
  47. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  48. AddConversationOption(conversation, "Hmm, perhaps I mixed that one up. Let me start over.", "dlg_7_1")
  49. StartConversation(conversation, NPC, Spawn, "Whaaa? Ho ho ho. He he he. That thar is what we call a good fisherman's tale. Oooh-hoo. Too funny friend, too funny!")
  50. end
  51. --[[ raw_conversations
  52. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1006.mp3", "", "", 0, 0, Spawn)
  53. PlayFlavor(NPC, "", "So there I was! Surrounded by a marauding band of... Undead... Elemental... Orc pirates! Armed with only a flanger-poozle and frak-fork! So I says to 'em...", "", 1689589577, 4560189, Spawn)
  54. --]]