P.T.Irontoe.lua 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. --[[
  2. Script Name : SpawnScripts/NorthQeynos/P.T.Irontoe.lua
  3. Script Purpose : P.T. Irontoe
  4. Script Author : Dorbin
  5. Script Date : 2022.01.11
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function InRange(NPC, Spawn)
  15. end
  16. function LeaveRange(NPC, Spawn)
  17. end
  18. function hailed(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. conversation = CreateConversation()
  21. local choice = math.random(1,0)
  22. if choice == 1 then
  23. else
  24. end
  25. PlayFlavor(NPC, "voiceover/english/p.t._irontoe/qey_harbor/ptirontoe000.mp3", "", "", 63213082, 3865796457, Spawn)
  26. AddConversationOption(conversation, "I'm shoving off. Good day. ")
  27. 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.")
  28. if convo==35 then
  29. PlayFlavor(NPC, "voiceover/english/p.t._irontoe/qey_harbor/ptirontoe000.mp3", "", "", 63213082, 3865796457, Spawn)
  30. AddConversationOption(conversation, "I'm shoving off. Good day. ")
  31. 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.")
  32. end
  33. end
  34. function dlg_10_1(NPC, Spawn)
  35. FaceTarget(NPC, Spawn)
  36. conversation = CreateConversation()
  37. PlayFlavor(NPC, "voiceover/english/p.t._irontoe/qey_harbor/ptirontoe002.mp3", "", "", 63213082, 3865796457, Spawn)
  38. AddConversationOption(conversation, "I'm leaving.", "dlg_10_2")
  39. StartConversation(conversation, NPC, Spawn, "Pummeling time: The time it's gonna be if you don't stop pestering me. Shove off!")
  40. end
  41. function dlg_35_1(NPC, Spawn)
  42. FaceTarget(NPC, Spawn)
  43. conversation = CreateConversation()
  44. PlayFlavor(NPC, "voiceover/english/p.t._irontoe/qey_harbor/ptirontoe002.mp3", "", "", 63213082, 3865796457, Spawn)
  45. AddConversationOption(conversation, "I'm leaving.", "dlg_35_2")
  46. StartConversation(conversation, NPC, Spawn, "Pummeling time: The time it's gonna be if you don't stop pestering me. Shove off!")
  47. end