TulaMawh.lua 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. --[[
  2. Script Name : SpawnScripts/SerpentSewer/TulaMawh.lua
  3. Script Author : premierio015
  4. Script Date : 2020.06.16 01:06:27
  5. Script Purpose :
  6. :
  7. --]]
  8. local BackAndForth = 569
  9. function spawn(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. if HasQuest(BackAndForth) and GetQuestStep(Spawn, BackAndForth, 3) then
  13. FaceTarget(NPC, Spawn)
  14. conversation = CreateConversation()
  15. PlayFlavor(NPC, "voiceover/english/merchant_tula_mawh/fprt_sewer02/quests/merchant_tula_mawh/tula_mawh001.mp3", "", "", 2702922602, 4074191300, Spawn)
  16. AddConversationOption(conversation, "He said you'd show me to the Serpent's Lair.", "dlg_01")
  17. StartConversation(conversation, NPC, Spawn, "Well, hello there. What's this? A letter from Cicero! How sweet! The little wretch. Now what is it you want?")
  18. elseif not HasQuest(Spawn, BackAndForth) then
  19. FaceTarget(NPC, Spawn)
  20. conversation = CreateConversation()
  21. PlayFlavor(NPC, "voiceover/english/merchant_tula_mawh/fprt_sewer02/quests/merchant_tula_mawh/tula_mawh003.mp3", "", "", 496378623, 3961033663, Spawn)
  22. AddConversationOption(conversation, "Perhaps.")
  23. StartConversation(conversation, NPC, Spawn, "Trudging deep in the filth eh? Might you be interested in some of my wares?")
  24. end
  25. end
  26. function dlg_01(NPC, Spawn)
  27. FaceTarget(NPC, Spawn)
  28. conversation = CreateConversation()
  29. SetStepComplete(Spawn, BackAndForth, 3)
  30. PlayFlavor(NPC, "voiceover/english/merchant_tula_mawh/fprt_sewer02/quests/merchant_tula_mawh/tula_mawh002.mp3", "", "", 3461442776, 342480721, Spawn)
  31. AddConversationOption(conversation, "I'll be on my way.")
  32. StartConversation(conversation, NPC, Spawn, "You're daft from the fumes down here, you are. This is a letter of affection, you twit. What's this talk of Serpents and Lairs? Go on now! Either buy something or be on your way.")
  33. end
  34. function respawn(NPC)
  35. end