9
3

DarkbladeVoiceOvers.lua 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/DarkbladeVoiceOvers.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.06.28 05:06:29
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function hailed(NPC, Spawn)
  11. FaceTarget(NPC, Spawn)
  12. end
  13. function respawn(NPC)
  14. spawn(NPC)
  15. end
  16. function generic_aggro(NPC, Spawn)
  17. if GetRace(NPC) == 13 then -- RATONGA
  18. if GetGender(NPC) == 1 then -- MALE
  19. if not HasLanguage(Spawn, 26) then
  20. local choice = MakeRandomInt(1, 3)
  21. if choice == 1 then
  22. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_darkblades/ft/ratonga/ratonga_darkblades_2_garbled_gm_5a81ec49.mp3", "Hekveten plava SU klina", "", 1436216743, 4000292051, Spawn, 26)
  23. elseif choice == 2 then
  24. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_darkblades/ft/ratonga/ratonga_darkblades_2_garbled_gm_bc265d9b.mp3", "EeeSIP qweek MEEerallow neep", "", 1043216447, 927355975, Spawn, 26)
  25. elseif choice == 3 then
  26. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_darkblades/ft/ratonga/ratonga_darkblades_1_garbled_gm_21432a6a.mp3", "TravaHAS merallund kBORrten illanya", "", 398320326, 463767069, Spawn, 26)
  27. elseif choice == 4 then
  28. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_darkblades/ft/ratonga/ratonga_darkblades_1_garbled_gm_5c77ba46.mp3", "Chee ava kirAH tay!", "", 234321071, 3429868311, Spawn, 26)
  29. end
  30. end
  31. end
  32. elseif GetRace(NPC) == 9 then -- HUMAN
  33. if GetGender(NPC) == 1 then -- MALE
  34. local choice = MakeRandomInt(1, 2)
  35. if choice == 1 then
  36. PlayFlavor(NPC, "voiceover/english/optional5/human_darkblades/ft/human/human_darkblades_1_aggro_gm_aa3f0f80.mp3", "You won't take me alive!", "", 1726452132, 35554511, Spawn)
  37. elseif choice == 2 then
  38. PlayFlavor(NPC, "voiceover/english/optional5/human_darkblades/ft/human/human_darkblades_1_aggro_gm_c87eb3d1.mp3", "No where to run, craven!", "", 866153605, 1587075536, Spawn)
  39. end
  40. end
  41. elseif GetRace(NPC) == 6 then -- HALF ELF
  42. if GetGender(NPC) == 1 then -- MALE
  43. if not HasLanguage(Spawn, 7) then
  44. local choice = MakeRandomInt(1, 3)
  45. if choice == 1 then
  46. PlayFlavor(NPC, "voiceover/english/halfelf_darkblades/ft/halfelf/halfelf_darkblades_1_garbled_gm_feb1d2e4.mp3", "Pohow arged yoop dern todica, arrrrrg!", "", 331071687, 3362858857, Spawn, 7)
  47. elseif choice == 2 then
  48. PlayFlavor(NPC, "voiceover/english/halfelf_darkblades/ft/halfelf/halfelf_darkblades_1_garbled_gm_84555678.mp3", "Thayank dav sien flanahay", "", 103136684, 2536939864, Spawn, 7)
  49. elseif choice == 3 then
  50. PlayFlavor(NPC, "voiceover/english/halfelf_darkblades/ft/halfelf/halfelf_darkblades_1_garbled_gm_8436f046.mp3", "Falada meirsyn kobalas nolvalen", "", 460639228, 2009227827, Spawn, 7)
  51. end
  52. end
  53. end
  54. end -- END OF RACIAL CHECK
  55. end -- END OF FUNCTION
  56. function generic_death(NPC, Spawn)
  57. if GetRace(NPC) == 9 then -- HUMAN
  58. if GetGender(NPC) == 1 then -- MALE
  59. local choice = MakeRandomInt(1, 2)
  60. if choice == 1 then
  61. PlayFlavor(NPC, "voiceover/english/optional5/human_darkblades/ft/human/human_darkblades_2_death_gm_497acee7.mp3", "That just improves my cut of the loot!", "", 951301608, 1423572233, Spawn)
  62. elseif choice == 2 then
  63. PlayFlavor(NPC, "voiceover/english/optional5/human_darkblades/ft/human/human_darkblades_1_death_gm_e7600f72.mp3", "Now who will pick the locks?!", "", 847571021, 1367196231, Spawn)
  64. end
  65. end
  66. elseif GetRace(NPC) == 13 then -- RATONGA
  67. if GetGender(NPC) == 1 then -- MALE
  68. if not HasLanguage(Spawn, 26) then
  69. local choice = MakeRandomInt(1, 3)
  70. if choice == 1 then
  71. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_darkblades/ft/ratonga/ratonga_darkblades_2_garbled_gm_5a81ec49.mp3", "Hekveten plava SU klina", "", 1436216743, 4000292051, Spawn, 26)
  72. elseif choice == 2 then
  73. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_darkblades/ft/ratonga/ratonga_darkblades_2_garbled_gm_bc265d9b.mp3", "EeeSIP qweek MEEerallow neep", "", 1043216447, 927355975, Spawn, 26)
  74. elseif choice == 3 then
  75. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_darkblades/ft/ratonga/ratonga_darkblades_1_garbled_gm_21432a6a.mp3", "TravaHAS merallund kBORrten illanya", "", 398320326, 463767069, Spawn, 26)
  76. elseif choice == 4 then
  77. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_darkblades/ft/ratonga/ratonga_darkblades_1_garbled_gm_5c77ba46.mp3", "Chee ava kirAH tay!", "", 234321071, 3429868311, Spawn, 26)
  78. end
  79. end
  80. end
  81. elseif GetRace(NPC) == 6 then -- HALF ELF
  82. if GetGender(NPC) == 1 then -- MALE
  83. if not HasLanguage(Spawn, 7) then
  84. local choice = MakeRandomInt(1, 3)
  85. if choice == 1 then
  86. PlayFlavor(NPC, "voiceover/english/halfelf_darkblades/ft/halfelf/halfelf_darkblades_1_garbled_gm_feb1d2e4.mp3", "Pohow arged yoop dern todica, arrrrrg!", "", 331071687, 3362858857, Spawn, 7)
  87. elseif choice == 2 then
  88. PlayFlavor(NPC, "voiceover/english/halfelf_darkblades/ft/halfelf/halfelf_darkblades_1_garbled_gm_84555678.mp3", "Thayank dav sien flanahay", "", 103136684, 2536939864, Spawn, 7)
  89. elseif choice == 3 then
  90. PlayFlavor(NPC, "voiceover/english/halfelf_darkblades/ft/halfelf/halfelf_darkblades_1_garbled_gm_8436f046.mp3", "Falada meirsyn kobalas nolvalen", "", 460639228, 2009227827, Spawn, 7)
  91. end
  92. end
  93. end
  94. end -- END OF RACIAL CHECK
  95. end -- END OF FUNCTION