9
3

gnollboat.lua 875 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : SpawnScripts/Antonica/gnollboat.lua
  3. Script Purpose : Support for quest Suspicious Activity from Tyllia Navar
  4. Script Author : Emagi
  5. Script Date : 5/14/2020
  6. Script Notes :
  7. --]]
  8. local QUEST_ID = 3000
  9. function spawn(NPC)
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function casted_on(NPC, Spawn, Message)
  15. if Message == "inspect" then
  16. local conversation = CreateConversation()
  17. AddConversationOption(conversation, "...")
  18. StartDialogConversation(conversation, 1, NPC, Spawn, "The boat is empty. Its hull is wet suggesting recent use. There are scratches and claw marks over the entirety of the boat. It has not been properly taken care of, but it looks like it would still float.")
  19. if HasQuest(Spawn, QUEST_ID) and not QuestStepIsComplete(Spawn, QUEST_ID, 3) then
  20. SetStepComplete(Spawn, QUEST_ID, 3)
  21. end
  22. end
  23. end