bullying_the_bully.lua 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. --[[
  2. Script Name : Quests/TheSprawl/bullying_the_bully.lua
  3. Script Purpose : Handles the quest, "Bullying the Bully"
  4. Script Author : Scatman
  5. Script Date : 2009.07.25
  6. Zone : The Sprawl
  7. Quest Giver: Enforcer Kurdek
  8. Preceded by: Training Will Get You Everywhere (training_will_get_you_everywhere.lua)
  9. Followed by: Investigating the Black Magi (investigating_the_black_magi.lua)
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepChat(Quest, 1, "I should confront Brutemaster Tarden and make him shape up.", 1, "I should find Brutemaster Tarden and show him who's boss.", 0, 1260019)
  13. AddQuestStepCompleteAction(Quest, 1, "Step1_Complete_SpokeWithTarden")
  14. end
  15. function Accepted(Quest, QuestGiver, Player)
  16. FaceTarget(QuestGiver, Player)
  17. conversation = CreateConversation()
  18. PlayFlavor(QuestGiver, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek025.mp3", "", "point", 3099557772, 3849829090, Player)
  19. AddConversationOption(conversation, "I'll do it!")
  20. StartConversation(conversation, QuestGiver, Player, "Use whatever means are necessary to teach him a lesson. Don't be afraid to push him around, because all these Giantslayers understand is violence. Now get going!")
  21. end
  22. function Declined(Quest, QuestGiver, Player)
  23. end
  24. function Step1_Complete_SpokeWithTarden(Quest, QuestGiver, Player)
  25. UpdateQuestStepDescription(Quest, 1, "I intimidated Brutemaster Tarden into doing a better job.")
  26. UpdateQuestTaskGroupDescription(Quest, 1, "I cornered Brutemaster Tardin and roughed him up a bit.")
  27. AddQuestStepChat(Quest, 2, "I should return to Enforcer Kurdek near the gate to Big Bend.", 1, "I should return to Enforcer Kurdek and tell him my task was a success.", 0, 1260017)
  28. AddQuestStepCompleteAction(Quest, 2, "Quest_Complete")
  29. end
  30. function Quest_Complete(Quest, QuestGiver, Player)
  31. UpdateQuestStepDescription(Quest, 2, "I have returned to Enforcer Kurdek.")
  32. UpdateQuestTaskGroupDescription(Quest, 2, "Enforcer Kurdek is pleased that I taught Brutemaster Tarden a lesson.")
  33. GiveQuestReward(Quest, Player)
  34. UpdateQuestDescription(Quest, "I confronted the leader of the Giantslayers, a barbarian named Brutemaster Tarden. He didn't show me much respect, but after using Dreadnaught tactics to rough him up a bit, he wisened up. Enforcer Kurdek seemed very pleased with my performance.")
  35. end
  36. function Reload(Quest, QuestGiver, Player)
  37. if Step == 1 then
  38. Step1_Complete_SpokeWithTarden(Quest, QuestGiver, Player)
  39. end
  40. end