9
3

GenericWeaponsmithVoiceOvers.lua 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. --[[
  2. Script Name : SpawnScripts/Generic/GenericWeaponsmithVoiceOvers.lua
  3. Script Purpose : Handles the generic hails for weaponsmiths.
  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 GenericWeaponsmithHail(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. local file_option = math.random(1, 3)
  35. local file_race_gender = 0
  36. if race == BARBARIAN then
  37. if gender == MALE then
  38. elseif gender == FEMALE then
  39. end
  40. elseif race == DARK_ELF then
  41. if gender == MALE then
  42. elseif gender == FEMALE then
  43. end
  44. elseif race == DWARF then
  45. if gender == MALE then
  46. elseif gender == FEMALE then
  47. end
  48. elseif race == ERUDITE then
  49. if gender == MALE then
  50. elseif gender == FEMALE then
  51. end
  52. elseif race == FROGLOK then
  53. if gender == MALE then
  54. elseif gender == FEMALE then
  55. end
  56. elseif race == GNOME then
  57. if gender == MALE then
  58. local choice = math.random(1, 4)
  59. if choice == 1 then
  60. PlayFlavor(NPC, "voiceover/english/gnome_eco_good_1/ft/service/weaponsmith/gnome_weaponsmith_service_good_1_hail_gm_1248b278.mp3", "I just got a shipment in from the Far Sea's Trading Company. I don't just show anybody this stuff so, shhhh! ", "wink", 2730095756, 1896311415, Spawn)
  61. elseif choice == 2 then
  62. PlayFlavor(NPC, "voiceover/english/smithy_findlebop/qey_village06/100_smithy_findlebop_multhail1_aa73007b.mp3", "Now, if I can only figure out how the sprocket will fit in this device, I'll be set! Why are you interrupting my work? Can't you see I'm busy? Go away!", "", 3823811804, 70891212, Spawn)
  63. elseif choice == 3 then
  64. PlayFlavor(NPC, "voiceover/english/smithy_findlebop/qey_village06/100_smithy_findlebop_multhail2_5d0f29cb.mp3", "Now, if I can only figure out how the sprocket will fit in this device, I'll be set! Why are you interrupting my work? Can't you see I'm busy?", "", 446470782, 3454872230, Spawn)
  65. elseif choice == 4 then
  66. PlayFlavor(NPC, "voiceover/english/gnome_eco_good_1/ft/service/weaponsmith/gnome_weaponsmith_service_good_1_hail_gm_37dbcab8.mp3", "Welcome to my humble shop. We have quite a selection of weapons to choose from. See for yourself...", "salute", 1420367370, 281045768, Spawn)
  67. end
  68. elseif gender == FEMALE then
  69. end
  70. elseif race == HALF_ELF then
  71. if gender == MALE then
  72. elseif gender == FEMALE then
  73. local choice = math.random(1, 2)
  74. if choice == 1 then
  75. PlayFlavor(NPC, "voiceover/english/halfelf_eco_good_1/ft/service/weaponsmith/halfelf_weaponsmith_service_good_1_hail_gf_1248b278.mp3", "I just got a shipment in from the Far Sea's Trading Company. I don't just show anybody this stuff so, shhhh! ", "wink", 3358731085, 3359597024, Spawn)
  76. elseif choice == 2 then
  77. PlayFlavor(NPC, "voiceover/english/halfelf_eco_good_1/ft/service/weaponsmith/halfelf_weaponsmith_service_good_1_hail_gf_37dbcab8.mp3", "Welcome to my humble shop. We have quite a selection of weapons to choose from. See for yourself...", "salute", 1281347839, 1623005135, Spawn)
  78. end
  79. end
  80. elseif race == HALFLING then
  81. if gender == MALE then
  82. elseif gender == FEMALE then
  83. end
  84. elseif race == HIGH_ELF then
  85. if gender == MALE then
  86. elseif gender == FEMALE then
  87. end
  88. elseif race == HUMAN then
  89. if gender == MALE then
  90. elseif gender == FEMALE then
  91. end
  92. elseif race == IKSAR then
  93. if gender == MALE then
  94. elseif gender == FEMALE then
  95. end
  96. elseif race == KERRA then
  97. if gender == MALE then
  98. elseif gender == FEMALE then
  99. end
  100. elseif race == OGRE then
  101. if gender == MALE then
  102. elseif gender == FEMALE then
  103. end
  104. elseif race == RATONGA then
  105. if gender == MALE then
  106. elseif gender == FEMALE then
  107. end
  108. elseif race == TROLL then
  109. if gender == MALE then
  110. elseif gender == FEMALE then
  111. end
  112. elseif race == WOOD_ELF then
  113. if gender == MALE then
  114. elseif gender == FEMALE then
  115. end
  116. elseif race == FAE then
  117. if gender == MALE then
  118. elseif gender == FEMALE then
  119. end
  120. elseif race == ARASAI then
  121. if gender == MALE then
  122. elseif gender == FEMALE then
  123. end
  124. elseif race == SARNAK then
  125. if gender == MALE then
  126. elseif gender == FEMALE then
  127. end
  128. end
  129. end
  130. end
  131. end