ClintGilcrush.lua 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. --[[
  2. Script Name : SpawnScripts/ThunderingSteppes/ClintGilcrush.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.18 04:06:19
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. function spawn(NPC)
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. Dialog6(NPC, Spawn)
  16. RandomGreeting(NPC, Spawn)
  17. end
  18. function RandomGreeting(NPC, Spawn)
  19. local choice = MakeRandomInt(1,3)
  20. if choice == 1 then
  21. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1004.mp3", 0, 0, Spawn)
  22. elseif choice == 2 then
  23. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1004.mp3", 0, 0, Spawn)
  24. elseif choice == 3 then
  25. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1004.mp3", 0, 0, Spawn)
  26. end
  27. end
  28. function Dialog6(NPC, Spawn)
  29. FaceTarget(NPC, Spawn)
  30. PlayFlavor(NPC,"","","ponder",0,0,Spawn)
  31. Dialog.New(NPC, Spawn)
  32. Dialog.AddDialog("Tell me, why do you submit to the will of a government that cares nothing for you?")
  33. Dialog.AddVoiceover("voiceover/english/tutorial_revamp/clint_gilcrush/betrayal/exile/clint_gilcrush000.mp3", 2116689418, 4101197493)
  34. if GetFactionAmount(Spawn,11)>=5000 then
  35. Dialog.AddOption("Queen Antonia is benevolent and merciful. She rules us well.", "Dialog2")
  36. end
  37. if GetFactionAmount(Spawn,12)>=5000 then
  38. Dialog.AddOption("The Overlord keeps Freeport strong. Without him the city would crumble.", "Dialog2")
  39. end
  40. Dialog.AddOption("I submit to no one.", "Dialog4")
  41. Dialog.AddOption("I don't have time for this.")
  42. Dialog.Start()
  43. end
  44. function Dialog2(NPC, Spawn)
  45. FaceTarget(NPC, Spawn)
  46. Dialog.New(NPC, Spawn)
  47. PlayFlavor(NPC,"","","scold",0,0,Spawn)
  48. Dialog.AddDialog("The Overlord, Queen Antonia... What makes you think they know what's best for you? I think you should decide for yourself what is best for you. Look at me... I'm successful, needed, wanted, feared... You know who got me here? I did. Govern yourself, be your own figurehead and leave Lucan and Antonia to play alone in their sandboxes.")
  49. Dialog.AddVoiceover("voiceover/english/tutorial_revamp/clint_gilcrush/betrayal/exile/clint_gilcrush001.mp3", 892107030, 1426347243)
  50. Dialog.AddOption("That makes a lot of sense. I'll think on what you have said.")
  51. Dialog.AddOption("That is a dangerous point of view, friend. I'll leave you now.")
  52. Dialog.AddOption("You're crazy... I'm out of here.")
  53. Dialog.Start()
  54. end
  55. function Dialog4(NPC, Spawn)
  56. FaceTarget(NPC, Spawn)
  57. Dialog.New(NPC, Spawn)
  58. PlayFlavor(NPC,"","","agree",0,0,Spawn)
  59. Dialog.AddDialog("Finally, I have found someone else who doesn't bow to the will of insignificant figureheads. Keep your eyes peeled, friend. One day we will all rise up and take what is rightfully ours, our freedom.")
  60. Dialog.AddVoiceover("voiceover/english/tutorial_revamp/clint_gilcrush/betrayal/exile/clint_gilcrush002.mp3", 1962049135, 3399946954)
  61. Dialog.AddOption("I long for that day. It was good to meet you.")
  62. Dialog.AddOption("You are a fool, a rebellion will never happen. Goodbye.")
  63. Dialog.AddOption("Right... Well, I better go.")
  64. Dialog.Start()
  65. end