ZeverTzizzink.lua 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. --[[
  2. Script Name : SpawnScripts/ScaleYard/ZeverTzizzink.lua
  3. Script Purpose : Zever Tzizzink
  4. Script Author : torsten
  5. Script Date : 2022.07.25
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. local PoisonousZever = 5711
  9. function spawn(NPC)
  10. ProvidesQuest(NPC, PoisonousZever)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. if not HasQuest(Spawn, PoisonousZever) and not HasCompletedQuest(Spawn, PoisonousZever) then
  17. OfferQuest(NPC, Spawn, PoisonousZever)
  18. end
  19. if GetQuestStep(Spawn, PoisonousZever) == 2 then
  20. SetStepComplete(Spawn, PoisonousZever, 2)
  21. end
  22. if GetQuestStep(Spawn, PoisonousZever) == 4 then
  23. SetStepComplete(Spawn, PoisonousZever, 4)
  24. end
  25. RandomGreeting(NPC, Spawn)
  26. end
  27. function RandomGreeting(NPC, Spawn)
  28. local choice = MakeRandomInt(1,7)
  29. if choice == 1 then
  30. PlayFlavor(NPC, "voiceover/english/iksar_eco_evil_1/ft/iksar/iksar_eco_evil_1_hail_gm_65504a07.mp3", "You don't have to be cold blooded to be a killer, but it helps.", "sniff", 162591917, 1585569694, Spawn, 0)
  31. elseif choice == 2 then
  32. PlayFlavor(NPC, "voiceover/english/iksar_eco_evil_1/ft/iksar/iksar_eco_evil_1_hail_gm_e197e226.mp3", "Get the facts first, then use them to your advantage.", "nod", 2108412157, 569290229, Spawn, 0)
  33. elseif choice == 3 then
  34. PlayFlavor(NPC, "voiceover/english/iksar_eco_evil_1/ft/iksar/iksar_eco_evil_1_hail_gm_b2520f1f.mp3", "The dark elves are inferior creatures led by delusions of grandeur. How sad.", "sarcasm", 4070116108, 3546866585, Spawn, 0)
  35. elseif choice == 4 then
  36. PlayFlavor(NPC, "voiceover/english/iksar_eco_evil_1/ft/iksar/iksar_eco_evil_1_hail_gm_75d6942e.mp3", "Of course we have feelings. We're just not as attached to them as others.", "glare", 959861962, 664441611, Spawn, 0)
  37. elseif choice == 5 then
  38. PlayFlavor(NPC, "", "What do you want?", "", 0, 0, Spawn, 0)
  39. elseif choice == 6 then
  40. PlayFlavor(NPC, "voiceover/english/iksar_eco_evil_1/ft/iksar/iksar_eco_evil_1_hail_gm_6e77e856.mp3", "Hard work has never killed anyone, but I have.", "nod", 1624540059, 2182897376, Spawn, 0)
  41. elseif choice == 7 then
  42. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1028.mp3", 0, 0, Spawn)
  43. end
  44. end