TrainerZidgetSprogrudder.lua 5.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/TrainerZidgetSprogrudder.lua
  3. Script Author : Zcoretri
  4. Script Date : 2015.07.30
  5. Script Purpose : Trainer Zidget Sprogrudder dialog
  6. Modified Date : 2020.04.03
  7. Modified by : premierio015
  8. Notes : Added animations
  9. --]]
  10. function spawn(NPC)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. --[[ raw_conversations
  16. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1005.mp3", "", "", 0, 0)
  17. --]]
  18. function hailed(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. conversation = CreateConversation()
  21. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/trainer_zidget_sprogrudder/tutorial_island02_revamp/trainers/mending_banking/zidget_sprogrudder001.mp3", "", "beckon", 3939010463, 2059400102, Spawn)
  22. AddConversationOption(conversation, "Tell me about banking.", "dlg_15_1")
  23. AddConversationOption(conversation, "Tell me about mending items.", "dlg_15_6")
  24. AddConversationOption(conversation, "I'll return for training later.")
  25. StartConversation(conversation, NPC, Spawn, "I can tell you all about mending and banking! Banking and mending! Which do you want to hear about?")
  26. end
  27. function dlg_15_1(NPC, Spawn)
  28. FaceTarget(NPC, Spawn)
  29. conversation = CreateConversation()
  30. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/trainer_zidget_sprogrudder/tutorial_island02_revamp/trainers/mending_banking/zidget_sprogrudder002.mp3", "", "nod", 2569144953, 681435280, Spawn)
  31. AddConversationOption(conversation, "How do I open my bank?", "dlg_15_2")
  32. StartConversation(conversation, NPC, Spawn, "You already have an account with the Qeynos Exchange, and luckily for you, we have a branch right here in the colony. Go see Banker Bogfoot to access your account. Additional branches can be found in your home village when you reach the city, as well as other parts of Qeynos. You cannot access your bank from Freeport.")
  33. end
  34. function dlg_15_2(NPC, Spawn)
  35. FaceTarget(NPC, Spawn)
  36. conversation = CreateConversation()
  37. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/trainer_zidget_sprogrudder/tutorial_island02_revamp/trainers/mending_banking/zidget_sprogrudder003.mp3", "", "", 1818090205, 3165962311, Spawn)
  38. AddConversationOption(conversation, "How do I make deposits and withdrawals?", "dlg_15_3")
  39. AddConversationOption(conversation, "I'll return for training later.")
  40. StartConversation(conversation, NPC, Spawn, "Inside the bank, 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.")
  41. end
  42. function dlg_15_3(NPC, Spawn)
  43. FaceTarget(NPC, Spawn)
  44. conversation = CreateConversation()
  45. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/trainer_zidget_sprogrudder/tutorial_island02_revamp/trainers/mending_banking/zidget_sprogrudder004.mp3", "", "agree", 22498702, 4161666959, Spawn)
  46. AddConversationOption(conversation, "What are 'shared' bank slots?", "dlg_15_4")
  47. 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.")
  48. end
  49. function dlg_15_4(NPC, Spawn)
  50. FaceTarget(NPC, Spawn)
  51. conversation = CreateConversation()
  52. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/trainer_zidget_sprogrudder/tutorial_island02_revamp/trainers/mending_banking/zidget_sprogrudder005.mp3", "", "", 1857727319, 1420810063, Spawn)
  53. AddConversationOption(conversation, "Any other banking facts I should know?", "dlg_15_5")
  54. StartConversation(conversation, NPC, Spawn, "Items (but not coins) placed in your shared slots can be accessed by other characters on your account that are also citizens of Qeynos. Lore and No-Trade items cannot be put into the shared slots. Characters that are Freeport citizens cannot access a Qeynos bank.")
  55. end
  56. function dlg_15_5(NPC, Spawn)
  57. FaceTarget(NPC, Spawn)
  58. conversation = CreateConversation()
  59. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/trainer_zidget_sprogrudder/tutorial_island02_revamp/trainers/mending_banking/zidget_sprogrudder006.mp3", "", "nod", 731970945, 2493990127, Spawn)
  60. AddConversationOption(conversation, "I want to learn about mending items.", "dlg_15_6")
  61. AddConversationOption(conversation, "I'll return for training later.")
  62. 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.'")
  63. end
  64. function dlg_15_6(NPC, Spawn)
  65. FaceTarget(NPC, Spawn)
  66. conversation = CreateConversation()
  67. PlayFlavor(NPC, "", "", "nod", 0, 0)
  68. AddConversationOption(conversation, "Tell me about banking.", "dlg_15_1")
  69. AddConversationOption(conversation, "I'll return for training later.")
  70. StartConversation(conversation, NPC, Spawn, "Your weapons and armor wear down when you die during combat. When they are down to zero durability, you no longer receive any benefit from them. You can visit a mender, such as Mender Mannus at the colony forge, to get them repaired . Speak to Trainer Cheye Seawind if you wish to learn more about the effects of death.")
  71. end