GhaunatarTrearn.lua 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. --[[
  2. Script Name : SpawnScripts/Darklight/GhaunatarTrearn.lua
  3. Script Purpose : Ghaunatar Trearn
  4. Script Author : John Adams
  5. Script Date : 2009.01.31
  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, "voiceover/english/voice_emotes/greetings/greetings_3_1008.mp3", "", "", 0, 0, Spawn)
  22. AddConversationOption(conversation, "I am XXXXXXXXX.", "dlg_0_1")
  23. StartConversation(conversation, NPC, Spawn, "For the balance. I am Ghaunatar Trearn, in Thelia's service.")
  24. end
  25. function dlg_0_1(NPC, Spawn)
  26. FaceTarget(NPC, Spawn)
  27. conversation = CreateConversation()
  28. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  29. AddConversationOption(conversation, "What work?", "dlg_0_2")
  30. StartConversation(conversation, NPC, Spawn, "It is good that you arrive here, .. GetName(Spawn) .. . There is work to be done and many of our druids are far away.")
  31. end
  32. function dlg_0_2(NPC, Spawn)
  33. FaceTarget(NPC, Spawn)
  34. conversation = CreateConversation()
  35. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  36. AddConversationOption(conversation, "I am willing.", "dlg_0_3")
  37. AddConversationOption(conversation, "Not right now.")
  38. StartConversation(conversation, NPC, Spawn, "Work for the Darklight Wood, we are her keepers. For instance, the kodiak population has grown very large over the past few months. Though I am working diligently to discover the reason for this, their numbers are affecting the wood even now, and they must be culled. And so we need the services of those such as yourself. Are you willing?")
  39. end