AnthonyGlavias.lua 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. --[[
  2. Script Name : SpawnScripts/ScaleYard/AnthonyGlavias.lua
  3. Script Purpose : Anthony Glavias
  4. Script Author : John Adams
  5. Script Date : 2008.10.01
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. local QUEST_4 = 343 --162 --Kill or be killed--
  10. function spawn(NPC)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. if GetQuestStep(Spawn, QUEST_4) == 1 then
  17. FaceTarget(NPC, Spawn)
  18. Dialog.New(NPC, Spawn)
  19. Dialog.AddDialog("Who are you? Did Issik send you? Why was I told to guard this corner? This is the stupidest assignment I've ever been given.")
  20. Dialog.AddVoiceover("voiceover/english/tutorial_revamp/anthony_glavias/fprt_hood06/rcp_anthony001.mp3", 3067586016, 4150767631)
  21. Dialog.AddOption( "Who sent me is not important. All that matters is that your incompetence can no longer be tolerated. This is your last assignment Anthony.", "dlg_1_1")
  22. Dialog.Start()
  23. else
  24. choice = math.random(1,2)
  25. if choice == 1 then
  26. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/anthony_glavias/fprt_hood06/quest_anthony_idle_text_4d8d8143.mp3", "What! Who? No you're not the person I'm supposed to talk to.", "", 1807765648, 2730794847, Spawn)
  27. else
  28. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/anthony_glavias/fprt_hood06/quest_anthony_idle_text_cd460631.mp3", "Why I was instructed to guard this corner? I have no idea...", "", 3183193425, 4191883084, Spawn)
  29. end
  30. end
  31. end
  32. function dlg_1_1(NPC, Spawn)
  33. FaceTarget(NPC, Spawn)
  34. Dialog.New(NPC, Spawn)
  35. Dialog.AddDialog("Wut? Why? Gnome taste sooooooooo gud! I wuves me some gnomesteak!")
  36. Dialog.AddVoiceover("voiceover/english/tutorial_revamp/anthony_glavias/fprt_hood06/rcp_anthony002.mp3", 2414080442, 1536099757)
  37. Dialog.AddOption( "Cease your banter draw your blade, fool!")
  38. Dialog.AddOption("Step down citizen! No one fires Anthony Glavias besides me! Eh, well... not that I would fire myself that is... Bwah! ")
  39. Dialog.Start()
  40. SetStepComplete(Spawn, QUEST_4, 1)
  41. end