NikolasMacCraifft.lua 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/NikolasMacCraifft.lua
  3. Script Purpose : Nikolas MacCraifft <The White Raven>
  4. Script Author : Ememjr
  5. Script Date : 2022.02.05
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function InRange(NPC, Spawn)
  15. end
  16. function LeaveRange(NPC, Spawn)
  17. end
  18. function hailed(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. conversation = CreateConversation()
  21. PlayFlavor(NPC, "nickolas_maccraifft/tradeskill/live_quests/nickolas_maccraifft_001.mp3", "", "", 3541919882, 975982906, Spawn)
  22. AddConversationOption(conversation, "I've been asked to deliver this letter to you, from the Ironforge Exchange. They wish to offer their support and aid, and that of their allies.", "dlg_3_1")
  23. StartConversation(conversation, NPC, Spawn, "Hail to you, also. May I help you with something?")
  24. end
  25. function dlg_3_1(NPC, Spawn)
  26. FaceTarget(NPC, Spawn)
  27. conversation = CreateConversation()
  28. PlayFlavor(NPC, "nickolas_maccraifft/tradeskill/live_quests/nickolas_maccraifft_002.mp3", "", "", 3549928069, 1273662086, Spawn)
  29. AddConversationOption(conversation, "I will do that.", "dlg_3_2")
  30. StartConversation(conversation, NPC, Spawn, "Ah, this is good news indeed, and much appreciated. Founding a new city is hard work indeed, especially when unexpected problems keep arising. Please return with my thanks and say we would welcome their assistance.")
  31. end