9
3

PTIrontoe.lua 2.1 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. SetInfoStructString(NPC, "action_state", "mood_angry")
  11. end
  12. function hailed(NPC, Spawn)
  13. FaceTarget(NPC, Spawn)
  14. local conversation = CreateConversation()
  15. PlayFlavor(NPC, "voiceover/english/p.t._irontoe/qey_harbor/ptirontoe000.mp3", "", "glare", 63213082, 3865796457, Spawn)
  16. if GetQuestStep(Spawn, TheMotleyMerchantManifest) == 7 then
  17. AddConversationOption(conversation, "I believe you need to sign this manifest. ", "Option2")
  18. end
  19. AddConversationOption(conversation, "What's the P.T. stand for? ", "Option1")
  20. AddConversationOption(conversation, "I'm shoving off. Good day. ")
  21. 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.")
  22. end
  23. function Option1(NPC, Spawn)
  24. FaceTarget(NPC, Spawn)
  25. local conversation = CreateConversation()
  26. PlayFlavor(NPC, "voiceover/english/p.t._irontoe/qey_harbor/ptirontoe002.mp3", "", "shake", 63213082, 3865796457, Spawn)
  27. AddConversationOption(conversation, "I'm leaving.")
  28. StartConversation(conversation, NPC, Spawn, "Pummeling time: The time it's gonna be if you don't stop pestering me. Shove off!")
  29. end
  30. function Option2(NPC, Spawn)
  31. SetStepComplete(Spawn, TheMotleyMerchantManifest, 7)
  32. FaceTarget(NPC, Spawn)
  33. local conversation = CreateConversation()
  34. PlayFlavor(NPC, "voiceover/english/p.t._irontoe/qey_harbor/ptirontoe001.mp3", "", "agree", 63213082, 3865796457, Spawn)
  35. AddConversationOption(conversation, "I am sure you'll get more now that you signed.")
  36. 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.")
  37. end
  38. function respawn(NPC)
  39. spawn(NPC)
  40. end