CatherineBowne.lua 823 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/CatherineBowne.lua
  3. Script Purpose : Catherine Bowne <Banker>
  4. Script Author : theFoof
  5. Script Date : 2013.09.26
  6. Script Notes :
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 15, "ProxCheer")
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. FaceTarget(NPC, Spawn)
  16. local choice = math.random(1,3)
  17. if choice == 1 then
  18. PlayFlavor(NPC, "", "Bank accounts are like weapons. You must maintain them, lest they erode!", "smile", 1689589577, 4560189, Spawn)
  19. elseif choice == 2 then
  20. PlayFlavor(NPC, "", "Your coin will be safe in the Frigid Strongbox, New Halas' official bank.", "hello", 0, 0, Spawn)
  21. elseif choice == 3 then
  22. PlayFlavor(NPC, "", "Where did I put my abacus?", "hello", 0, 0, Spawn)
  23. end
  24. end