PTIrontoe.lua 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. --[[
  2. Script Name : SpawnScripts/NorthQeynos/PTIrontoe.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.10.10 03:10:35
  5. Script Purpose :
  6. :
  7. --]]
  8. local TheMotleyMerchantManifest = 5368
  9. function spawn(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. local conversation = CreateConversation()
  14. PlayFlavor(NPC, "voiceover/english/p.t._irontoe/qey_harbor/ptirontoe000.mp3", "", "glare", 63213082, 3865796457, Spawn)
  15. if GetQuestStep(Spawn, TheMotleyMerchantManifest) == 7 then
  16. AddConversationOption(conversation, "I believe you need to sign this manifest. ", "Option2")
  17. end
  18. AddConversationOption(conversation, "What's the P.T. stand for? ", "Option1")
  19. AddConversationOption(conversation, "I'm shoving off. Good day. ")
  20. StartConversation(conversation, NPC, Spawn, "Listen here! This here's my pub. We'll have no busting heads and barstools in here. And never break rule number one: Never pester the owner.")
  21. end
  22. function Option1(NPC, Spawn)
  23. FaceTarget(NPC, Spawn)
  24. local conversation = CreateConversation()
  25. PlayFlavor(NPC, "voiceover/english/p.t._irontoe/qey_harbor/ptirontoe002.mp3", "", "shake", 63213082, 3865796457, Spawn)
  26. AddConversationOption(conversation, "I'm leaving.")
  27. StartConversation(conversation, NPC, Spawn, "Pummeling time: The time it's gonna be if you don't stop pestering me. Shove off!")
  28. end
  29. function Option2(NPC, Spawn)
  30. SetStepComplete(Spawn, TheMotleyMerchantManifest, 7)
  31. FaceTarget(NPC, Spawn)
  32. local conversation = CreateConversation()
  33. PlayFlavor(NPC, "voiceover/english/p.t._irontoe/qey_harbor/ptirontoe001.mp3", "", "agree", 63213082, 3865796457, Spawn)
  34. AddConversationOption(conversation, "I am sure you'll get more now that you signed.")
  35. StartConversation(conversation, NPC, Spawn, "We're almost out of stout. The patrons will get riled up if we run dry. I hate losing coin. Make sure your associates get this grog, or they'll be getting a brigade beating from me personally.")
  36. end
  37. function respawn(NPC)
  38. spawn(NPC)
  39. end