AssistantDreak.lua 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. --[[
  2. Script Name : SpawnScripts/IsleRefuge1/AssistantDreak.lua
  3. Script Author : Ememjr
  4. Script Date : 2022.03.27 09:03:56
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function hailed(NPC, Player)
  11. Say(Player, "this was a hail")
  12. conversation = CreateConversation()
  13. PlayFlavor(NPC,"voiceover/english/assistant_dreak/tutorial_island02/assistant_dreak001.mp3","","",2907679285,3779656812, Player)
  14. AddConversationOption(conversation,"Why, what happened to the workshop?","WhatHappened")
  15. StartConversation(conversation, NPC, Player,"Oh, hello there. Welcome to the mage tower. If you're looking for masters Mizan or Malvonicus, they can both be found upstairs. If you've come to use the workshop ... well, I'm afraid you're out of luck for the time being.")
  16. end
  17. function WhatHappened(NPC, Player)
  18. conversation = CreateConversation()
  19. PlayFlavor(NPC,"voiceover/english/assistant_dreak/tutorial_island02/assistant_dreak002.mp3","","",402125016,2910805792, Player)
  20. AddConversationOption(conversation,"What's this workshop for anyways?","ItsMyFault")
  21. StartConversation(conversation, NPC, Player,"It's all my fault, really. I could've sworn I wrote down the directions for that alacrity potion correctly. I mean, honestly, who could've expected such a spectacular explosion? Now the lab's a mess, and no one can use the workshop. I can't even clean it up now, because I'm supposed to be welcoming the refugees.")
  22. end
  23. function ItsMyFault(NPC, Player)
  24. conversation = CreateConversation()
  25. PlayFlavor(NPC,"voiceover/english/assistant_dreak/tutorial_island02/assistant_dreak003.mp3","","",1218168009,4084296157, Player)
  26. AddConversationOption(conversation,"All right, it's a deal.","ForCrafting")
  27. StartConversation(conversation, NPC, Player,"For crafting, of course! With the right recipes and materials, you can make just about anything you want down there, from metal working to brewing. Say... if you're interested in learning more about crafting yourself, I'd be willing to make you a deal. I'll give you free, unlimited access to the workshop, if you'd be willing to clean up the place. What do you say?")
  28. end
  29. function ForCrafting(NPC, Player)
  30. conversation = CreateConversation()
  31. PlayFlavor(NPC,"voiceover/english/assistant_dreak/tutorial_island02/assistant_dreak004.mp3","","",246435936,3107615538, Player)
  32. AddConversationOption(conversation,"Very well then.","Wonderful")
  33. StartConversation(conversation, NPC, Player,"Wonderful! Here's a list of instructions on what needs to be done down there. Just go through the cellar door here, and you should find everything you need. Just come back and see me once you've got everything straightened out. Oh, and thanks again!")
  34. end
  35. function respawn(NPC)
  36. spawn(NPC)
  37. end