EloncaNusback.lua 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/EloncaNusback.lua
  3. Script Purpose : Elonca Nusback <Liberation Squad>
  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, "elonca_nusback/_exp03/exp03_rgn_greater_faydark/elonca_nusback/elonca001.mp3", "", "", 1353203304, 503876671, Spawn)
  22. AddConversationOption(conversation, "Sorry. What are you doing here?", "dlg_1_1")
  23. AddConversationOption(conversation, "I'll leave you alone.")
  24. StartConversation(conversation, NPC, Spawn, "Don't give away our position! We've got some serious work to do 'ere!")
  25. end
  26. function dlg_1_1(NPC, Spawn)
  27. FaceTarget(NPC, Spawn)
  28. conversation = CreateConversation()
  29. PlayFlavor(NPC, "elonca_nusback/_exp03/exp03_rgn_greater_faydark/elonca_nusback/elonca002.mp3", "", "", 981351697, 2920342348, Spawn)
  30. AddConversationOption(conversation, "That sounds like a lot of work for just a handful of you.", "dlg_1_2")
  31. AddConversationOption(conversation, "I'll leave you to it.")
  32. StartConversation(conversation, NPC, Spawn, "We are liberators! Those nasty Crushbone orcs 'ave taken some of our kin hostage, and we aim to free 'em!")
  33. end
  34. function dlg_1_2(NPC, Spawn)
  35. FaceTarget(NPC, Spawn)
  36. conversation = CreateConversation()
  37. PlayFlavor(NPC, "elonca_nusback/_exp03/exp03_rgn_greater_faydark/elonca_nusback/elonca003.mp3", "", "", 2424859748, 3864182443, Spawn)
  38. AddConversationOption(conversation, "How could I help you?", "dlg_1_3")
  39. AddConversationOption(conversation, "No thanks, shorty.")
  40. StartConversation(conversation, NPC, Spawn, "Aye, we 'ave our work cut out fer us. Say, someone like you would be a great 'elp in our fight against the orcs!")
  41. end
  42. function dlg_1_3(NPC, Spawn)
  43. FaceTarget(NPC, Spawn)
  44. conversation = CreateConversation()
  45. PlayFlavor(NPC, "elonca_nusback/_exp03/exp03_rgn_greater_faydark/elonca_nusback/elonca004.mp3", "", "", 3150714366, 582904965, Spawn)
  46. AddConversationOption(conversation, "What kind of trophies?", "dlg_1_4")
  47. AddConversationOption(conversation, "Not interested.")
  48. StartConversation(conversation, NPC, Spawn, "In order to rescue our kin, we need the orcs demoralized. If you take trophies from their finest warriors, that will 'elp us wear 'em down!")
  49. end
  50. function dlg_1_4(NPC, Spawn)
  51. FaceTarget(NPC, Spawn)
  52. conversation = CreateConversation()
  53. PlayFlavor(NPC, "elonca_nusback/_exp03/exp03_rgn_greater_faydark/elonca_nusback/elonca005.mp3", "", "", 3498749910, 2147058017, Spawn)
  54. AddConversationOption(conversation, "I'll do it.", "dlg_1_5")
  55. AddConversationOption(conversation, "Not my problem really.")
  56. StartConversation(conversation, NPC, Spawn, "Their centurions are always prancin' about with their fancy belts. If you collected a good number of 'em, that would show that they ain't so tough!")
  57. end