9
3

GenericBartenderVoiceOvers.lua 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. --[[
  2. cript Name : SpawnScripts/Generic/GenericBartenderVoiceOvers.lua
  3. Script Purpose : Handles the generic hails for bartenders.
  4. Script Author : Scatman
  5. Script Date : 2009.10.03
  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 GenericBartenderHail(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. local choice = math.random(1, 3)
  54. if choice == 1 then
  55. PlayFlavor(NPC, "voiceover/english/froglok_eco_good_1/ft/service/bartender/froglok_bartender_service_good_1_hail_gf_41d55b0d.mp3", "The best part about this job is all the extra coin I get.", "", 2888286231, 967545209, Spawn)
  56. elseif choice == 2 then
  57. PlayFlavor(NPC, "voiceover/english/froglok_eco_good_1/ft/service/bartender/froglok_bartender_service_good_1_hail_gf_ce1f039f.mp3", "Might I interest you in some meat and cheese to go with that tall glass of ale?", "", 2337190060, 175840912, Spawn)
  58. elseif choice == 3 then
  59. PlayFlavor(NPC, "voiceover/english/froglok_eco_good_1/ft/service/bartender/froglok_bartender_service_good_1_hail_gf_ce733912.mp3", "I bet you have some stories, eh? Adventuring must be an exciting life!", "", 1840731743, 2065794369, Spawn)
  60. end
  61. end
  62. elseif race == GNOME then
  63. if gender == MALE then
  64. elseif gender == FEMALE then
  65. end
  66. elseif race == HALF_ELF then
  67. if gender == MALE then
  68. elseif gender == FEMALE then
  69. end
  70. elseif race == HALFLING then
  71. if gender == MALE then
  72. elseif gender == FEMALE then
  73. end
  74. elseif race == HIGH_ELF then
  75. if gender == MALE then
  76. elseif gender == FEMALE then
  77. end
  78. elseif race == HUMAN then
  79. if gender == MALE then
  80. elseif gender == FEMALE then
  81. end
  82. elseif race == IKSAR then
  83. if gender == MALE then
  84. elseif gender == FEMALE then
  85. end
  86. elseif race == KERRA then
  87. if gender == MALE then
  88. elseif gender == FEMALE then
  89. end
  90. elseif race == OGRE then
  91. if gender == MALE then
  92. elseif gender == FEMALE then
  93. end
  94. elseif race == RATONGA then
  95. if gender == MALE then
  96. elseif gender == FEMALE then
  97. end
  98. elseif race == TROLL then
  99. if gender == MALE then
  100. elseif gender == FEMALE then
  101. end
  102. elseif race == WOOD_ELF then
  103. if gender == MALE then
  104. elseif gender == FEMALE then
  105. end
  106. elseif race == FAE then
  107. if gender == MALE then
  108. elseif gender == FEMALE then
  109. end
  110. elseif race == ARASAI then
  111. if gender == MALE then
  112. elseif gender == FEMALE then
  113. end
  114. elseif race == SARNAK then
  115. if gender == MALE then
  116. elseif gender == FEMALE then
  117. end
  118. end
  119. end
  120. end
  121. end