9
3

BankerGaviusHerenus.lua 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. --[[
  2. Script Name : SpawnScripts/TheCityofFreeport/BankerGaviusHerenus.lua
  3. Script Purpose : Banker Gavius Herenus <Banker>
  4. Script Author : neatz09
  5. Script Date : 2019.01.01
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function InRange(NPC, Spawn)
  15. end
  16. function LeaveRange(NPC, Spawn)
  17. end
  18. function hailed(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. local choice = math.random(1,5)
  21. if choice == 1 then
  22. PlayFlavor(NPC, "voiceover/english/darkelf_eco_evil_1/ft/service/banker/darkelf_banker_service_evil_1_hail_gf_d245cb35.mp3", "Ouch, that's your balance? ", "wince", 1211967882, 2876252538, Spawn)
  23. elseif choice == 2 then
  24. PlayFlavor(NPC, "voiceover/english/darkelf_eco_evil_1/ft/service/banker/darkelf_banker_service_evil_1_hail_gf_e3751bcf.mp3", "I'm sorry. I could tell you right now you don't qualify for any of our credit programs.", "glare", 429119796, 2847044301, Spawn)
  25. elseif choice == 3 then
  26. PlayFlavor(NPC, "voiceover/english/darkelf_eco_evil_1/ft/service/banker/darkelf_banker_service_evil_1_aoi_gf_aa2b6243.mp3", "Come on people move the line! We don't have all day here! Time is coin!", "frustrated", 1211146494, 2974036325, Spawn)
  27. elseif choice == 4 then
  28. PlayFlavor(NPC, "voiceover/english/darkelf_eco_evil_1/ft/service/banker/darkelf_banker_service_evil_1_hail_gf_4038e3ba.mp3", "No beggars and no solicitors. If you don't have business to conduct then stand aside!", "heckno", 2007370095, 1974891427, Spawn)
  29. elseif choice == 5 then
  30. PlayFlavor(NPC, "voiceover/english/darkelf_eco_evil_1/ft/service/banker/darkelf_banker_service_evil_1_hail_gf_f8940e54.mp3", "Well, you might qualify for one of our low income account rates. I'll double check and see.", "stinky", 207715982, 3677225232, Spawn)
  31. else
  32. end
  33. end