Grazzgrat.lua 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. --[[
  2. Script Name : SpawnScripts/BigBend/Grazzgrat.lua
  3. Script Purpose : Grazzgrat
  4. Script Author : torsten
  5. Script Date : 2022.07.10
  6. Script Notes :
  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. Dialog7(NPC, Spawn)
  16. end
  17. function Dialog7(NPC, Spawn)
  18. FaceTarget(NPC, Spawn)
  19. Dialog.New(NPC, Spawn)
  20. Dialog.AddDialog("This place is no good. It's too dry, too crowded, and there's nothing to hunt but rats. No, this place is not so good as Grazzgrat's swamp.")
  21. Dialog.AddVoiceover("voiceover/english/grazzgrat/fprt_hood1/quests/grazzgrat/grazzgrat_000.mp3", 3132446091, 3207337666)
  22. Dialog.AddOption("If you don't like it here, why don't you go back to your swamp?", "Dialog3")
  23. Dialog.AddOption("What?! Trolls don't whine! Suck it up and deal with it!")
  24. Dialog.Start()
  25. end
  26. function Dialog3(NPC, Spawn)
  27. FaceTarget(NPC, Spawn)
  28. Dialog.New(NPC, Spawn)
  29. Dialog.AddDialog("Ahh, you think you smarter than Grazzgrat? Well, you not so smart because Grazzgrat would be in swamp now if he could. But swamp was destroyed so long ago and Grazzgrat forced to live in dry, crowded place until he find new swamp.")
  30. Dialog.AddVoiceover("voiceover/english/grazzgrat/fprt_hood1/quests/grazzgrat/grazzgrat_001.mp3", 3422662472, 3860203232)
  31. Dialog.AddOption("What happened to your swamp? ", "Dialog5")
  32. Dialog.AddOption("Well, you're not the only one without a home, so stop whining.", "Dialog7")
  33. Dialog.Start()
  34. end
  35. function Dialog5(NPC, Spawn)
  36. FaceTarget(NPC, Spawn)
  37. Dialog.New(NPC, Spawn)
  38. Dialog.AddDialog("The swamp was destroyed in the Shattering. Great fire rocks fell from the sky and boiled the swamp. Everything died; Grazzgrat almost died.")
  39. Dialog.AddVoiceover("voiceover/english/grazzgrat/fprt_hood1/quests/grazzgrat/grazzgrat_002.mp3", 410920209, 1417413171)
  40. Dialog.AddOption("How did you manage to survive?", "Dialog6")
  41. Dialog.AddOption("Where was this swamp of yours?", "Dialog2")
  42. Dialog.AddOption("You're alive! Be grateful for that and move on! ")
  43. Dialog.Start()
  44. end
  45. function Dialog6(NPC, Spawn)
  46. FaceTarget(NPC, Spawn)
  47. Dialog.New(NPC, Spawn)
  48. Dialog.AddDialog("Ahahaha! Grazzgrat is tougher than little snakes, lizards, and frogloks. The boiling water only burned and blistered Grazzgrat while he swam to muddy shore. That boiled too, the mud, but it was not so bad for Grazzgrat.")
  49. Dialog.AddVoiceover("voiceover/english/grazzgrat/fprt_hood1/quests/grazzgrat/grazzgrat_003.mp3", 890099441, 3631110016)
  50. Dialog.AddOption("Where was this swamp of yours?", "Dialog2")
  51. Dialog.AddOption("So that's what happened to the frogloks?", "Dialog1")
  52. Dialog.AddOption("So you survived. That should be more than enough for a troll.")
  53. Dialog.Start()
  54. end
  55. function Dialog2(NPC, Spawn)
  56. FaceTarget(NPC, Spawn)
  57. Dialog.New(NPC, Spawn)
  58. Dialog.AddDialog("Swamp was to the south and ran deep for miles and miles. It had lots of things to feed Grazzgrat, lots of frogloks for Grazzgrat and Grazzgrat's many children to eat, and lots of ruined rocks to make Grazzgrat's home. Yes, that swamp was a good swamp. Grazzgrat is... disappointed now that it's gone.")
  59. Dialog.AddVoiceover("voiceover/english/grazzgrat/fprt_hood1/quests/grazzgrat/grazzgrat_004.mp3", 1788699406, 2954206658)
  60. Dialog.AddOption("What happened to the frogloks on the swamp?", "Dialog1")
  61. Dialog.AddOption("So there were other trolls in your swamp?", "Dialog4")
  62. Dialog.AddOption("A troll reminiscing?! HA! Now I've seen everything.")
  63. Dialog.Start()
  64. end
  65. function Dialog1(NPC, Spawn)
  66. FaceTarget(NPC, Spawn)
  67. Dialog.New(NPC, Spawn)
  68. Dialog.AddDialog("Grazzgrat only know what he heard and smelled. They screamed so loud in pain and fear and Grazzgrat could smell their skins melting in the swamp. It was terrible and sad thing the frogloks' boiling alive, not that they died, but that Grazzgrat could not enjoy the slaughter.")
  69. Dialog.AddVoiceover("voiceover/english/grazzgrat/fprt_hood1/quests/grazzgrat/grazzgrat_005.mp3", 3794657795, 3653560387)
  70. Dialog.AddOption("What about other trolls? Or were you alone in your swamp?", "Dialog5")
  71. Dialog.AddOption("So the frogloks died? Good riddance, is what I say!")
  72. Dialog.Start()
  73. end
  74. function Dialog4(NPC, Spawn)
  75. FaceTarget(NPC, Spawn)
  76. Dialog.New(NPC, Spawn)
  77. Dialog.AddDialog("Yes, many brothers, sisters and children of Grazzgrat hunted frogloks in the swamp. They were pleased with the swamp, as Grazzgrat was pleased, but no more. They are probably dead, boiled or crushed by fire rocks from the sky.")
  78. Dialog.AddVoiceover("voiceover/english/grazzgrat/fprt_hood1/quests/grazzgrat/grazzgrat_006.mp3", 1556653377, 944269835)
  79. Dialog.AddOption("It could have been worse; at least you're still alive. Goodbye.")
  80. Dialog.Start()
  81. end