GenericScribeVoiceOvers.lua 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. --[[
  2. Script Name : SpawnScripts/Generic/GenericScribeVoiceOvers.lua
  3. Script Purpose : Handles the generic hails for scribes.
  4. Script Author : Scatman
  5. Script Date : 2009.09.27
  6. Script Notes :
  7. --]]
  8. local BARBARIAN = 0
  9. local DARK_ELF = 1
  10. local DWARF = 2
  11. local ERUDITE = 3
  12. local FROGLOK = 4
  13. local GNOME = 5
  14. local HALF_ELF = 6
  15. local HALFLING = 7
  16. local HIGH_ELF = 8
  17. local HUMAN = 9
  18. local IKSAR = 10
  19. local KERRA = 11
  20. local OGRE = 12
  21. local RATONGA = 13
  22. local TROLL = 14
  23. local WOOD_ELF = 15
  24. local FAE = 16
  25. local ARASAI = 17
  26. local SARNAK = 18
  27. local MALE = 1
  28. local FEMALE = 2
  29. function GenericScribeHail(NPC, Spawn, Faction)
  30. if NPC ~= nil then
  31. local race = GetRace(NPC)
  32. local gender = GetGender(NPC)
  33. if race >= 0 and race <= 18 and gender >= 1 and gender <= 2 then
  34. if race == BARBARIAN then
  35. if gender == MALE then
  36. elseif gender == FEMALE then
  37. end
  38. elseif race == DARK_ELF then
  39. if gender == MALE then
  40. elseif gender == FEMALE then
  41. end
  42. elseif race == DWARF then
  43. if gender == MALE then
  44. elseif gender == FEMALE then
  45. end
  46. elseif race == ERUDITE then
  47. if gender == MALE then
  48. elseif gender == FEMALE then
  49. end
  50. elseif race == FROGLOK then
  51. if gender == MALE then
  52. elseif gender == FEMALE then
  53. end
  54. elseif race == GNOME then
  55. if gender == MALE then
  56. elseif gender == FEMALE then
  57. local choice = math.random(1, 4)
  58. if choice == 1 then
  59. PlayFlavor(NPC, "voiceover/english/gnome_eco_good_1/ft/service/scribe/gnome_scribe_service_good_1_hail_gf_efd8a52b.mp3", "Ah, a student of the arcane. Is there something I can help you find?", "ponder", 241135821, 1371778900, Spawn)
  60. elseif choice == 2 then
  61. PlayFlavor(NPC, "voiceover/english/gnome_eco_good_1/ft/service/scribe/gnome_scribe_service_good_1_hail_gf_58ed77b2.mp3", "All right where is my pen? How am I supposed to scribe anything without my pen?", "tapfoot", 513035073, 2771699263, Spawn)
  62. elseif choice == 3 then
  63. PlayFlavor(NPC, "voiceover/english/gnome_eco_good_1/ft/service/scribe/gnome_scribe_service_good_1_hail_gf_cbc94cb6.mp3", "Blast it! Who keeps taking all of the parchment? ", "swear", 1429173278, 1014473963, Spawn)
  64. elseif choice == 4 then
  65. PlayFlavor(NPC, "voiceover/english/gnome_eco_good_1/ft/service/scribe/gnome_scribe_service_good_1_hail_gf_392a4f4e.mp3", "Be careful, it's best not to read the scrolls. If you want to know what they are, just ask me.", "nod", 3255267278, 1071089122, Spawn)
  66. end
  67. end
  68. elseif race == HALF_ELF then
  69. if gender == MALE then
  70. elseif gender == FEMALE then
  71. end
  72. elseif race == HALFLING then
  73. if gender == MALE then
  74. elseif gender == FEMALE then
  75. end
  76. elseif race == HIGH_ELF then
  77. if gender == MALE then
  78. elseif gender == FEMALE then
  79. end
  80. elseif race == HUMAN then
  81. if gender == MALE then
  82. elseif gender == FEMALE then
  83. end
  84. elseif race == IKSAR then
  85. if gender == MALE then
  86. elseif gender == FEMALE then
  87. end
  88. elseif race == KERRA then
  89. if gender == MALE then
  90. elseif gender == FEMALE then
  91. end
  92. elseif race == OGRE then
  93. if gender == MALE then
  94. elseif gender == FEMALE then
  95. end
  96. elseif race == RATONGA then
  97. if gender == MALE then
  98. elseif gender == FEMALE then
  99. end
  100. elseif race == TROLL then
  101. if gender == MALE then
  102. elseif gender == FEMALE then
  103. end
  104. elseif race == WOOD_ELF then
  105. if gender == MALE then
  106. elseif gender == FEMALE then
  107. end
  108. elseif race == FAE then
  109. if gender == MALE then
  110. elseif gender == FEMALE then
  111. end
  112. elseif race == ARASAI then
  113. if gender == MALE then
  114. elseif gender == FEMALE then
  115. end
  116. elseif race == SARNAK then
  117. if gender == MALE then
  118. elseif gender == FEMALE then
  119. end
  120. end
  121. end
  122. end
  123. end