HelmsmanNyles.lua 682 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/HelmsmanNyles.lua
  3. Script Author : Zcoretri
  4. Script Date : 2015.07.27
  5. Script Purpose : Helmsman Nyles dialog
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function respawn(NPC)
  11. spawn(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. choice = math.random(1,3)
  15. if choice == 1 then
  16. PlayFlavor(NPC, "", "Land! I see land!", "", 1689589577, 4560189, Spawn)
  17. elseif choice == 2 then
  18. Say(NPC, "Ale salts! We're havin' rudder storm!")
  19. elseif choice == 3 then
  20. PlayFlavor(NPC, "", "Crazy! What are you talking about?", "", 1689589577, 4560189, Spawn)
  21. end
  22. end