TanuaDorlin.lua 1.2 KB

123456789101112131415161718192021222324252627282930
  1. --[[
  2. Script Name : SpawnScripts/QeynosHarbor/TanuaDorlin.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.04.16 12:04:34
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function respawn(NPC)
  11. spawn(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. RandomGreeting(NPC, Spawn)
  15. end
  16. function RandomGreeting(NPC, Spawn)
  17. local choice = MakeRandomInt(1,3)
  18. if choice == 1 then
  19. 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, 0)
  20. elseif choice == 2 then
  21. 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, 0)
  22. elseif choice == 3 then
  23. 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, 0)
  24. end
  25. end