9
3

BlibbaNugrud.lua 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/BlibbaNugrud.lua
  3. Script Purpose : Blibba Nugrud
  4. Script Author : theFoof
  5. Script Date : 2013.08.19
  6. Script Notes :
  7. --]]
  8. local TrustIssues = 85
  9. function spawn(NPC)
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. FaceTarget(NPC, Spawn)
  16. conversation = CreateConversation()
  17. if HasQuest(Spawn, TrustIssues) and not QuestStepIsComplete(Spawn, TrustIssues, 1) then
  18. PlayFlavor(NPC, "blibba_nugrud/halas/new_halas_guard_house/blibba_nugrud001.mp3", "", "", 1692822878, 2906055751, Spawn)
  19. AddConversationOption(conversation, "I have a few questions.", "Quest1Chat_1")
  20. AddConversationOption(conversation, "Can you tell me what you're doing here?", "Quest1Chat_7")
  21. StartConversation(conversation, NPC, Spawn, "Fribbit. Hail back, and all that. What can I do for you?")
  22. elseif HasQuest(Spawn, TrustIssues) then
  23. PlayFlavor(NPC, "", "I've already told you what you wanted to know.", "hello", 0, 0, Spawn)
  24. else
  25. PlayFlavor(NPC, "", "Fribbit! Godd day to you.", "hello", 0, 0, Spawn)
  26. end
  27. end
  28. function Quest1Chat_1(NPC, Spawn)
  29. FaceTarget(NPC, Spawn)
  30. conversation = CreateConversation()
  31. PlayFlavor(NPC, "blibba_nugrud/halas/new_halas_guard_house/blibba_nugrud004.mp3", "", "", 2666827594, 1649429363, Spawn)
  32. AddConversationOption(conversation, "Why did you come to Erollis?", "Quest1Chat_2")
  33. AddConversationOption(conversation, "Why don't you leave?", "Quest1Chat_9")
  34. StartConversation(conversation, NPC, Spawn, "Of course. Ask away.")
  35. end
  36. function Quest1Chat_2(NPC, Spawn)
  37. FaceTarget(NPC, Spawn)
  38. conversation = CreateConversation()
  39. PlayFlavor(NPC, "blibba_nugrud/halas/new_halas_guard_house/blibba_nugrud006.mp3", "", "", 4224849804, 392144788, Spawn)
  40. AddConversationOption(conversation, "When did this happen?", "Quest1Chat_3")
  41. AddConversationOption(conversation, "I already know this; just give me the short version.", "Quest1Chat_6")
  42. StartConversation(conversation, NPC, Spawn, "The frogloks of Guk, my predecessors, were blessed with valor and the capacity for higher reasoning by the god Mithaniel Marr.")
  43. end
  44. function Quest1Chat_3(NPC, Spawn)
  45. FaceTarget(NPC, Spawn)
  46. conversation = CreateConversation()
  47. PlayFlavor(NPC, "blibba_nugrud/halas/new_halas_guard_house/blibba_nugrud007.mp3", "", "", 1546450602, 2461406794, Spawn)
  48. AddConversationOption(conversation, "Can you explain that further?", "Quest1Chat_4")
  49. AddConversationOption(conversation, "What does that have to do with Erollis?", "Quest1Chat_4")
  50. AddConversationOption(conversation, "I already know this; just give me the short version.", "Quest1Chat_6")
  51. AddConversationOption(conversation, "Whatever, I don't have the time for this.")
  52. StartConversation(conversation, NPC, Spawn, "This occurred hundreds of years ago. The blessing of Marr allowed us to defeat our ancestral enemies, the trolls, but more importantly it allowed us to overcome our own shortcomings.")
  53. end
  54. function Quest1Chat_4(NPC, Spawn)
  55. FaceTarget(NPC, Spawn)
  56. conversation = CreateConversation()
  57. PlayFlavor(NPC, "blibba_nugrud/halas/new_halas_guard_house/blibba_nugrud008.mp3", "", "", 3444575982, 3490248523, Spawn)
  58. AddConversationOption(conversation, "Aren't frogloks unfit for the environment of Erollis?", "Quest1Chat_5")
  59. AddConversationOption(conversation, "I already know this; just give me the short version.", "Quest1Chat_6")
  60. AddConversationOption(conversation, "Whatever, I don't have the time for this.")
  61. StartConversation(conversation, NPC, Spawn, "We conquered our own fear and ignorance. My enlightened ancestors left Guk and carved out a new home in the world of Norrath. They crawled out of the gunk and muck and into the light, literally and figuratively.")
  62. end
  63. function Quest1Chat_5(NPC, Spawn)
  64. FaceTarget(NPC, Spawn)
  65. conversation = CreateConversation()
  66. PlayFlavor(NPC, "blibba_nugrud/halas/new_halas_guard_house/blibba_nugrud009.mp3", "", "", 2086235207, 3956751510, Spawn)
  67. AddConversationOption(conversation, "Can you sum this up?", "Quest1Chat_6")
  68. AddConversationOption(conversation, "Whatever, I don't have the time for this.")
  69. StartConversation(conversation, NPC, Spawn, "Well, I would prefer to live in a swamp, or something like it. The frigid weather is hard on my skin. But I wouldn't say we're unfit, necessarily. We're just as humanoid as we are amphibian.")
  70. end
  71. function Quest1Chat_6(NPC, Spawn)
  72. SetStepComplete(Spawn, TrustIssues, 1)
  73. FaceTarget(NPC, Spawn)
  74. conversation = CreateConversation()
  75. PlayFlavor(NPC, "blibba_nugrud/halas/new_halas_guard_house/blibba_nugrud010.mp3", "", "", 1038495244, 3766399001, Spawn)
  76. AddConversationOption(conversation, "Appreciate you taking the time to chat.")
  77. AddConversationOption(conversation, "Take care, Blibba.")
  78. StartConversation(conversation, NPC, Spawn, "The short answer is: we frogloks owe all that we are to Mithaniel Marr. When I heard that He had blessed this place, I felt obliged to come here to pay Him homage.")
  79. end
  80. function Quest1Chat_7(NPC, Spawn)
  81. FaceTarget(NPC, Spawn)
  82. conversation = CreateConversation()
  83. AddConversationOption(conversation, "It's nothing quote so serious.", "Quest1Chat_1")
  84. AddConversationOption(conversation, "Just answer the question!", "Quest1Chat_8")
  85. AddConversationOption(conversation, "Whatever, I don't have the time for this.")
  86. StartConversation(conversation, NPC, Spawn, "Doing here? You mean what is my business here? Or are you insinuating that I do not belong?")
  87. end
  88. function Quest1Chat_8(NPC, Spawn)
  89. FaceTarget(NPC, Spawn)
  90. conversation = CreateConversation()
  91. AddConversationOption(conversation, "Fine. Goodbye.")
  92. StartConversation(conversation, NPC, Spawn, "How rude! Good day.")
  93. end
  94. function Quest1Chat_9(NPC, Spawn)
  95. FaceTarget(NPC, Spawn)
  96. conversation = CreateConversation()
  97. AddConversationOption(conversation, "Of course.", "Quest1Chat_2")
  98. AddConversationOption(conversation, "Just answer the question!", "Quest1Chat_8")
  99. StartConversation(conversation, NPC, Spawn, "That's a very interesting way of putting it. I'll assume you meant no offense.")
  100. end