9
3

BarkChiselchin.lua 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/BarkChiselchin.lua
  3. Script Purpose : Bark Chiselchin <Defense Trainer>
  4. Script Author : John Adams
  5. Script Date : 2009.03.01
  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_2_1004.mp3", "", "", 0, 0, Spawn)
  22. AddConversationOption(conversation, "Excuse me?", "dlg_27_1")
  23. AddConversationOption(conversation, "I don't need to speak with you.")
  24. StartConversation(conversation, NPC, Spawn, "Your form needs improvement! Keep your back straight!")
  25. end
  26. function dlg_27_1(NPC, Spawn)
  27. FaceTarget(NPC, Spawn)
  28. conversation = CreateConversation()
  29. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  30. AddConversationOption(conversation, "Should I know anything more?", "dlg_27_2")
  31. StartConversation(conversation, NPC, Spawn, "It's all in the posture. Always be ready, that's the path to self-defense! You have to be ready to sway like the wind, to flow like water and to bite like an angry fly. That's the art of self-defense!")
  32. end
  33. function dlg_27_2(NPC, Spawn)
  34. FaceTarget(NPC, Spawn)
  35. conversation = CreateConversation()
  36. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  37. AddConversationOption(conversation, "Got it.", "dlg_27_3")
  38. StartConversation(conversation, NPC, Spawn, "You should learn all your life, kid. Otherwise, life isn't worth living. That's the whole truth of self-defense. You want to last longer than your opponent. Self-defense isn't something that can be taught, but it can be learned. Got it?")
  39. end
  40. function dlg_27_3(NPC, Spawn)
  41. FaceTarget(NPC, Spawn)
  42. conversation = CreateConversation()
  43. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  44. AddConversationOption(conversation, "Will do.", "dlg_27_4")
  45. StartConversation(conversation, NPC, Spawn, "If you're ever jumped again, it's your own fault. Keep your shoulders back, your ears clean and your head high. Now off with you! Back to Lady Katri, I've business to attend to.")
  46. end