BorderlandBountyforDervishCutthroats.lua 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. --[[
  2. Script Name : ItemScripts/BorderlandBountyforDervishCutthroats.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.05.24 07:05:17
  5. Script Purpose :
  6. :
  7. --]]
  8. local quest = 416 -- Bandish Sash Bounty Quest
  9. function examined(Item, Player)
  10. conversation = CreateConversation()
  11. AddConversationOption(conversation, "Read On", "ReadOn")
  12. AddConversationOption(conversation, "Save the bounty.", "CloseItemConversation")
  13. StartDialogConversation(conversation, 2, Item, Player, "Attention all Freeportians! By order of the Overlord, all able bodied citizens must aid Freeport by removing the dervish peoples found in our outlying lands. Anyone found in our surrounding lands that isn't a citizen of Freeport is an enemy of the Overlord.")
  14. end
  15. function ReadOn(Item, Player)
  16. conversation = CreateConversation()
  17. if not HasQuest(Player, quest) then
  18. OfferQuest(nil, Player, quest)
  19. end
  20. AddConversationOption(conversation, "Save the bounty.", "CloseItemConversation")
  21. StartDialogConversation(conversation, 2, Item, Player, "Those who reap illegal gains upon the crossroads of the Overlord's territories will suffer the penalty of death. A bounty will be rewarded to those who can present twenty dervish sashes. - Captain Vrondell, Freeport Militia, Borderland Brigade ''For Freeport and Realm''")
  22. end