9
3

CalebBrazenroot.lua 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. --[[
  2. Script Name : SpawnScripts/ScaleYard/CalebBrazenroot.lua
  3. Script Purpose : Caleb Brazenroot
  4. Script Author : John Adams
  5. Script Date : 2008.10.01
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. -- Quest ID's
  9. QUEST_2 = 347 -- 183 --Sound Off!
  10. function spawn(NPC)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. FaceTarget(NPC, Spawn)
  17. conversation = CreateConversation()
  18. if HasQuest(Spawn, QUEST_2) and GetQuestStep(Spawn, QUEST_2) == 2 then
  19. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/caleb_brazenroot/fprt_hood06/caleb001.mp3", "", "", 1644020306, 887498353, Spawn)
  20. AddConversationOption(conversation, "AHHHHHHHHHHHHHHHH!", "dlg_0_1")
  21. StartConversation(conversation, NPC, Spawn, "Aye? What can I do you for?")
  22. else
  23. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/caleb_brazenroot/fprt_hood06/quest_caleb_idle_text_55217158.mp3", "An axe might do it, or a sword. A hammer would work too... Or even a flail! Bah, we barbarians have to make such difficult decisions!", "", 3199749556, 268743291, Spawn)
  24. end
  25. end
  26. function dlg_0_1(NPC, Spawn)
  27. FaceTarget(NPC, Spawn)
  28. conversation = CreateConversation()
  29. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/caleb_brazenroot/fprt_hood06/caleb002.mp3", "", "", 1052071538, 473490683, Spawn)
  30. AddConversationOption(conversation, "AHHHHHHHHHHHHHHHH!", "dlg_0_2")
  31. StartConversation(conversation, NPC, Spawn, "AHHHHHHHHHHHHHHHH!")
  32. end
  33. function dlg_0_2(NPC, Spawn)
  34. FaceTarget(NPC, Spawn)
  35. conversation = CreateConversation()
  36. SetStepComplete(Spawn, QUEST_2, 2)
  37. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/caleb_brazenroot/fprt_hood06/caleb002.mp3", "", "", 1052071538, 473490683, Spawn)
  38. AddConversationOption(conversation, "...")
  39. StartConversation(conversation, NPC, Spawn, "AHHHHHHHHHHHHH!")
  40. end
  41. --[[ raw_conversations
  42. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/caleb_brazenroot/fprt_hood06/quest_caleb_idle_text_55217158.mp3", "An axe might do it, or a sword. A hammer would work too... Or even a flail! Bah, we barbarians have to make such difficult decisions!", "", 3199749556, 268743291, Spawn)
  43. --]]