9
3

GenericWeaponsmithVoiceOvers.lua 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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, 2)
  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. --Part of Smithy Findlebop in Baubbleshire
  62. -- elseif choice == 2 then
  63. -- 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)
  64. -- elseif choice == 3 then
  65. -- 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)
  66. elseif choice == 2 then
  67. 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)
  68. end
  69. elseif gender == FEMALE then
  70. end
  71. elseif race == HALF_ELF then
  72. if gender == MALE then
  73. elseif gender == FEMALE then
  74. local choice = math.random(1, 2)
  75. if choice == 1 then
  76. 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)
  77. elseif choice == 2 then
  78. 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)
  79. end
  80. end
  81. elseif race == HALFLING then
  82. if gender == MALE then
  83. elseif gender == FEMALE then
  84. end
  85. elseif race == HIGH_ELF then
  86. if gender == MALE then
  87. elseif gender == FEMALE then
  88. end
  89. elseif race == HUMAN then
  90. if gender == MALE then
  91. elseif gender == FEMALE then
  92. end
  93. elseif race == IKSAR then
  94. if gender == MALE then
  95. elseif gender == FEMALE then
  96. end
  97. elseif race == KERRA then
  98. if gender == MALE then
  99. elseif gender == FEMALE then
  100. end
  101. elseif race == OGRE then
  102. if gender == MALE then
  103. elseif gender == FEMALE then
  104. end
  105. elseif race == RATONGA then
  106. if gender == MALE then
  107. elseif gender == FEMALE then
  108. end
  109. elseif race == TROLL then
  110. if gender == MALE then
  111. elseif gender == FEMALE then
  112. end
  113. elseif race == WOOD_ELF then
  114. if gender == MALE then
  115. elseif gender == FEMALE then
  116. end
  117. elseif race == FAE then
  118. if gender == MALE then
  119. elseif gender == FEMALE then
  120. end
  121. elseif race == ARASAI then
  122. if gender == MALE then
  123. elseif gender == FEMALE then
  124. end
  125. elseif race == SARNAK then
  126. if gender == MALE then
  127. elseif gender == FEMALE then
  128. end
  129. end
  130. end
  131. end
  132. end