Orudormo.lua 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --[[
  2. Script Name : SpawnScripts/Starcrest/Orudormo.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.02.24 04:02:50
  5. Script Purpose :
  6. :
  7. --]]
  8. local Deposit = 5490
  9. function spawn(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. conversation = CreateConversation()
  14. if GetQuestStep(Spawn, Deposit)==2 then
  15. AddConversationOption(conversation, "I'm here to make a deposit for Grekin.", "Deposit1")
  16. end
  17. AddConversationOption(conversation, "That is good to know.")
  18. PlayFlavor(NPC, "voiceover/english/banker_orudormo/qey_village02/bankerorudormo.mp3","","agree",3443069835,648383583,Spawn)
  19. StartConversation(conversation, NPC, Spawn, "Don't worry about the safety of your assets. We meticulously manage our accounts and currancy.")
  20. end
  21. function Deposit1(NPC, Spawn)
  22. conversation = CreateConversation()
  23. AddConversationOption(conversation, "I need the recpit. Thank you.", "Deposit2")
  24. PlayFlavor(NPC, "voiceover/english/banker_orudormo/qey_village02/bankerorudormo000.mp3","","thank",3783803084,3333586894,Spawn)
  25. StartConversation(conversation, NPC, Spawn, "I thought he'd make the deposit, but I suppose it doesn't matter who does it as long as it gets to the bank. Do you need anything else?")
  26. end
  27. function Deposit2(NPC, Spawn)
  28. SetStepComplete(Spawn, Deposit, 1)
  29. end
  30. function respawn(NPC)
  31. spawn(NPC)
  32. end