IanCathlan.lua 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. --[[
  2. Script Name : SpawnScripts/QeynosHarbor/IanCathlan.lua
  3. Script Author : Zcoretri
  4. Script Date : 2017.06.02 05:06:14
  5. Script Purpose :
  6. :
  7. --]]
  8. function hailed(NPC, Spawn)
  9. FaceTarget(NPC, Spawn)
  10. local conversation = CreateConversation()
  11. AddConversationOption(conversation, "I was just being friendly. Good day to you.")
  12. AddConversationOption(conversation, "You wouldn't happen to know where I can get some good armor, would you?", "Option1")
  13. StartConversation(conversation, NPC, Spawn, "An' hail ta ye as well. Can ol' Ian help ya with somethin', or are ya just bein' friendly?")
  14. end
  15. function Option1(NPC, Spawn)
  16. FaceTarget(NPC, Spawn)
  17. local conversation = CreateConversation()
  18. AddConversationOption(conversation, "Maybe ... what do you want me to do?", "Option2")
  19. StartConversation(conversation, NPC, Spawn, "I might tell ya, if you help me out. In return, I'll give you some old armor that I can have refitted for you.")
  20. end
  21. function Option2(NPC, Spawn)
  22. FaceTarget(NPC, Spawn)
  23. local conversation = CreateConversation()
  24. AddConversationOption(conversation, "I can help you look. Where should I start?", "Option3")
  25. StartConversation(conversation, NPC, Spawn, "My family has a history of losing things. I was hoping you could help me look for a few items; some are very sentimental.")
  26. end
  27. function Option3(NPC, Spawn)
  28. FaceTarget(NPC, Spawn)
  29. local conversation = CreateConversation()
  30. AddConversationOption(conversation, "I'll return if I find anything.")
  31. StartConversation(conversation, NPC, Spawn, "I've a list of places where I may have misplaced a few things. Check the area to see if you can find anything. ")
  32. end