JojoKaranja.lua 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. --[[
  2. Script Name : SpawnScripts/Freeport/JojoKaranja.lua
  3. Script Author : Premierio015
  4. Script Date : 2020.07.12 04:07:44
  5. Script Purpose :
  6. :
  7. --]]
  8. local TheLoverbirdsRoost = 449
  9. function spawn(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. if GetQuestStep(Spawn, TheLoverbirdsRoost) ~= 1 then
  14. PlayFlavor(NPC, "", "Greetings, friend... Come sit awhile if you are weary from travel.", "", 1689589577, 4560189, Spawn)
  15. elseif GetQuestStep(Spawn, TheLoverbirdsRoost) == 1 then
  16. local conversation = CreateConversation()
  17. AddConversationOption(conversation, "Ferink sent me to talk with you. He thinks that somehow you can help his mother get over Amoora being... well... a Kerran.", "Option1")
  18. StartConversation(conversation, NPC, Spawn, "May the sun shine upon you. What can Jojo do for you today?")
  19. end
  20. end
  21. function Option1(NPC, Spawn)
  22. FaceTarget(NPC, Spawn)
  23. local conversation = CreateConversation()
  24. AddConversationOption(conversation, "Yes, she will have nothing to do with Amoora.", "Option2")
  25. StartConversation(conversation, NPC, Spawn, "Ahh, Ferink. Riki, I do believe, is his lovely mother. Yes, yes. Nothing is more forgiving and pure than young love. It seems that Riki has forgotten that.")
  26. end
  27. function Option2(NPC, Spawn)
  28. FaceTarget(NPC, Spawn)
  29. local conversation = CreateConversation()
  30. AddConversationOption(conversation, "Yes?", "Option3")
  31. StartConversation(conversation, NPC, Spawn, "It seems I recall a time long ago when Riki's family was having trouble with the local orc savages. They were on the brink of moving when a traveler came to stay and do some work on their homestead.")
  32. end
  33. function Option3(NPC, Spawn)
  34. FaceTarget(NPC, Spawn)
  35. local conversation = CreateConversation()
  36. AddConversationOption(conversation, "That's a great story, Jojo, but what does it have to do with Ferink's problem?", "Option4")
  37. StartConversation(conversation, NPC, Spawn, "Well, as it turns out, this kind fellow not only worked hard in their fields, but helped them fight back the orc scourge and rebuild some of their homes afterward.")
  38. end
  39. function Option4(NPC, Spawn)
  40. SetStepComplete(Spawn, TheLoverbirdsRoost, 1)
  41. FaceTarget(NPC, Spawn)
  42. local conversation = CreateConversation()
  43. AddConversationOption(conversation, "I will do that. Thank you, Jojo.")
  44. StartConversation(conversation, NPC, Spawn, "Well, you see, as it turns out this kind fellow was also a kind feline. As Kerran as they come. It appears that Riki has forgotten that all people cannot be judged on the actions of few. Here, give her this necklace and ask her to remember Duia. That may help you, child.")
  45. end
  46. function respawn(NPC)
  47. end