BoatswainFomas.lua 1.0 KB

12345678910111213141516171819202122232425262728
  1. --[[
  2. Script Name : SpawnScripts/SouthFreeport/BoatswainFomas.lua
  3. Script Purpose : Boatswain Fomas
  4. Script Author : Dorbin
  5. Script Date : 2022.05.04
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  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,2)
  18. if choice == 1 then
  19. PlayFlavor(NPC, "voiceover/english/boatswain_fomas/fprt_west/100_soc_kerra_seafury_fomas_goodbye_88fcfb69.mp3", "You have done a fine job. The officers have taken notice, and no longer consider you a bilge rat. Speak to Marauder Kindolus when you have a moment. He's upstairs. You'll be reporting to him from now on. Smooth sailing, friend. You're one of us now!", "", 1411838584, 2227083440, Spawn, 0)
  20. elseif choice == 2 then
  21. PlayFlavor(NPC, "", "What are you looking at? This ship is for pirates and cutthroats; lily-livered landlubbers aren't allowed in here!", "", 0, 0, Spawn, 0)
  22. end
  23. end