9
3

EvelynStoutfist.lua 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. --[[
  2. Script Name : SpawnScripts/ScaleYard/EvelynStoutfist.lua
  3. Script Purpose : Evelyn Stoutfist
  4. Script Author : torsten
  5. Script Date : 2022.07.21
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. local DoortoDoorAnger = 5688
  9. function spawn(NPC)
  10. ProvidesQuest(NPC, 5688)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. if HasLanguage(Spawn, 1) then
  17. if not HasQuest(Spawn, DoortoDoorAnger) and not HasCompletedQuest(Spawn, DoortoDoorAnger) then
  18. OfferQuest(NPC, Spawn, DoortoDoorAnger)
  19. end
  20. if GetQuestStep(Spawn, DoortoDoorAnger) == 2 then
  21. SetStepComplete(Spawn, DoortoDoorAnger, 2)
  22. end
  23. end
  24. RandomGreeting(NPC, Spawn)
  25. end
  26. function RandomGreeting(NPC, Spawn)
  27. local choice = MakeRandomInt(1,7)
  28. if choice == 1 then
  29. PlayFlavor(NPC, "voiceover/english/barbarian_eco_evil_1/ft/barbarian/barbarian_eco_evil_1_hail_gf_af792eb2.mp3", "Did you just speak to me? You're braver than most.", "boggle", 2586690724, 2745188740, Spawn, 1)
  30. elseif choice == 2 then
  31. PlayFlavor(NPC, "voiceover/english/evelyn_stoutfist/fprt_hood06/std_bar_f_evelyn_stoutfist_multhail2_3a3b1e82.mp3", "You'd better have a good reason for barging into my home!", "", 1308583953, 2501464543, Spawn, 1)
  32. elseif choice == 3 then
  33. PlayFlavor(NPC, "voiceover/english/barbarian/ft/barbarian/barbarian_eco_garble_garbled_gf_befe5c31.mp3", "you dont want to know what its like to wash three dozen kilts in a day", "", 1408939577, 3083827178, Spawn, 1)
  34. elseif choice == 4 then
  35. PlayFlavor(NPC, "voiceover/english/barbarian_eco_evil_1/ft/barbarian/barbarian_eco_evil_1_hail_gf_7c898040.mp3", "If I wanted to speak with riff raff like you, you'd know it.", "scold", 655386949, 2487090829, Spawn, 1)
  36. elseif choice == 5 then
  37. PlayFlavor(NPC, "voiceover/english/barbarian_eco_evil_1/ft/barbarian/barbarian_eco_evil_1_hail_gf_56e1abc5.mp3", "Don't worry. The last time I killed someone was a few months ago. I've almost forgot how its done.", "threaten", 4284816178, 1371321884, Spawn, 1)
  38. elseif choice == 6 then
  39. PlayFlavor(NPC, "voiceover/english/barbarian_eco_evil_1/ft/barbarian/barbarian_eco_evil_1_hail_gf_7cbbffe9.mp3", "I wonder how fast you can run with one leg.", "ponder", 466422573, 1844554045, Spawn, 1)
  40. elseif choice == 7 then
  41. PlayFlavor(NPC, "voiceover/english/barbarian_eco_evil_1/ft/barbarian/barbarian_eco_evil_1_hail_gf_7d00f821.mp3", "All those rumors about the people I decapitated are false, trust me. I decapitated many more by my count.", "pout", 3428354992, 3197307307, Spawn, 1)
  42. end
  43. end