ClanChiefMalachiSleetsaber.lua 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. --[[
  2. Script Name : SpawnScripts/Freeport/ClanChiefMalachiSleetsaber.lua
  3. Script Author : Premierio015
  4. Script Date : 2020.08.11 06:08:43
  5. Script Purpose :
  6. :
  7. --]]
  8. local TheHiddenNewHalasian = 578
  9. function spawn(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. if GetQuestStep(Spawn, TheHiddenNewHalasian) == 2 then
  14. conversation = CreateConversation()
  15. PlayFlavor(NPC, "clan_chief_malachi_sleetsaber/freeport_combined/quest/racial/barbarian/chief_malachi_sleetsaber_001.mp3", "", "hello", 1526248790, 2883383247, Spawn)
  16. AddConversationOption(conversation, "A little of both.", "dlg1")
  17. AddConversationOption(conversation, "Looking for it!", "dlg1")
  18. AddConversationOption(conversation, "Betting it will find me.", "dlg1")
  19. StartConversation(conversation, NPC, Spawn, "Hello there, little cub! You lookin' for trouble, or waiting for it to find you?")
  20. else
  21. PlayFlavor(NPC, "", "Watch what troubles ya find, or find you in this great city. A back is a fine place to sheathe an axe!", "", 1689589577, 4560189, Spawn)
  22. end
  23. end
  24. function dlg1(NPC, Spawn)
  25. FaceTarget(NPC, Spawn)
  26. conversation = CreateConversation()
  27. PlayFlavor(NPC, "clan_chief_malachi_sleetsaber/freeport_combined/quest/racial/barbarian/chief_malachi_sleetsaber_002.mp3", "", "laugh", 3224838411, 1376325030, Spawn)
  28. AddConversationOption(conversation, "If you don't like the rules or the ruler, you could move to New Halas.", "dlg2")
  29. StartConversation(conversation, NPC, Spawn, "Ha! I like yer style. Just keep an eye out for the guards. Ya don't want that brand o' trouble. Trust me.")
  30. end
  31. function dlg2(NPC, Spawn)
  32. FaceTarget(NPC, Spawn)
  33. conversation = CreateConversation()
  34. PlayFlavor(NPC, "clan_chief_malachi_sleetsaber/freeport_combined/quest/racial/barbarian/chief_malachi_sleetsaber_003.mp3", "", "", 1528743312, 919033802, Spawn)
  35. AddConversationOption(conversation, "Oh, wow!", "dlg3")
  36. StartConversation(conversation, NPC, Spawn, "That I could! And don't be thinking I didn't have the same thought some time ago. When I was a wee cub, Halas was all me gram fed me! I lived off tales of ancient adventure in Frosteye Valley, slaughtering gobos in Freezeblood Village, or exorcising ghosts in Greyvax's Caves.")
  37. end
  38. function dlg3(NPC, Spawn)
  39. FaceTarget(NPC, Spawn)
  40. SetStepComplete(Spawn, TheHiddenNewHalasian, 2)
  41. conversation = CreateConversation()
  42. PlayFlavor(NPC, "clan_chief_malachi_sleetsaber/freeport_combined/quest/racial/barbarian/chief_malachi_sleetsaber_004.mp3", "", "nod", 3850348152, 3020820417, Spawn)
  43. AddConversationOption(conversation, "Yeah, too bad it doesn't live up to its namesake.")
  44. StartConversation(conversation, NPC, Spawn, "And for years, here in Freeport, I dreamed of a time when we might make Halas anew. But that town on Erollis is not Halas, it is not a city for Northmen. There are others that feel this way, too.")
  45. end
  46. function respawn(NPC)
  47. end