GenericAlchemistVoiceOvers.lua 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. --[[
  2. Script Name : SpawnScripts/Generic/GenericAlchemistVoiceOvers.lua
  3. Script Purpose : Handles the generic hails for alchemists.
  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 GenericAlchemistHail(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. end
  58. elseif race == HALF_ELF then
  59. if gender == MALE then
  60. elseif gender == FEMALE then
  61. local choice = math.random(1, 3)
  62. if choice == 1 then
  63. PlayFlavor(NPC, "voiceover/english/halfelf_eco_good_1/ft/service/alchemist/halfelf_alchemist_service_good_1_hail_gf_59de96bd.mp3", "What happened to the highly explosive bottle that was on my desk? Have you seen it?", "ponder", 4015034016, 224119583, Spawn)
  64. elseif choice == 2 then
  65. PlayFlavor(NPC, "voiceover/english/halfelf_eco_good_1/ft/service/alchemist/halfelf_alchemist_service_good_1_hail_gf_a8ed74c7.mp3", "There are no refunds for caster error at this shop! Oh ... hello you're not here about a refund.", "no", 71962485, 2424906469, Spawn)
  66. elseif choice == 3 then
  67. PlayFlavor(NPC, "voiceover/english/halfelf_eco_good_1/ft/service/alchemist/halfelf_alchemist_service_good_1_hail_gf_efd903ba.mp3", "Hello, adventurer! Are you looking for a specific potion or ingredient?", "agree", 2677405750, 4053615600, Spawn)
  68. end
  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. local choice = math.random(1, 3)
  78. if choice == 1 then
  79. PlayFlavor(NPC, "voiceover/english/highelf_eco_good_1/ft/service/alchemist/highelf_alchemist_service_good_1_hail_gf_59de96bd.mp3", "What happened to the highly explosive bottle that was on my desk? Have you seen it?", "ponder", 276977866, 1430125901, Spawn)
  80. elseif choice == 2 then
  81. PlayFlavor(NPC, "voiceover/english/highelf_eco_good_1/ft/service/alchemist/highelf_alchemist_service_good_1_hail_gf_ec533e4c.mp3", "Are you wounded? I just made up a fresh batch of healing potions an hour ago.", "happy", 1236281408, 177476380, Spawn)
  82. elseif choice == 3 then
  83. PlayFlavor(NPC, "voiceover/english/highelf_eco_good_1/ft/service/alchemist/highelf_alchemist_service_good_1_hail_gf_efd903ba.mp3", "Hello, adventurer! Are you looking for a specific potion or ingredient?", "agree", 150025546, 682148839, Spawn)
  84. end
  85. end
  86. elseif race == HUMAN then
  87. if gender == MALE then
  88. elseif gender == FEMALE then
  89. end
  90. elseif race == IKSAR then
  91. if gender == MALE then
  92. elseif gender == FEMALE then
  93. end
  94. elseif race == KERRA then
  95. if gender == MALE then
  96. elseif gender == FEMALE then
  97. end
  98. elseif race == OGRE then
  99. if gender == MALE then
  100. elseif gender == FEMALE then
  101. end
  102. elseif race == RATONGA then
  103. if gender == MALE then
  104. elseif gender == FEMALE then
  105. end
  106. elseif race == TROLL then
  107. if gender == MALE then
  108. elseif gender == FEMALE then
  109. end
  110. elseif race == WOOD_ELF then
  111. if gender == MALE then
  112. elseif gender == FEMALE then
  113. end
  114. elseif race == FAE then
  115. if gender == MALE then
  116. elseif gender == FEMALE then
  117. end
  118. elseif race == ARASAI then
  119. if gender == MALE then
  120. elseif gender == FEMALE then
  121. end
  122. elseif race == SARNAK then
  123. if gender == MALE then
  124. elseif gender == FEMALE then
  125. end
  126. end
  127. end
  128. end
  129. end