9
3

TrainerTleclukalSkyZin.lua 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. --[[
  2. Script Name : SpawnScripts/TimorousDeep/TrainerTleclukalSkyZin.lua
  3. Script Purpose : Trainer Tleclukal Sky'Zin <Knowledge of Banking>
  4. Script Author : John Adams
  5. Script Date : 2009.03.04
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  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. conversation = CreateConversation()
  16. choice = math.random(1, 3)
  17. if choice == 1 then
  18. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1003.mp3", "", "beckon", 0, 0, Spawn)
  19. elseif choice == 2 then
  20. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1003.mp3", "", "beckon", 0, 0, Spawn)
  21. elseif choice == 3 then
  22. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1003.mp3", "", "beckon", 0, 0, Spawn)
  23. end
  24. AddConversationOption(conversation, "Tell me about banking.", "dlg_22_4")
  25. AddConversationOption(conversation, "I'll return for training later.")
  26. StartConversation(conversation, NPC, Spawn, "I can explain the finer points of banking if you like. Would you care to hear about it?")
  27. end
  28. function dlg_22_4(NPC, Spawn)
  29. FaceTarget(NPC, Spawn)
  30. conversation = CreateConversation()
  31. AddConversationOption(conversation, "How do I open my bank?", "dlg_22_5")
  32. StartConversation(conversation, NPC, Spawn, "You may already have an account set up. Speak with my associate to access your account. You can access your bank account from allied cities as well.")
  33. end
  34. function dlg_22_5(NPC, Spawn)
  35. FaceTarget(NPC, Spawn)
  36. conversation = CreateConversation()
  37. AddConversationOption(conversation, "How do I make deposits and withdrawals?", "dlg_22_6")
  38. AddConversationOption(conversation, "I'll return for training later.")
  39. StartConversation(conversation, NPC, Spawn, "Your mouse pointer will turn into a dial icon when hovered over a banker. Just click on the banker to open your bank window. You'll see twelve general slots and eight 'shared' slots. You can put bags or containers in your bank to increase the number of available slots.")
  40. end
  41. function dlg_22_6(NPC, Spawn)
  42. FaceTarget(NPC, Spawn)
  43. conversation = CreateConversation()
  44. AddConversationOption(conversation, "What are \"shared\" bank slots?", "dlg_22_7")
  45. StartConversation(conversation, NPC, Spawn, "Coins and items can be dragged from your inventory to the bank window. To drag one item from a stack, hold down the Ctrl key as you drag it. To drag a certain number of coins or items, hold down the Shift key and drag, then enter the quantity.")
  46. end
  47. function dlg_22_7(NPC, Spawn)
  48. FaceTarget(NPC, Spawn)
  49. conversation = CreateConversation()
  50. AddConversationOption(conversation, "Any other banking facts I should know?", "dlg_22_8")
  51. StartConversation(conversation, NPC, Spawn, "Items (but not coin) placed in your shared slots can be accessed by other characters on your account that are of the same alignment. Lore and No-Trade items cannot be put into the shared slots.")
  52. end
  53. function dlg_22_8(NPC, Spawn)
  54. FaceTarget(NPC, Spawn)
  55. conversation = CreateConversation()
  56. AddConversationOption(conversation, "Thank you.")
  57. StartConversation(conversation, NPC, Spawn, "If you choose to join a guild made up of your fellow players one day, you can access your guild bank by right-clicking on a banker and selecting 'Guild Bank.'")
  58. end