9
3

GalanCrestrider.lua 856 B

123456789101112131415161718192021222324252627282930313233
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/GalanCrestrider.lua
  3. Script Author : Zcoretri
  4. Script Date : 2015.07.30
  5. Script Purpose : Galan Crestrider dialog
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function respawn(NPC)
  11. spawn(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. math.randomseed(os.time())
  16. voice = math.random (1,3)
  17. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_"..voice.."_1050.mp3", "", "", 0, 0, Spawn)
  18. text = math.random(1,3)
  19. if text == 1 then
  20. Say(NPC, "If you can trade it, we can buy it.")
  21. elseif text == 2 then
  22. Say(NPC, "Welcome to Crestrider's Trading Post.")
  23. else
  24. Say(NPC, "Got any goods for sale from your adventures?")
  25. end
  26. end