AnthonyGlavias.lua 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. -- Quest ID's
  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. FaceTarget(NPC, Spawn)
  17. conversation = CreateConversation()
  18. if GetQuestStep(Spawn, QUEST_4) == 1 then
  19. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/anthony_glavias/fprt_hood06/rcp_anthony001.mp3", "", "", 3067586016, 4150767631, Spawn)
  20. AddConversationOption(conversation, "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")
  21. StartConversation(conversation, NPC, Spawn, "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.")
  22. else
  23. choice = math.random(1,2)
  24. if choice == 1 then
  25. 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)
  26. else
  27. 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)
  28. end
  29. end
  30. end
  31. function dlg_1_1(NPC, Spawn)
  32. FaceTarget(NPC, Spawn)
  33. conversation = CreateConversation()
  34. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/anthony_glavias/fprt_hood06/rcp_anthony002.mp3", "", "", 2414080442, 1536099757, Spawn)
  35. AddConversationOption(conversation, "Cease your banter draw your blade, fool!", "Combat")
  36. StartConversation(conversation, NPC, Spawn, "Step down citizen! No one fires Anthony Glavias besides me! Eh, well... not that I would fire myself that is... Bwah! ")
  37. end
  38. function Combat(NPC, Spawn)
  39. SetSpawn(NPC, attackable, 1)
  40. AddHate(NPC, Spawn, 100)
  41. end
  42. --[[ raw_conversations
  43. 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)
  44. 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)
  45. --]]