9
3

BrawlerBently.lua 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. --[[
  2. Script Name : SpawnScripts/VerminSnye/BrawlerBently.lua
  3. Script Purpose : Brawler Bently Dialog
  4. Script Author : premierio015
  5. Script Date : 03.05.2020
  6. Script Notes :
  7. --]]
  8. local CalcifiedBoneOfTheTortured = 527
  9. function spawn(NPC)
  10. ProvidesQuest(NPC, QUEST)
  11. SetPlayerProximityFunction(NPC, 15, "InRange")
  12. end
  13. function respawn(NPC)
  14. spawn(NPC)
  15. end
  16. function InRange(NPC, Spawn)
  17. FaceTarget(NPC, Spawn)
  18. if HasQuest(Spawn, CalcifiedBoneOfTheTortured) then
  19. PlayFlavor(NPC, "voiceover/english/brawler_bently/qey_catacomb02/quest_character/brawler_bently_aoicallout01_171ba5cc.mp3", "Hey! I heard you destroyed Lika the Tortured!", "", 2007283087, 1004410230, Spawn)
  20. end
  21. end
  22. function hailed(NPC, Spawn)
  23. FaceTarget(NPC, Spawn)
  24. if HasQuest(Spawn, CalcifiedBoneOfTheTortured) and GetQuestStep(Spawn, CalcifiedBoneOfTheTortured) == 1 then
  25. conversation = CreateConversation()
  26. PlayFlavor(NPC, "voiceover/english/brawler_bently/qey_catacomb02/brawlerbently002.mp3", "", "", 2544659380, 3123934221, Spawn)
  27. AddConversationOption(conversation, "I have her arm bone.", "ArmBone")
  28. AddConversationOption(conversation, "Nothing of value.")
  29. StartConversation(conversation, NPC, Spawn, "Lika the Tortured has sent many starry eyed young adventurers to ther early doom. Good to hear you put her to rest once and for all! So what did you loot from her remains?")
  30. else
  31. Advice(NPC, Spawn)
  32. end
  33. end
  34. function ArmBone(NPC, Spawn)
  35. SetStepComplete(Spawn, CalcifiedBoneOfTheTortured, 1)
  36. FaceTarget(NPC, Spawn)
  37. conversation = CreateConversation()
  38. PlayFlavor(NPC, "voiceover/english/brawler_bently/qey_catacomb02/brawlerbently003.mp3", "", "", 2024118320, 3061111092, Spawn)
  39. AddConversationOption(conversation, "Thank you for the suggestion.", "Multistep")
  40. StartConversation(conversation, NPC, Spawn, "This bone is very strong. Urgh! It won't even flex or crack when I try to bend it! This would make a great weapon! Take it to Dylan Ironforge in North Qeynos. He'll craft something out of it. Besides, he owes me a favor. HAHA!")
  41. end
  42. function Advice(NPC, Spawn)
  43. FaceTarget(NPC, Spawn)
  44. conversation = CreateConversation()
  45. PlayFlavor(NPC, "voiceover/english/brawler_bently/qey_catacomb02/brawlerbently001.mp3", "", "", 615717805, 349513668, Spawn)
  46. AddConversationOption(conversation, "Thanks for the advice.")
  47. StartConversation(conversation, NPC, Spawn, "Be careful down in the catacombs. Nasty creatures who'd be happy to take their frustrations out on you live in bowels below, the least of which is Lika the Tortured!")
  48. end