SamwellBrighton.lua 994 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : SpawnScripts/QeynosHarbor/SamwellBrighton.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.10 12:06:17
  5. Script Purpose : Fabricated, yet relevant to 'The Leaky Drake' survivor story.
  6. :
  7. --]]
  8. function spawn(NPC)
  9. SetInfoStructString(NPC, "action_state", "drinking_idle")
  10. end
  11. function hailed(NPC, Spawn)
  12. local Choice = MakeRandomInt(1,3)
  13. if Choice == 1 then
  14. PlayFlavor(NPC,"","Please, leave me to my drink. I'm trying to wash away these visions... my crew mates, dashed out to sea. Gone.","",0,0,Spawn)
  15. elseif Choice == 2 then
  16. PlayFlavor(NPC,"","Can't you see I'm drink'n?! To the lost crew of the Leaky Drake. May she rest in the deeps.","",0,0,Spawn)
  17. elseif Choice == 3 then
  18. PlayFlavor(NPC,"","Our ship had seen many voyages for the Far Seas Trading company, but Captain James... the crew... gone.","",0,0,Spawn)
  19. end
  20. end
  21. function respawn(NPC)
  22. spawn(NPC)
  23. end