JanusFieri.lua 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. --[[
  2. Script Name : SpawnScripts/Commonlands/JanusFieri.lua
  3. Script Author : torsten
  4. Script Date : 2021.05.24 09:05:26
  5. Script Purpose :
  6. :
  7. --]]
  8. local DeliverHelptoJanusFieri = 5660
  9. function spawn(NPC)
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. FaceTarget(NPC, Spawn)
  16. local conversation = CreateConversation()
  17. if GetQuestStep(Spawn, DeliverHelptoJanusFieri) == 1 then
  18. SetStepComplete(Spawn, DeliverHelptoJanusFieri, 1)
  19. end
  20. if GetQuestStep(Spawn, DeliverHelptoJanusFieri) == 3 then
  21. SetStepComplete(Spawn, DeliverHelptoJanusFieri, 3)
  22. end
  23. if GetQuestStep(Spawn, DeliverHelptoJanusFieri) == 5 then
  24. SetStepComplete(Spawn, DeliverHelptoJanusFieri, 5)
  25. end
  26. AddConversationOption(conversation, "That's good to know. See you around!")
  27. StartConversation(conversation, NPC, Spawn, "Greetings. Janus Fieri, at your service.")
  28. PlayFlavor(NPC, "voiceover/english/janus_fieri/commonlands/quests/janusfieri/janusfieri001.mp3", "", "hail", 2406224045, 2387293986, Spawn)
  29. end