VargorntheHistorian.lua 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/VargorntheHistorian.lua
  3. Script Purpose : Vargorn the Historian
  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, "vargorn_the_historian/_exp03/exp03_rgn_greater_faydark/vargorn_the_historian/vargorn001.mp3", "", "", 308911171, 691504057, Spawn)
  22. AddConversationOption(conversation, "I'm not going to hit you. I didn't think orcs had scholars.", "dlg_3_1")
  23. AddConversationOption(conversation, "You're lucky I don't kill you, orc.")
  24. StartConversation(conversation, NPC, Spawn, "Do not hit! Vargorn is a scholar, not a fighter! Vargorn even speak your language, though not as good as he speak orc.")
  25. end
  26. function dlg_3_1(NPC, Spawn)
  27. FaceTarget(NPC, Spawn)
  28. conversation = CreateConversation()
  29. PlayFlavor(NPC, "vargorn_the_historian/_exp03/exp03_rgn_greater_faydark/vargorn_the_historian/vargorn002.mp3", "", "", 3408288477, 2844321717, Spawn)
  30. AddConversationOption(conversation, "What use is history to a people bent on conquest?", "dlg_3_2")
  31. AddConversationOption(conversation, "I'll leave you to your books.")
  32. StartConversation(conversation, NPC, Spawn, "Clan Crushbone far more advanced than other orcs! We know powerful magic and have rich history that go back centuries. Many Crushbone orcs great writers, even in your language!")
  33. end
  34. function dlg_3_2(NPC, Spawn)
  35. FaceTarget(NPC, Spawn)
  36. conversation = CreateConversation()
  37. PlayFlavor(NPC, "vargorn_the_historian/_exp03/exp03_rgn_greater_faydark/vargorn_the_historian/vargorn003.mp3", "", "", 4079716341, 594828245, Spawn)
  38. AddConversationOption(conversation, "What do you mean?", "dlg_3_3")
  39. AddConversationOption(conversation, "I don't have an interest in this.")
  40. StartConversation(conversation, NPC, Spawn, "Remembering history very important. Helps us not make same mistakes again. But sometimes being historian is hard work.")
  41. end
  42. function dlg_3_3(NPC, Spawn)
  43. FaceTarget(NPC, Spawn)
  44. conversation = CreateConversation()
  45. PlayFlavor(NPC, "vargorn_the_historian/_exp03/exp03_rgn_greater_faydark/vargorn_the_historian/vargorn004.mp3", "", "", 2082002835, 357817721, Spawn)
  46. AddConversationOption(conversation, "What kind of conflicts?", "dlg_3_4")
  47. AddConversationOption(conversation, "This doesn't have anything to do with me.")
  48. StartConversation(conversation, NPC, Spawn, "Clan Crushbone history very complex, not always easy to understand. Lately Vargorn find conflicting writings that not make sense to him.")
  49. end
  50. function dlg_3_4(NPC, Spawn)
  51. FaceTarget(NPC, Spawn)
  52. conversation = CreateConversation()
  53. PlayFlavor(NPC, "vargorn_the_historian/_exp03/exp03_rgn_greater_faydark/vargorn_the_historian/vargorn005.mp3", "", "", 3599587592, 3365249265, Spawn)
  54. AddConversationOption(conversation, "What sort of papers?", "dlg_3_5")
  55. AddConversationOption(conversation, "Speaking of going...")
  56. StartConversation(conversation, NPC, Spawn, "Vargorn... Vargorn better not say too much out loud. Historian who had job before Vargorn went missing after he uncover some lost papers written long ago. Vargorn not want to go missing too!")
  57. end
  58. function dlg_3_5(NPC, Spawn)
  59. FaceTarget(NPC, Spawn)
  60. conversation = CreateConversation()
  61. PlayFlavor(NPC, "vargorn_the_historian/_exp03/exp03_rgn_greater_faydark/vargorn_the_historian/vargorn006.mp3", "", "", 776831458, 368161193, Spawn)
  62. AddConversationOption(conversation, "I will go talk to him.", "dlg_3_6")
  63. AddConversationOption(conversation, "No thanks, run your own errands.")
  64. StartConversation(conversation, NPC, Spawn, "Vargorn just have a few scraps. They found by friend of mine, Gorreth. He work inside castle to keep it clean. It not safe for Vargorn to talk to Gorreth to see if he find any more. Maybe you do it for me?")
  65. end