PlordoBlotterdook.lua 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. --[[
  2. Script Name : SpawnScripts/TempleStreet/PlordoBlotterdook.lua
  3. Script Purpose : Plordo Blotterdook
  4. Script Author : torsten
  5. Script Date : 2022.07.21
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. local DoortoDoorAnger = 5688
  10. local QwergosPlan = 5916
  11. function spawn(NPC)
  12. end
  13. function respawn(NPC)
  14. spawn(NPC)
  15. end
  16. function hailed(NPC, Spawn)
  17. if GetFactionAmount(Spawn,12) <0 then
  18. FaceTarget(NPC, Spawn)
  19. PlayFlavor(NPC, "","","shakefist",0,0, Spawn)
  20. else
  21. if GetQuestStep(Spawn, DoortoDoorAnger) == 1 then
  22. SetStepComplete(Spawn, DoortoDoorAnger, 1)
  23. end
  24. Dialog1(NPC, Spawn)
  25. end
  26. end
  27. function Dialog1(NPC, Spawn)
  28. FaceTarget(NPC, Spawn)
  29. Dialog.New(NPC, Spawn)
  30. Dialog.AddDialog("Yes, yes, I am hurrying. What can good 'ole Plordo sell you today?")
  31. Dialog.AddVoiceover("voiceover/english/merchant_plordo_blotterdook/fprt_hood03/mer_merchantplordoblotterdook.mp3", 438412116, 3436978899)
  32. if GetQuestStep(Spawn, QwergosPlan)==1 then
  33. Dialog.AddOption("Qwergo wants a rumblestick or whatever it is.","Dialog2")
  34. end
  35. Dialog.AddOption("I am not interested.")
  36. Dialog.Start()
  37. end
  38. function Dialog2(NPC, Spawn)
  39. FaceTarget(NPC, Spawn)
  40. Dialog.New(NPC, Spawn)
  41. Dialog.AddDialog("An igniter rumblerod, my friend, and I regret I have sold my last one. To Chrna, that is. Yes, I sold it to Chrna ... ehh ... she may be around here, someplace, if you have the will to go looking for her. Qwergo must want this item quite badly.")
  42. Dialog.AddVoiceover("voiceover/english/merchant_plordo_blotterdook/fprt_hood03/quests/qwergotogglesmeet/ploordo_qwergo_x1_initial.mp3", 939756391, 1996785139)
  43. PlayFlavor(NPC, "","","agree",0,0, Spawn)
  44. SetStepComplete(Spawn, QwergosPlan, 1)
  45. Dialog.AddOption("Fine. I'll try to get it from her.")
  46. Dialog.Start()
  47. end