9
3

BarthMignus.lua 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/BarthMignus.lua
  3. Script Author : Zcoretri
  4. Script Date : 2015.07.30
  5. Script Purpose : Barth Mignus dialog
  6. Modified Date : 2020.04.09
  7. Modified by : premierio015
  8. Notes : Added all dialogues, now uses correct VoiceOvers.
  9. --]]
  10. function spawn (NPC)
  11. hailed(NPC, Spawn)
  12. end
  13. function respawn (NPC)
  14. spawn(NPC)
  15. end
  16. function hailed(NPC, Spawn)
  17. FaceTarget(NPC, Spawn)
  18. math.randomseed(os.time())
  19. voice = math.random (1, 3)
  20. str = tostring(voice)
  21. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_"..voice.."_1062.mp3", "", "", 0, 0, Spawn)
  22. text = math.random(1,3)
  23. if text == 1 then
  24. Say(NPC, "Aah! Once it hit the lips... I've been waiting for an ale all day.")
  25. elseif text == 2 then
  26. Say(NPC, "I hear Murrar Shar is on the island.")
  27. else
  28. Say(NPC, "Ya need to be careful not to fall off into the bay. Not becasue of the sharks, but because ale and seawater don't mix.")
  29. end
  30. end