Zukogg.lua 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. --[[
  2. Script Name : SpawnScripts/BigBend/Zukogg.lua
  3. Script Purpose : Zukogg
  4. Script Author : torsten
  5. Script Date : 2022.07.12
  6. Script Notes :
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. local MuchAdoAboutRallos = 5634
  10. function spawn(NPC)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. if HasQuest(Spawn, MuchAdoAboutRallos) then
  17. Dialog4(NPC, Spawn)
  18. else
  19. Dialog1(NPC, Spawn)
  20. end
  21. RandomGreeting(NPC, Spawn)
  22. end
  23. function RandomGreeting(NPC, Spawn)
  24. local choice = MakeRandomInt(1,2)
  25. if choice == 1 then
  26. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1001.mp3", 0, 0, Spawn)
  27. elseif choice == 2 then
  28. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1001.mp3", 0, 0, Spawn)
  29. end
  30. end
  31. function Dialog1(NPC, Spawn)
  32. FaceTarget(NPC, Spawn)
  33. Dialog.New(NPC, Spawn)
  34. Dialog.AddDialog("I am busy. What do you need?")
  35. Dialog.AddVoiceover("voiceover/english/tutorial_revamp/zukogg/fprt_hood01/newbie_path_ogre/zukogg006.mp3", 1912937629, 3336545883)
  36. Dialog.AddOption("Nothin'. I will go now.")
  37. Dialog.Start()
  38. end
  39. -- MuchAdoAboutRallos
  40. function Dialog4(NPC, Spawn)
  41. FaceTarget(NPC, Spawn)
  42. Dialog.New(NPC, Spawn)
  43. Dialog.AddDialog("What's ya want'n? ")
  44. Dialog.AddVoiceover("voiceover/english/tutorial_revamp/zukogg/fprt_hood01/newbie_path_ogre/zukogg001.mp3", 410122769, 540260714)
  45. Dialog.AddOption("Kroota says you can help me get some flesh. ", "Dialog3")
  46. Dialog.Start()
  47. end
  48. function Dialog3(NPC, Spawn)
  49. FaceTarget(NPC, Spawn)
  50. Dialog.New(NPC, Spawn)
  51. Dialog.AddDialog("I gots many skins. You want armor skins? Tent skins? Bed skins? ")
  52. Dialog.AddVoiceover("voiceover/english/tutorial_revamp/zukogg/fprt_hood01/newbie_path_ogre/zukogg002.mp3", 2377084441, 3069496417)
  53. Dialog.AddOption("I need flesh to be used in a ceremony to bring glory to Rallos. ", "Dialog5")
  54. Dialog.Start()
  55. end
  56. function Dialog5(NPC, Spawn)
  57. FaceTarget(NPC, Spawn)
  58. Dialog.New(NPC, Spawn)
  59. Dialog.AddDialog("Shhhhh. You don't want others hearing of this! The flesh ya seek is ta symbolize the weak, inferior creatures who's fate is ta be defeated.")
  60. Dialog.AddVoiceover("voiceover/english/tutorial_revamp/zukogg/fprt_hood01/newbie_path_ogre/zukogg004.mp3", 171022403, 2413094131)
  61. Dialog.AddOption("Do you have such skins?", "Dialog6")
  62. Dialog.Start()
  63. end
  64. function Dialog6(NPC, Spawn)
  65. FaceTarget(NPC, Spawn)
  66. Dialog.New(NPC, Spawn)
  67. Dialog.AddDialog("Rallos Zek is deserving of da most fresh skins. My stock of skins is too old ta be worthy.")
  68. Dialog.AddVoiceover("voiceover/english/tutorial_revamp/zukogg/fprt_hood01/newbie_path_ogre/zukogg009.mp3", 3382292307, 1636661744)
  69. Dialog.AddOption("What should I do?", "Dialog2")
  70. Dialog.Start()
  71. end
  72. function Dialog2(NPC, Spawn)
  73. FaceTarget(NPC, Spawn)
  74. Dialog.New(NPC, Spawn)
  75. Dialog.AddDialog("Darby, da troll tailor has hunters bring in fresh kills. Go grab a kill of something sentient from one of the many barrels around him.")
  76. Dialog.AddVoiceover("voiceover/english/tutorial_revamp/zukogg/fprt_hood01/newbie_path_ogre/zukogg003.mp3", 8857194, 3258354974)
  77. Dialog.AddOption("Will do.")
  78. Dialog.Start()
  79. if GetQuestStep(Spawn, MuchAdoAboutRallos) == 1 then
  80. SetStepComplete(Spawn, MuchAdoAboutRallos, 1)
  81. end
  82. end