9
3

widgetevilquesttunarianplot.lua 894 B

123456789101112131415161718192021222324252627282930
  1. --[[
  2. Script Name : SpawnScripts/OutpostOverlord/widgetevilquesttunarianplot.lua
  3. Script Author : Premierio015
  4. Script Date : 2020.05.19 05:05:02
  5. Script Purpose :
  6. :
  7. --]]
  8. local TheTunarianPlot = 491
  9. function spawn(NPC)
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function casted_on(NPC, Spawn, Message)
  15. if GetQuestStep(Spawn, TheTunarianPlot) == 7 and not HasCompletedQuest(Spawn, TheTunarianPlot) then
  16. if Message == "Destroy parchment" then
  17. local con = CreateConversation()
  18. SetStepComplete(Spawn, TheTunarianPlot, 7)
  19. AddConversationOption(con, "Walk away.")
  20. StartDialogConversation(con, 1, NPC, Spawn, "You toss the parchment scraps into the flames. Their edges curl, blacken and finally turn to ashes.")
  21. SetStepComplete(Spawn, TheTunarianPlot, 7)
  22. end
  23. end
  24. end