Vim.lua 892 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/Vim.lua
  3. Script Author : Zcoretri
  4. Script Date : 2015.07.27
  5. Script Purpose : Vim 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. choice = math.random(1,3)
  16. if choice == 1 then
  17. PlayFlavor(NPC, "voiceover/english/merchant_vim/boat_06p_tutorial02/020_merchant_vim_hail_187fc6bb.mp3", "I am busy right now...", "no", 1835666244, 487490745, Spawn)
  18. elseif choice == 2 then
  19. PlayFlavor(NPC, "voiceover/english/merchant_vim/boat_06p_tutorial02/020_merchant_vim_hail_481beac8.mp3", "I love traveling the seas... Oh! Did you need something?", "sniff", 2187888771, 2112320089, Spawn)
  20. else
  21. Say(NPC, "The Far Journey is a beautiful ship, aint she?")
  22. end
  23. end