BarthMignus.lua 1.1 KB

1234567891011121314151617181920212223242526272829303132
  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. choice = math.random (1, 3)
  20. str = tostring(choice)
  21. if choice == 1 then
  22. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1062.mp3", "Aah! Once it hit the lips... i've been waiting for an ale all day.", "", 0, 0, Spawn)
  23. elseif choice == 2 then
  24. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1062.mp3", "I hear Murrar Shar is on the island.", "", 0, 0, Spawn)
  25. else
  26. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1062.mp3", "You need to be careful not to fall off into the bay. Not becasue of the sharks, but because ale and seawater don't mix.", "", 0, 0, Spawn)
  27. end
  28. end