GenericBakerVoiceOvers.lua 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. --[[
  2. Script Name : SpawnScripts/Generic/GenericBakerVoiceOvers.lua
  3. Script Purpose : Handles the generic hails for bakers.
  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 GenericBakerHail(NPC, Spawn)
  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. end
  62. elseif race == HALFLING then
  63. if gender == MALE then
  64. elseif gender == FEMALE then
  65. local choice = math.random(1, 4)
  66. if choice == 1 then
  67. PlayFlavor(NPC, "voiceover/english/halfling_eco_good_1/ft/service/baker/halfling_baker_service_good_1_hail_gf_1e9a743c.mp3", "Please mind the plates, they're very hot.", "scold", 1075794847, 2019936086, Spawn)
  68. elseif choice == 2 then
  69. PlayFlavor(NPC, "voiceover/english/halfling_eco_good_1/ft/service/baker/halfling_baker_service_good_1_hail_gf_3d1ca473.mp3", "Tell me, do you prefer Halfling or Elven cuisine? I myself have a hard time deciding between the two.", "confused", 1646021457, 4149179615, Spawn)
  70. elseif choice == 3 then
  71. PlayFlavor(NPC, "voiceover/english/halfling_eco_good_1/ft/service/baker/halfling_baker_service_good_1_hail_gf_9db280de.mp3", "I love the smell of fresh bread in the oven!", "sigh", 1048257184, 2248522628, Spawn)
  72. elseif choice == 4 then
  73. PlayFlavor(NPC, "voiceover/english/halfling_eco_good_1/ft/service/baker/halfling_baker_service_good_1_hail_gf_cca9cdef.mp3", "Welcome friend, welcome. I hope you brought your appetite with you!", "wink", 22116398, 594684199, Spawn)
  74. end
  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