ElspethAstley.lua 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. --[[
  2. Script Name : SpawnScripts/QeynosCapitolDistrict/ElspethAstley.lua
  3. Script Purpose : Elspeth Astley
  4. Script Author : Shatou
  5. Script Date : 2020.01.06
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function respawn(NPC)
  9. spawn(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. conversation = CreateConversation()
  14. PlayFlavor(NPC, "voiceover/english/elspeth_astley/qey_south/elspethastley000.mp3", "", "", 280090355, 624466296, Spawn)
  15. AddConversationOption(conversation, "I have some alabaster you might be interested in.", "dlg_0_1")
  16. AddConversationOption(conversation, "Thanks for the information.")
  17. StartConversation(conversation, NPC, Spawn, "The winds of time change many things. One thing remains the same, the might of the sorcerer.")
  18. end
  19. --[[ QUEST ALABASTER FOR THE MAGES (501) ]]--
  20. function dlg_0_1(NPC, Spawn)
  21. FaceTarget(NPC, Spawn)
  22. conversation = CreateConversation()
  23. AddConversationOption(conversation, "I've five blocks worth.", "dlg_0_2")
  24. StartConversation(conversation, NPC, Spawn, "Interesting ... how much are you selling? We can always use more alabaster to make wands.")
  25. end
  26. function dlg_0_2(NPC, Spawn)
  27. FaceTarget(NPC, Spawn)
  28. conversation = CreateConversation()
  29. AddConversationOption(conversation, "Thank you.")
  30. StartConversation(conversation, NPC, Spawn, "Perfect. I'll buy all of it.")
  31. end
  32. --[[ QUEST END]]--