RanduKvan.lua 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/RanduKvan.lua
  3. Script Purpose : Randu K'van <Freeport Emmisary>
  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, "randu_k_van/_exp03/exp03_rgn_greater_faydark/randu_kvan/randu_001.mp3", "", "", 961418872, 1648740410, Spawn)
  22. AddConversationOption(conversation, "And the sun should set on my shoulders.", "dlg_20_1")
  23. AddConversationOption(conversation, "Excuse me.")
  24. StartConversation(conversation, NPC, Spawn, "Even the bugs here are giant. Why must I endure this suffering, when I should be leading these blue orcs around pillaging the land?")
  25. end
  26. function dlg_20_1(NPC, Spawn)
  27. FaceTarget(NPC, Spawn)
  28. conversation = CreateConversation()
  29. PlayFlavor(NPC, "randu_k_van/_exp03/exp03_rgn_greater_faydark/randu_kvan/randu_002.mp3", "", "", 2731381489, 2263143427, Spawn)
  30. AddConversationOption(conversation, "Your story is amusing, maybe you should do something about it.", "dlg_20_2")
  31. StartConversation(conversation, NPC, Spawn, "You know at one time the orcs followed the rule of a Teir'Dal. But it seems in our years of absence they have forgotten who their true masters are.")
  32. end
  33. function dlg_20_2(NPC, Spawn)
  34. FaceTarget(NPC, Spawn)
  35. conversation = CreateConversation()
  36. PlayFlavor(NPC, "randu_k_van/_exp03/exp03_rgn_greater_faydark/randu_kvan/randu_003.mp3", "", "", 2679582233, 3793547301, Spawn)
  37. AddConversationOption(conversation, "Sure, I will see what I can find.", "dlg_20_3")
  38. AddConversationOption(conversation, "I don't feel like helping you today.")
  39. StartConversation(conversation, NPC, Spawn, "We must remedy this. Find out for me what they are up to. Having information is the key to success, so bring it to me. Any information you may find on them. Are you up to the task?")
  40. end
  41. function dlg_20_3(NPC, Spawn)
  42. FaceTarget(NPC, Spawn)
  43. conversation = CreateConversation()
  44. PlayFlavor(NPC, "randu_k_van/_exp03/exp03_rgn_greater_faydark/randu_kvan/randu_004.mp3", "", "", 4004780597, 2871106835, Spawn)
  45. AddConversationOption(conversation, "Why thank you.", "dlg_20_4")
  46. StartConversation(conversation, NPC, Spawn, "Tell me of their plans. If you happen to have to interrogate any Crushbone centurions, you have my blessing for using deadly force.")
  47. end