statuewidget.lua 851 B

1234567891011121314151617181920
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/statuewidget.lua
  3. Script Purpose : Offer the quest "Lasydia's Call" upon interaction with this widget
  4. Script Author : Jabantiz
  5. Script Date : 9/13/2016
  6. Script Notes :
  7. --]]
  8. local LasydiasCall = 186
  9. function casted_on(NPC, Spawn, Message)
  10. if Message == "Read Inscription" then
  11. if not HasQuest(Spawn, LasydiasCall) and not HasCompletedQuest(Spawn, LasydiasCall) then
  12. OfferQuest(NPC, Spawn, LasydiasCall)
  13. else
  14. AddConversationOption(con, "exit", "CloseConversation")
  15. StartDialogConversation(con, 1, NPC, Spawn, "\"Lasydia - as divinely merciful as she is beautiful. Deliverer of the drowned and caretaker of the castaway.\" A feeling of purpose surrounds and penetrates you. You feel a sudden desire to make the waters around you a safer place.")
  16. end
  17. end
  18. end