Mugwump.lua 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. --[[
  2. Script Name : SpawnScripts/Nektulos/Mugwump.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.05.16 06:05:53
  5. Script Purpose : Handles dialogue needed for quest "O' Mugwump Where Art Thou?"
  6. :
  7. --]]
  8. local OMugwumpWhereArtThou = 434
  9. function spawn(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. if GetQuestStep(Spawn, OMugwumpWhereArtThou) == 2 then
  14. local conversation = CreateConversation()
  15. AddConversationOption(conversation, "Mooshga sent me to get her special herbs from you.", "Option1")
  16. StartConversation(conversation, NPC, Spawn, "What can Mugwump do for you on this fine Nektulos day?")
  17. else
  18. PlayFlavor(NPC, "", "Why hello there. You look to be well this day. If you are looking for some adventuring; head west across the torrent river to the beach and look for dark elf fellow by the name of Bruhn. Too ornery for my liking, but he migh have something for you to do.", "", 0, 0, Spawn)
  19. end
  20. end
  21. function Option1(NPC, Spawn)
  22. SetStepComplete(Spawn, OMugwumpWhereArtThou, 1)
  23. FaceTarget(NPC, Spawn)
  24. local conversation = CreateConversation()
  25. AddConversationOption(conversation, "Thanks Mugwump.")
  26. StartConversation(conversation, NPC, Spawn, "Ahh, Mooshga always be losing things. Lets me see if I have her herbs here somewhere... There we go, take this package back to her, this is what she wants.")
  27. end
  28. function respawn(NPC)
  29. spawn(NPC)
  30. end