JenthisViridar.lua 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/JenthisViridar.lua
  3. Script Purpose : Jenthis Viridar
  4. Script Author : John Adams
  5. Script Date : 2009.03.01
  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. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/jenthis_viridar/_exp03/exp03_rgn_greater_faydark/scp/jenthis/jenthis000.mp3", "", "", 6246646, 2119314563, Spawn)
  22. AddConversationOption(conversation, "I am XXXXXXXX. What is the problem?", "dlg_34_1")
  23. AddConversationOption(conversation, "I am Leighlah. I have a status report from Captain Steelforge.")
  24. AddConversationOption(conversation, "I am Leighlah. I have news from Gomphum.")
  25. StartConversation(conversation, NPC, Spawn, "Welcome to Sapling Spur Outpost. I am Jenthis Viridar, the current rank around here. I, well... I'd like to offer our assistance, but we're in a bit of a predicament right now.")
  26. if convo==35 then
  27. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/jenthis_viridar/_exp03/exp03_rgn_greater_faydark/scp/jenthis/jenthis000.mp3", "", "", 6246646, 2119314563, Spawn)
  28. AddConversationOption(conversation, "I am XXXXXXXX. What is the problem?", "dlg_35_1")
  29. AddConversationOption(conversation, "I am Leighlah. I have news from Gomphum.")
  30. StartConversation(conversation, NPC, Spawn, "Welcome to Sapling Spur Outpost. I am Jenthis Viridar, the current rank around here. I, well... I'd like to offer our assistance, but we're in a bit of a predicament right now.")
  31. end
  32. if convo==36 then
  33. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/jenthis_viridar/_exp03/exp03_rgn_greater_faydark/scp/jenthis/jenthis000.mp3", "", "", 6246646, 2119314563, Spawn)
  34. AddConversationOption(conversation, "I am XXXXXXXX. What is the problem?", "dlg_36_1")
  35. StartConversation(conversation, NPC, Spawn, "Welcome to Sapling Spur Outpost. I am Jenthis Viridar, the current rank around here. I, well... I'd like to offer our assistance, but we're in a bit of a predicament right now.")
  36. end
  37. end
  38. function dlg_34_1(NPC, Spawn)
  39. FaceTarget(NPC, Spawn)
  40. conversation = CreateConversation()
  41. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/jenthis_viridar/_exp03/exp03_rgn_greater_faydark/scp/jenthis/jenthis001.mp3", "", "", 1747714105, 1617321160, Spawn)
  42. AddConversationOption(conversation, "I've also got news from Gomphum.")
  43. AddConversationOption(conversation, "What is the trouble you are having?", "dlg_34_2")
  44. AddConversationOption(conversation, "Glad to be of service.")
  45. StartConversation(conversation, NPC, Spawn, "Ah, very good. I will... I will get to this when there's time.")
  46. end
  47. function dlg_35_1(NPC, Spawn)
  48. FaceTarget(NPC, Spawn)
  49. conversation = CreateConversation()
  50. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/jenthis_viridar/_exp03/exp03_rgn_greater_faydark/scp/jenthis/jenthis_gomphum000.mp3", "", "", 3461568007, 163444975, Spawn)
  51. AddConversationOption(conversation, "He's a Shroomba. He lives in Dyer Mycoria. There was an orc with the grobins in that cave system.")
  52. StartConversation(conversation, NPC, Spawn, "What's a Gomphum?")
  53. end
  54. function dlg_35_2(NPC, Spawn)
  55. FaceTarget(NPC, Spawn)
  56. conversation = CreateConversation()
  57. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/jenthis_viridar/_exp03/exp03_rgn_greater_faydark/scp/jenthis/jenthis_gomphum001.mp3", "", "", 17746683, 2156800744, Spawn)
  58. AddConversationOption(conversation, "Just one, I killed it.", "dlg_35_3")
  59. StartConversation(conversation, NPC, Spawn, "Oooh, yes I recall him... An orc you say? I swear these things are spontaneously generated. How many orcs were there?")
  60. end
  61. function dlg_35_3(NPC, Spawn)
  62. FaceTarget(NPC, Spawn)
  63. conversation = CreateConversation()
  64. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/jenthis_viridar/_exp03/exp03_rgn_greater_faydark/scp/jenthis/jenthis_gomphum002.mp3", "", "", 283444902, 274954014, Spawn)
  65. AddConversationOption(conversation, "What is the trouble you are having?", "dlg_35_4")
  66. AddConversationOption(conversation, "Glad to be of service.")
  67. StartConversation(conversation, NPC, Spawn, "Well... that's a relief. Still... the news gets worse and worse every day.")
  68. end
  69. function dlg_36_1(NPC, Spawn)
  70. FaceTarget(NPC, Spawn)
  71. conversation = CreateConversation()
  72. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/jenthis_viridar/_exp03/exp03_rgn_greater_faydark/scp/jenthis/jenthis002.mp3", "", "", 2753677390, 2626213352, Spawn)
  73. AddConversationOption(conversation, "Yes?", "dlg_36_2")
  74. StartConversation(conversation, NPC, Spawn, "Orcs. They've been spilling out of Crushbone and into the Faydark at an alarming rate. That they have managed to get so close to Tunare's Sapling is worrisome. I've asked for more soldiers, but my requests are being denied... I... I'm sorry, I shouldn't be complaining to you. Our problem, .. GetName(Spawn) .. . is that to the west lies 'Orc Hill,' a staging area for most of the orc attacks west and south of this position. On top of that, to the east...")
  75. end
  76. function dlg_36_2(NPC, Spawn)
  77. FaceTarget(NPC, Spawn)
  78. conversation = CreateConversation()
  79. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/jenthis_viridar/_exp03/exp03_rgn_greater_faydark/scp/jenthis/jenthis003.mp3", "", "", 3006752769, 442065699, Spawn)
  80. AddConversationOption(conversation, "All right.", "dlg_36_3")
  81. StartConversation(conversation, NPC, Spawn, "To the east is an area that was once peaceful. The bixies--friendly unless provoked--reside there, but lately orcs have been moving in. We've already waited too long and they're getting complacent. I need you to scatter these would-be orc settlers and ensure they find no ground -- save the ground they die upon. There are only Crushbone pawns there for now, but pawns are nothing if not forerunners.")
  82. end
  83. function dlg_36_3(NPC, Spawn)
  84. FaceTarget(NPC, Spawn)
  85. conversation = CreateConversation()
  86. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/jenthis_viridar/_exp03/exp03_rgn_greater_faydark/scp/jenthis/jenthis004.mp3", "", "", 2745305146, 1693404774, Spawn)
  87. AddConversationOption(conversation, "Okay.", "dlg_36_4")
  88. StartConversation(conversation, NPC, Spawn, "Good. Once this is done report back to me.")
  89. end