GillinBlackfist.lua 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. --[[
  2. Script Name : SpawnScripts/VerminSnye/GillinBlackfist.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.10.19 07:10:57
  5. Script Purpose :
  6. :
  7. --]]
  8. local InSearchoftheSepulcherofJahnda = 556
  9. function spawn(NPC)
  10. ProvidesQuest(NPC, InSearchoftheSepulcherofJahnda)
  11. end
  12. function hailed(NPC, Spawn)
  13. FaceTarget(NPC, Spawn)
  14. local conversation = CreateConversation()
  15. if not HasQuest(Spawn, InSearchoftheSepulcherofJahnda) and not HasCompletedQuest(Spawn, InSearchoftheSepulcherofJahnda) then
  16. AddConversationOption(conversation, "And the ocean wurms feed upon the goblins. ", "Option1")
  17. end
  18. AddConversationOption(conversation, "Why do I care about rats swimming in the sea? Farewell.")
  19. StartConversation(conversation, NPC, Spawn, "The goblins swim quickly across the Tranquil Sea, eh?")
  20. end
  21. function Option1(NPC, Spawn)
  22. FaceTarget(NPC, Spawn)
  23. local conversation = CreateConversation()
  24. AddConversationOption(conversation, "I am not Ronicus. Farewell.")
  25. AddConversationOption(conversation, "Sepulcher? What's that?", "offer")
  26. StartConversation(conversation, NPC, Spawn, "'Sat you Ronicus? The wee zealot says the key to the Sepulcher can be found in one of the catacomb receptacles. Now where's me coin? Funny ... I thought you'd look a bit nastier.")
  27. end
  28. function offer(NPC, Spawn)
  29. OfferQuest(NPC, Spawn, InSearchoftheSepulcherofJahnda)
  30. end
  31. function respawn(NPC)
  32. spawn(NPC)
  33. end