9
3

kill_em_all.lua 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. --[[
  2. Script Name : Quests/FallenGate/kill_em_all.lua
  3. Script Purpose : Handles the quest, "Kill'em All"
  4. Script Author : premierio015
  5. Script Date : 08.07.2021
  6. Script Notes : Auto generated with QuestParser.
  7. Zone : Fallen Gate
  8. Quest Giver : Logan Belchbottom(1190017)
  9. Preceded by : None
  10. Followed by : None
  11. --]]
  12. function Init(Quest)
  13. SetQuestFeatherColor(Quest, 3)
  14. SetQuestRepeatable(Quest)
  15. AddQuestStepKill(Quest, 1, "Kill a the creatures that stand between Logan and the exit.", 50, 100, "Logan Belchbottom wants to leave Fallen Gate, but is scared of all the mobs between him and the exit. He wants me to kill them all. I don't know about all, but I'll do what I can.", 611, 1190001, 1190002, 1190003, 1190004, 1190005, 1190006, 1190007, 1190008, 1190009, 1190010, 1190011, 1190012, 1190013, 1190016, 1190019, 1190021, 1190023, 1190024, 1190025, 1190026, 1190027, 1190028, 1190014, 1190015, 1190029, 1190030, 1190031, 1190032, 1190033, 1190034, 1190035, 1190036, 1190037, 1190038, 1190039, 1190040, 1190041, 1190042, 1190043, 1190044, 1190045, 1190046, 1190047, 1190049, 1190050, 1190051, 1190052, 1190054, 1190055, 1190056, 1190061, 1190062, 1190063, 1190064, 1190065, 1190066, 1190067, 1190068, 1190069, 1190070, 1190071, 1190072, 1190073, 1190074, 1190075, 1190076, 1190077, 1190078, 1190079, 1190080, 1190081, 1190082, 1190083, 1190085, 1190086, 1190084, 1190087, 1190088, 1190089, 1190090, 1190091, 1190092, 1190093, 1190094, 1190095, 1190096, 1190097, 1190098, 1190099, 1190100, 1190101, 1190102, 1190103, 1190104, 1190105, 1190106, 1190107, 1190108, 1190111, 1190112, 1190113, 1190114, 1190115, 1190119, 1190120, 1190123, 1190124, 1190129, 1190131, 1190138, 1190141, 1190157, 1190187)
  16. AddQuestStepCompleteAction(Quest, 1, "QuestComplete")
  17. end
  18. function Accepted(Quest, QuestGiver, Player)
  19. FaceTarget(QuestGiver, Player)
  20. local conversation = CreateConversation()
  21. PlayFlavor(QuestGiver, "voiceover/english/logan_belchbottom/fallengate/logan_belchbottom/logan_belchbottom009.mp3", "", "", 1019298887, 1679042471, Player)
  22. AddConversationOption(conversation, "Ok.")
  23. StartConversation(conversation, QuestGiver, Player, "Kill them! Kill whatever or whoever is in the way of the exit! Just kill them.")
  24. end
  25. function Declined(Quest, QuestGiver, Player)
  26. -- Add dialog here for when the quest is declined
  27. end
  28. function Deleted(Quest, QuestGiver, Player)
  29. -- Remove any quest specific items here when the quest is deleted
  30. end
  31. function QuestComplete(Quest, QuestGiver, Player)
  32. -- The following UpdateQuestStepDescription and UpdateTaskGroupDescription are not needed, parser adds them for completion in case stuff needs to be moved around
  33. UpdateQuestStepDescription(Quest, 1, "I've slain many of these creatures for Logan.")
  34. UpdateQuestTaskGroupDescription(Quest, 1, "I've slain many of the bad things between Logan and the exit.")
  35. UpdateQuestDescription(Quest, "I've slain many of the creatures that stand between Logan and the exit. Now it's up to him.")
  36. GiveQuestReward(Quest, Player)
  37. end
  38. function Reload(Quest, QuestGiver, Player, Step)
  39. if Step == 1 then
  40. QuestComplete(Quest, QuestGiver, Player)
  41. end
  42. end