9
3

NebbleUnderroot.lua 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/NebbleUnderroot.lua
  3. Script Author : Zcoretri, premierio015(Update)
  4. Script Date : 2015.07.27
  5. Script Purpose : Nebble Unfderroot dialog
  6. Modified Date : 2020.04.03
  7. Modified by : premierio015
  8. Modified Notes : Added correct VoiceOvers and animation
  9. --]]
  10. function spawn(NPC)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. FaceTarget(NPC, Spawn)
  17. math.randomseed(os.time())
  18. choice = math.random(1,4)
  19. if choice == 1 then
  20. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1040.mp3", "Mmm, triggerfish pie! I can smell it now.", "fishing_reel_in ", 0, 0, Spawn)
  21. elseif choice == 2 then
  22. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1040.mp3", "Shark fin soup! Maybe I'll get lucky.", "fishing_reel_in ", 0, 0, Spawn)
  23. elseif choice == 3 then
  24. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1040.mp3", "Shark fin soup! Maybe I'll get lucky.", "fishing_reel_in", 0, 0, Spawn)
  25. else
  26. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1040.mp3", "Mmm, triggerfish pie! I can smell it now.", "fishing_reel_in", 0, 0, Spawn)
  27. end
  28. end