9
3

ConstableArathur.lua 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. --[[
  2. Script Name : SpawnScripts/Nettleville/ConstableArathur.lua
  3. Script Purpose : Constable Arathur
  4. Script Author : Scatman, premierio015
  5. Script Date : 2009.08.12, modified on 03.10.2021
  6. Script Notes : Added quest dialogues
  7. --]]
  8. local AnIntriguingEye = 5366
  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. PlayFlavor(NPC, "voiceover/english/optional1/constable_arathur/qey_village01/constablearathur000.mp3", "", "", 1713133658, 629344486, Spawn)
  18. if GetQuestStep(Spawn, AnIntriguingEye) == 8 then
  19. AddConversationOption(conversation, "I must report a missing coin. It is unique and has an eye carved into its face. ", "Option1")
  20. end
  21. AddConversationOption(conversation, "I shall do my part. Farewell.")
  22. StartConversation(conversation, NPC, Spawn, "Hail, Qeynosian. Please be on the lookout for any illicit trade activities. We must all do our part to keep corruption from creeping into our fair city. ")
  23. end
  24. function Option1(NPC, Spawn)
  25. FaceTarget(NPC, Spawn)
  26. local conversation = CreateConversation()
  27. PlayFlavor(NPC, "voiceover/english/optional1/constable_arathur/qey_village01/constablearathur001.mp3", "", "", 1588261699, 986294832, Spawn)
  28. AddConversationOption(conversation, "What is this coin?", "Option2")
  29. StartConversation(conversation, NPC, Spawn, "Some reported seeing such a coin strung about the necks of noble undead who lurk within the dark and dangerous recesses of the Down Below.")
  30. end
  31. function Option2(NPC, Spawn)
  32. FaceTarget(NPC, Spawn)
  33. local conversation = CreateConversation()
  34. PlayFlavor(NPC, "voiceover/english/optional1/constable_arathur/qey_village01/constablearathur002.mp3", "", "", 3293222498, 896447316, Spawn)
  35. AddConversationOption(conversation, "Could I help?", "Option3")
  36. StartConversation(conversation, NPC, Spawn, "Tavern tales claim it's the key to unlocking a secret hive of thieves in the Down Below. What I wouldn't give to gain access to such a place. ")
  37. end
  38. function Option3(NPC, Spawn)
  39. FaceTarget(NPC, Spawn)
  40. local conversation = CreateConversation()
  41. PlayFlavor(NPC, "voiceover/english/optional1/constable_arathur/qey_village01/constablearathur003.mp3", "", "", 4182403817, 526127702, Spawn)
  42. AddConversationOption(conversation, "What sort of evidence do you seek? ", "Option4")
  43. StartConversation(conversation, NPC, Spawn, "You can help the guards repel the flow of illegal libations into this city. Should you ever gain access into the hive, surely there must be evidence of the smugglers and their associates who break our laws.")
  44. end
  45. function Option4(NPC, Spawn)
  46. SetStepComplete(Spawn, AnIntriguingEye, 8)
  47. FaceTarget(NPC, Spawn)
  48. local conversation = CreateConversation()
  49. PlayFlavor(NPC, "voiceover/english/optional1/constable_arathur/qey_village01/constablearathur004.mp3", "", "", 831102203, 357868312, Spawn)
  50. AddConversationOption(conversation, "I will keep an eye out for such a list.")
  51. StartConversation(conversation, NPC, Spawn, "The Qeynos Guard would pay a great bounty for evidence such as a list detailing what merchants in our fair city deal in illegal trade. We must punish these Qeynosians for their illicit acts.")
  52. end