9
3

CogBurn.lua 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. --[[
  2. Script Name : CogBurn.lua
  3. Script Purpose : Cog Burn
  4. Script Author : ParserGenerated (Replace this)
  5. Script Date : 08/30/2019
  6. Script Notes : Auto-Generated from a chat log using SpawnScriptDesigner
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. -- Quest ID's
  10. local COMBUSTIBLE_GNOME = 478
  11. function spawn(NPC)
  12. ProvidesQuest(NPC, COMBUSTIBLE_GNOME)
  13. end
  14. function respawn(NPC)
  15. spawn(NPC)
  16. end
  17. function hailed(NPC, Spawn)
  18. FaceTarget(NPC, Spawn)
  19. Dialog.New(NPC, Spawn)
  20. Dialog.AddDialog("You're just in time! Yes, yes, just in time to help me continue my research. With the popping and smoke, poofing! So, so very exciting! All you have to do is fetch me the smashed remains of these undead orcs.")
  21. Dialog.AddRequirement(REQ_QUEST_ELIGIBLE, COMBUSTIBLE_GNOME)
  22. Dialog.AddOption("I have to smash them?", "dlg_2")
  23. Dialog.AddOption("I'm not interested.")
  24. Dialog.AddDialog("What!? No smoldering, popping boom! I'm almost done! I've 78% of component A; 12% of ingredient B; and all I need now is the last 15% of sample D! Go, go, go get me my stuff! ")
  25. Dialog.AddRequirement(REQ_QUEST_HAS_QUEST, COMBUSTIBLE_GNOME)
  26. Dialog.AddOption("Ok.")
  27. Dialog.Start()
  28. --[[ Say() from this NPC
  29. Say(NPC, "How fortunate for me! More adventurers! Whee! Come now, come here.", Spawn)
  30. Orphaned PlayFlavors
  31. --]]
  32. end
  33. function dlg_2(NPC, Spawn)
  34. FaceTarget(NPC, Spawn)
  35. Dialog.New(NPC, Spawn)
  36. Dialog.AddDialog("Of course you have to smash them before they're any good to me. Nothing worse than components trying to eliminate the tinker! We don't want that to happen again, I'm telling you. I was not amused.")
  37. Dialog.AddOption("That sounds dreadful!", "OfferQuest1")
  38. Dialog.AddOption("Good luck finding help.")
  39. Dialog.Start()
  40. end
  41. function OfferQuest1(NPC, Spawn)
  42. OfferQuest(NPC, Spawn, COMBUSTIBLE_GNOME)
  43. --[[ Move the following conversation to the Accepted function of the quest script
  44. FaceTarget(QuestGiver, Player)
  45. Dialog.New(QuestGiver, Player)
  46. Dialog.AddDialog("Good, good! I'm glad we agree. You fetch me what I need, and I'll see what I can do for you. You can trust me ... can't you? Oh, no matter. ")
  47. Dialog.AddOption("Ok.")
  48. Dialog.Start()
  49. --]]
  50. end