TabletofDraconicRunes.lua 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. --[[
  2. Script Name : ItemScripts/TabletofDraconicRunes.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.01 07:06:48
  5. Script Purpose :
  6. :
  7. --]]
  8. local Drag = 5577
  9. function examined(Item, Player)
  10. conversation = CreateConversation()
  11. if HasQuest(Player, Drag) then
  12. AddConversationOption(conversation, "Study the runes.", "Study")
  13. end
  14. AddConversationOption(conversation, "Put the tablet away.","CloseItemConversation")
  15. StartDialogConversation(conversation, 2, Item, Player, "This tablet is inscribed with all the runes of the Draconic language.")
  16. end
  17. function Study(Item,Player)
  18. QuestStepIsComplete(Player,Drag,3)
  19. QuestStepIsComplete(Player,Drag,4)
  20. QuestStepIsComplete(Player,Drag,5)
  21. QuestStepIsComplete(Player,Drag,6)
  22. QuestStepIsComplete(Player,Drag,7)
  23. QuestStepIsComplete(Player,Drag,8)
  24. QuestStepIsComplete(Player,Drag,9)
  25. QuestStepIsComplete(Player,Drag,10)
  26. QuestStepIsComplete(Player,Drag,11)
  27. QuestStepIsComplete(Player,Drag,12)
  28. QuestStepIsComplete(Player,Drag,13)
  29. QuestStepIsComplete(Player,Drag,14)
  30. QuestStepIsComplete(Player,Drag,15)
  31. QuestStepIsComplete(Player,Drag,16)
  32. QuestStepIsComplete(Player,Drag,17)
  33. QuestStepIsComplete(Player,Drag,18)
  34. QuestStepIsComplete(Player,Drag,19)
  35. QuestStepIsComplete(Player,Drag,20)
  36. QuestStepIsComplete(Player,Drag,21)
  37. QuestStepIsComplete(Player,Drag,22)
  38. QuestStepIsComplete(Player,Drag,23)
  39. QuestStepIsComplete(Player,Drag,24)
  40. QuestStepIsComplete(Player,Drag,25)
  41. QuestStepIsComplete(Player,Drag,26)
  42. QuestStepIsComplete(Player,Drag,27)
  43. QuestStepIsComplete(Player,Drag,28)
  44. end