ChuggleValvesplitter.lua 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. --[[
  2. Script Name : SpawnScripts/TempleStreetOld/ChuggleValvesplitter.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.06.29 09:06:14
  5. Script Purpose :
  6. Script Notes : full dialogue is missing
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. local ChugglesToolbox = 483
  10. function spawn(NPC)
  11. end
  12. function hailed(NPC, Spawn)
  13. Dialog.New(NPC, Spawn)
  14. Dialog.AddDialog("Sorry, sorry. What is it? I can't really help out much since those local 858 union members stole my blasted toolbox!")
  15. Dialog.AddVoiceover("voiceover/english/chuggle_valvesplitter/fprt_hood03/hail_chuggle000.mp3", 986790684, 3595790226)
  16. if GetQuestStep(Spawn,ChugglesToolbox) ==6 then
  17. Dialog.AddOption("I have your toolbox and tools right here. Let's talk reward.", "Dialog2")
  18. end
  19. Dialog.AddOption("I'll leave you to your depression. ")
  20. Dialog.Start()
  21. end
  22. function Dialog2(NPC, Spawn)
  23. FaceTarget(NPC, Spawn)
  24. Dialog.New(NPC, Spawn)
  25. Dialog.AddDialog("Thank you! Thank you! Thank you! Yes! Yes! Yes! A reward! Tell you what I'll do. I need these tools to make my newest invention. I'll make an invention for you and give it to you as a reward! This piece of equipment will be all the rage! Functional and stylish if I do say so myself!")
  26. PlayFlavor(NPC,"","","","happy",0,0,Spawn)
  27. Dialog.AddVoiceover("voiceover/english/chuggle_valvesplitter/fprt_hood03/hail_chuggle001.mp3", 3252705361, 2081071070)
  28. Dialog.AddOption("That'll do, I suppose.","complete")
  29. Dialog.Start()
  30. end
  31. function complete(NPC, Spawn)
  32. PlayFlavor(NPC,"","","","thanks",0,0,Spawn)
  33. SetStepComplete(Spawn, ChugglesToolbox, 6)
  34. end
  35. function respawn(NPC)
  36. spawn(NPC)
  37. end