acapturedLonetusk.lua 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. --[[
  2. Script Name : SpawnScripts/TheRuins/acapturedLonetusk.lua
  3. Script Purpose : a captured Lonetusk
  4. Script Author : jakejp
  5. Script Date : 2018.12.29
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. local IdentifyingtheLonetuskAlly = 394
  9. function spawn(NPC)
  10. -- AddVisualStateLoop(NPC, 1000, math.random(500, 2000), 11256, 44024) -- cringe // thanks Scatman
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. FaceTarget(NPC, Spawn)
  17. conversation = CreateConversation()
  18. if HasQuest(Spawn, IdentifyingtheLonetuskAlly) and GetQuestStep(Spawn, IdentifyingtheLonetuskAlly) == 1 then
  19. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/a_captured_lonetusk/fprt_adv04_ruins/revamp/orc_prisoner001.mp3", "", "", 4128768340, 1228262128, Spawn)
  20. AddConversationOption(conversation, "I am here to get some answers from you.", "dlg_32_1")
  21. AddConversationOption(conversation, "Quiet down, prisoner!")
  22. StartConversation(conversation, NPC, Spawn, "No hurt! Me already surrender!")
  23. else
  24. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/a_captured_lonetusk/fprt_adv04_ruins/revamp/orc_prisoner012.mp3", "", "", 882748150, 4130498841, Spawn)
  25. AddConversationOption(conversation, "I have no time for a babbling orc captive")
  26. StartConversation(conversation, NPC, Spawn, "Let me go! Please!")
  27. end
  28. end
  29. function dlg_32_1(NPC, Spawn)
  30. FaceTarget(NPC, Spawn)
  31. conversation = CreateConversation()
  32. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/a_captured_lonetusk/fprt_adv04_ruins/revamp/orc_prisoner002.mp3", "", "", 2193050384, 3870757124, Spawn)
  33. AddConversationOption(conversation, "You speak the Common tongue, so you must not be as dumb as you're pretending to be.", "dlg_32_2")
  34. AddConversationOption(conversation, "If you say so.")
  35. StartConversation(conversation, NPC, Spawn, "Me no have answers. Me just am little orc!")
  36. end
  37. function dlg_32_2(NPC, Spawn)
  38. FaceTarget(NPC, Spawn)
  39. conversation = CreateConversation()
  40. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/a_captured_lonetusk/fprt_adv04_ruins/revamp/orc_prisoner003.mp3", "", "", 124478711, 860584252, Spawn)
  41. AddConversationOption(conversation, "You're in no position to make deals. But I just might let you go if you tell me what I want to know.", "dlg_32_3")
  42. AddConversationOption(conversation, "I've had enough of you already.")
  43. StartConversation(conversation, NPC, Spawn, "Me not smart. Me just want to go home. You let me go, me no fight no more. Deal?")
  44. end
  45. function dlg_32_3(NPC, Spawn)
  46. FaceTarget(NPC, Spawn)
  47. conversation = CreateConversation()
  48. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/a_captured_lonetusk/fprt_adv04_ruins/revamp/orc_prisoner004.mp3", "", "", 1469824726, 30408133, Spawn)
  49. AddConversationOption(conversation, "Then I might as well leave you in the hands of these fine Militia guards. I'm sure they'll take good care of you...", "dlg_32_4")
  50. AddConversationOption(conversation, "Guess I'll leave then.")
  51. StartConversation(conversation, NPC, Spawn, "But me know nothing! Me swear!")
  52. end
  53. function dlg_32_4(NPC, Spawn)
  54. FaceTarget(NPC, Spawn)
  55. conversation = CreateConversation()
  56. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/a_captured_lonetusk/fprt_adv04_ruins/revamp/orc_prisoner005.mp3", "", "", 1615553147, 3449079179, Spawn)
  57. AddConversationOption(conversation, "Who is supplying your people with weapons and armor?", "dlg_32_5")
  58. StartConversation(conversation, NPC, Spawn, "No! Me not want more beatings! What you want to know?")
  59. end
  60. function dlg_32_5(NPC, Spawn)
  61. FaceTarget(NPC, Spawn)
  62. conversation = CreateConversation()
  63. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/a_captured_lonetusk/fprt_adv04_ruins/revamp/orc_prisoner006.mp3", "", "", 2990020628, 560025747, Spawn)
  64. AddConversationOption(conversation, "Fine, I'll leave you with your guards.", "dlg_32_6")
  65. AddConversationOption(conversation, "Okay, enough already.")
  66. StartConversation(conversation, NPC, Spawn, "Me not know that! Me just am little orc!")
  67. end
  68. function dlg_32_6(NPC, Spawn)
  69. FaceTarget(NPC, Spawn)
  70. conversation = CreateConversation()
  71. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/a_captured_lonetusk/fprt_adv04_ruins/revamp/orc_prisoner007.mp3", "", "", 3410550036, 2668527448, Spawn)
  72. AddConversationOption(conversation, "Alright, I'm listening.", "dlg_32_7")
  73. AddConversationOption(conversation, "I'm tired of your babble.")
  74. StartConversation(conversation, NPC, Spawn, "Wait! Me really not know! But me do know something else.")
  75. end
  76. function dlg_32_7(NPC, Spawn)
  77. FaceTarget(NPC, Spawn)
  78. conversation = CreateConversation()
  79. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/a_captured_lonetusk/fprt_adv04_ruins/revamp/orc_prisoner008.mp3", "", "", 3061313788, 1091321406, Spawn)
  80. AddConversationOption(conversation, "Where is this safe place?", "dlg_32_8")
  81. StartConversation(conversation, NPC, Spawn, "Me saw General Lonetusk get note. Me not see who it from, but he read it and say next shipment of weapons coming soon. Then he have his guard lock note away in safe place.")
  82. end
  83. function dlg_32_8(NPC, Spawn)
  84. SetStepComplete(Spawn, IdentifyingtheLonetuskAlly, 1)
  85. FaceTarget(NPC, Spawn)
  86. conversation = CreateConversation()
  87. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/a_captured_lonetusk/fprt_adv04_ruins/revamp/orc_prisoner009.mp3", "", "", 4040035963, 2756024604, Spawn)
  88. AddConversationOption(conversation, "You'd better not be lying to me, orc.", "dlg_32_9")
  89. StartConversation(conversation, NPC, Spawn, "Me not know exactly. General keeps important stuff locked away in underground bunker. Me only know it well guarded.")
  90. end
  91. function dlg_32_9(NPC, Spawn)
  92. FaceTarget(NPC, Spawn)
  93. conversation = CreateConversation()
  94. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/a_captured_lonetusk/fprt_adv04_ruins/revamp/orc_prisoner010.mp3", "", "", 309844462, 3131461869, Spawn)
  95. AddConversationOption(conversation, "Not a chance. You are a prisoner of the Freeport Militia.", "dlg_32_10")
  96. AddConversationOption(conversation, "I've talked to you enough for one day.")
  97. StartConversation(conversation, NPC, Spawn, "Me no lie to you! Now me tell you this, you let me go, yes?")
  98. end
  99. function dlg_32_10(NPC, Spawn)
  100. FaceTarget(NPC, Spawn)
  101. conversation = CreateConversation()
  102. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/a_captured_lonetusk/fprt_adv04_ruins/revamp/orc_prisoner011.mp3", "", "", 818383826, 2358181749, Spawn)
  103. AddConversationOption(conversation, "Tell that to the people of Shoreside that your people butchered. I leave you to the mercy of these guards.")
  104. StartConversation(conversation, NPC, Spawn, "You liar! You say you let me go if I tell you! You bad to poor little orc!")
  105. end