9
3

CaptainVrondell.lua 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. --[[
  2. Script Name : SpawnScripts/Freeport/CaptainVrondell.lua
  3. Script Author : Premierio015
  4. Script Date : 2020.08.07 06:08:14
  5. Script Purpose :
  6. :
  7. --]]
  8. local BloodskullOrcBounty = 5218
  9. function spawn(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. conversation = CreateConversation()
  14. PlayFlavor(NPC, "voiceover/english/optional5/captain_vrondell/fprt_west/quests/captain_vrondell000.mp3", "", "brandish", 1599544138, 213130892, Spawn)
  15. if GetQuestStep(Spawn, BloodskullOrcBounty) == 2 then
  16. AddConversationOption(conversation, "I've come to collect on the Bloodskull earring bounty.", "complete")
  17. end
  18. AddConversationOption(conversation, "Mercy, great captain. Forgive my foolish actions.")
  19. StartConversation(conversation, NPC, Spawn, "You dare to approach a militia captain without being summoned? State your business or move along!")
  20. end
  21. function complete(NPC, Spawn)
  22. FaceTarget(NPC, Spawn)
  23. conversation = CreateConversation()
  24. PlayFlavor(NPC, "voiceover/english/optional5/captain_vrondell/fprt_west/quests/captain_vrondell004.mp3", "", "", 1201882587, 2385389190, Spawn)
  25. SetStepComplete(Spawn, BloodskullOrcBounty, 2)
  26. RemoveItem(Spawn, 4523)
  27. AddConversationOption(conversation, "The spilling of orcish blood is always a privilege.", "dlg1")
  28. AddConversationOption(conversation, "I could never forget my loyalty to the Overlord.", "dlg1")
  29. StartConversation(conversation, NPC, Spawn, "Your contribution is one of duty and obligation and does not merit compensation. However, as we understand your need for supplies and repairs to remain a productive member of society, I reward you your bounty.")
  30. end
  31. function dlg1(NPC, Spawn)
  32. FaceTarget(NPC, Spawn)
  33. conversation = CreateConversation()
  34. PlayFlavor(NPC, "voiceover/english/optional5/captain_vrondell/fprt_west/quests/captain_vrondell005.mp3", "", "", 2688444807, 3777337444, Spawn)
  35. AddConversationOption(conversation, "It is my honor to serve the Overlord.")
  36. StartConversation(conversation, NPC, Spawn, "Any scoundrel could spill blood, but we are citizens of Freeport not scoundrels. Spilling orcish blood for the defense of Freeport is an honor. Be thankful for serving the Overlord.")
  37. end
  38. function respawn(NPC)
  39. end