BizrinnClamorclang.lua 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. --[[
  2. Script Name : SpawnScripts/Baubbleshire/BizrinnClamorclang.lua
  3. Script Purpose : Bizrinn Clamorclang
  4. Script Author : Scatman
  5. Script Date : 2009.09.27
  6. Script Notes : Updated Dialog Module - 2022.08.21 Dorbin
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. local PickUp = 5454
  10. function spawn(NPC)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. if GetFactionAmount(Spawn,11)<0 then
  17. PlayFlavor(NPC, "", "", "glare", 0, 0, Spawn)
  18. else
  19. Dialog1(NPC, Spawn)
  20. end
  21. end
  22. function Dialog1(NPC, Spawn)
  23. FaceTarget(NPC, Spawn)
  24. Dialog.New(NPC, Spawn)
  25. Dialog.AddDialog("Oh! Why hello there! I am so behind on tinker work that I am not taking anymore orders at the moment ... What is it you want?")
  26. Dialog.AddVoiceover("voiceover/english/bizrinn_clamorclang/qey_village06/bizrinnclamorclang.mp3", 3866517974, 2558850199)
  27. Dialog.AddOption("I actually have a recipt to pick up a device for Bupipa Guryup.","Device1")
  28. Dialog.AddOptionRequirement(REQ_QUEST_ON_STEP, PickUp , 1)
  29. Dialog.AddOption("Ah, that's too bad. I guess I'll get my thingamajig whatchamacalit made somewhere else")
  30. Dialog.Start()
  31. end
  32. function Device1(NPC, Spawn)
  33. FaceTarget(NPC, Spawn)
  34. Dialog.New(NPC, Spawn)
  35. Dialog.AddDialog("Oh! Yes! The froglok songstress! I have the Sonance Volume Amplificator ready for her!")
  36. Dialog.AddVoiceover("voiceover/english/bizrinn_clamorclang/qey_village06/bizrinnclamorclang000.mp3", 3140666983, 3243864545)
  37. PlayFlavor(NPC, "", "", "agree", 0, 0, Spawn)
  38. Dialog.AddOption("What does the device actually do?","umm")
  39. Dialog.Start()
  40. end
  41. function umm(NPC, Spawn)
  42. SetStepComplete(Spawn, PickUp, 1)
  43. FaceTarget(NPC, Spawn)
  44. Dialog.New(NPC, Spawn)
  45. Dialog.AddDialog("Why it makes her singing even LOUDER! We'll be able to hear her singing in the Baubbleshire! Isn't that great?!")
  46. Dialog.AddVoiceover("voiceover/english/bizrinn_clamorclang/qey_village06/bizrinnclamorclang001.mp3", 1964116252, 2748280828)
  47. PlayFlavor(NPC, "", "", "happy", 0, 0, Spawn)
  48. Dialog.AddOption("Wonderful!")
  49. Dialog.AddOption("... I see. I'll take it to her.")
  50. Dialog.Start()
  51. end