9
3

BorderlandBountyForBloodskullWarriors.lua 1.5 KB

12345678910111213141516171819202122232425262728
  1. --[[
  2. Script Name : ItemScripts/BorderlandBountyForBloodskullWarriors.lua
  3. Script Purpose : Offers quest "Bloodskull Orc Bounty"
  4. Script Author : premierio015
  5. Script Date : 27.02.2021
  6. Script Notes :
  7. --]]
  8. local quest = 5218 -- Bloodskull Orc Bounty quest ID
  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 Bloodskull orcs from our outlying lands. It is your duty as a citizen of Freeport to stop them before they infest our land. Take down their clan before they organize against all Norrathians.")
  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, "The Overlord calls upon all Norrathians to do their part! A bounty has been placed on the heads of these vile beasts. Any person brave enough to fell a Bloodskull orc shall collect and present these earrings. Presenting these earrings to the Freeport Militia will prove your strength and allegiance. - - Captain Vrondell, Freeport Militia, Borderland Brigade ''For Freeport and Realm'' ")
  22. end