Nemain.lua 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. --[[
  2. Script Name : SpawnScripts/Darklight/Nemain.lua
  3. Script Purpose : Nemain
  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_1_1021.mp3", "", "", 0, 0, Spawn)
  22. AddConversationOption(conversation, "Balance?", "dlg_1_1")
  23. StartConversation(conversation, NPC, Spawn, "You dwell within the Shadow Oak, under the direction of Thelia N'Fyre. We watch over the Darklight Wood and seek to keep balance.")
  24. end
  25. function dlg_1_1(NPC, Spawn)
  26. FaceTarget(NPC, Spawn)
  27. conversation = CreateConversation()
  28. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  29. AddConversationOption(conversation, "What kind of problems do you find?", "dlg_1_2")
  30. StartConversation(conversation, NPC, Spawn, "Balance. Small perversions grow to upset the natural order of things, we excise these perversions. We spend our time searching the woods for problems.")
  31. end
  32. function dlg_1_2(NPC, Spawn)
  33. FaceTarget(NPC, Spawn)
  34. conversation = CreateConversation()
  35. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  36. AddConversationOption(conversation, "I could help investigate.", "dlg_1_3")
  37. StartConversation(conversation, NPC, Spawn, "Only recently we've found the adolescent snarlers from the wolf dens to the east are moving out much farther than usual. As such, we will be investigating this as soon as we get time.")
  38. end
  39. function dlg_1_3(NPC, Spawn)
  40. FaceTarget(NPC, Spawn)
  41. conversation = CreateConversation()
  42. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  43. AddConversationOption(conversation, "All right, I can get them.", "dlg_1_4")
  44. AddConversationOption(conversation, "I am not ready to do this.")
  45. StartConversation(conversation, NPC, Spawn, "You look able. If you wish to help we will not stop you. I have three requests of you, in this case. Travel northwest of Wanderlust Fair near the wolf dens, where the adolescent snarlers are now out prowling. While there, release the searcher wisp that I'll give you. It will observe the wolves and their environment in an attempt to discover unnatural phenomena. Second and third, I'd like the body of one of the adolescent wolves as well as the body of one of the deer that are also in that area.")
  46. end