WorthlessBronzeStatuette.lua 1.8 KB

12345678910111213141516171819202122232425262728293031323334
  1. --[[
  2. Script Name : ItemScripts/WorthlessBronzeStatuette.lua
  3. Script Purpose : <purpose>
  4. Script Author : Jabantiz
  5. Script Date : 6/15/2018
  6. Script Notes : <special-instructions>
  7. --]]
  8. -- Quest ID's
  9. local INFORMATION_MERCHANTS = 318
  10. function examined(Item, Player)
  11. if HasQuest(Player, INFORMATION_MERCHANTS) and GetQuestStep(Player, INFORMATION_MERCHANTS) == 2 then
  12. local con = CreateConversation()
  13. AddConversationOption(con, "Attempt to separate the halves.", "SeperateHalves")
  14. StartDialogConversation(con, 2, Item, Player, "The statuette is dull and scratched. Any sheen it may have had is presently gone. There is a barely visible seam encircling the waist of the statuette as if the upper and lower halves were originally separate.")
  15. end
  16. end
  17. function SeperateHalves(Item, Player)
  18. local con = CreateConversation()
  19. AddConversationOption(con, "Read the note.", "ReadNote")
  20. StartDialogConversation(con, 2, Item, Player, "With only a minor twist the two halves come apart. The statuette is hollow on the inside and within rests a note.")
  21. end
  22. function ReadNote(Item, Player)
  23. SetStepComplete(Player, INFORMATION_MERCHANTS, 2)
  24. local con = CreateConversation()
  25. AddConversationOption(con, "Put the note back in the statuette.", "CloseItemConversation")
  26. StartDialogConversation(con, 2, Item, Player, "The note reads:\n\nClient-\n\nWe encountered your gray before you mentioned him, so it wasn't hard finding him. Once we got your request we stuck someone to him. You were right, he had something to hide. Some sort of package or crate or something. He must've thought he was being followed because he dumped it in the water in South Qeynos. We don't know what was in it but it's probably three feet deep in the mud in the Peat Bog by now, if you want us to go after that it'll cost you.")
  27. end