BreezaHarmet.lua 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. --[[
  2. Script Name : SpawnScripts/Antonica/BreezaHarmet.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.08.24 05:08:40
  5. Script Purpose :
  6. :
  7. --]]
  8. local ExploringTheChessboard = 5348
  9. function spawn(NPC)
  10. ProvidesQuest(NPC, ExploringTheChessboard)
  11. end
  12. function hailed(NPC, Spawn)
  13. FaceTarget(NPC, Spawn)
  14. local conversation = CreateConversation()
  15. PlayFlavor(NPC, "voiceover/english/breeza_harmet/antonica/breezaharmet000.mp3", "", "", 3595319695, 2394703279, Spawn)
  16. if not HasQuest(Spawn, ExploringTheChessboard) and not HasCompletedQuest(Spawn, ExploringTheChessboard) then
  17. AddConversationOption(conversation, "They are beautiful pieces. Is it the game or the carving of wood that you like more?", "Option1")
  18. elseif GetQuestStep(Spawn, ExploringTheChessboard) == 2 then
  19. AddConversationOption(conversation, "I have explored within Stormhold and I can tell you that the chessboard banquet hall does still exist.", "Option2")
  20. end
  21. AddConversationOption(conversation, "I see. Well, I will let you finish up your project in peace. ")
  22. StartConversation(conversation, NPC, Spawn, "Hello, traveler! I'm sorry about the mess. I'm carving a set of chess pieces, but I'm almost finished. Please, I'll only be a few minutes. Won't you listen to my story of the chessboard of Stormguard? I must know if it's only a story or if it bears any truth!")
  23. end
  24. function Option1(NPC, Spawn)
  25. FaceTarget(NPC, Spawn)
  26. local conversation = CreateConversation()
  27. PlayFlavor(NPC, "voiceover/english/breeza_harmet/antonica/breezaharmet001.mp3", "", "", 3045154578, 2506070034, Spawn)
  28. AddConversationOption(conversation, "Maybe you will be able to see it some day.", "offer")
  29. StartConversation(conversation, NPC, Spawn, "I love carving and shaping the wood, but I enjoy the game even more. It's nice to sit in the warm sun playing chess with a friend. And talking about real queens and knights! Which reminds me ... Did you know that the Knights of Thunder played chess, too? I heard stories that they hold their banquets upon a giant chessboard! Oh, that'd be wonderful to see!")
  30. end
  31. function Option2(NPC, Spawn)
  32. SetStepComplete(Spawn, ExploringTheChessboard, 2)
  33. FaceTarget(NPC, Spawn)
  34. local conversation = CreateConversation()
  35. PlayFlavor(NPC, "voiceover/english/breeza_harmet/antonica/breezaharmet003.mp3", "", "", 518518991, 634971827, Spawn)
  36. AddConversationOption(conversation, "I hope you are able to see it for yourself one day.")
  37. StartConversation(conversation, NPC, Spawn, "It does?! You saw it? I imagine it was a grand sight! Thank you for confirming the legend for me. It's good to know I wasn't spreading a false rumor!")
  38. end
  39. function offer(NPC, Spawn)
  40. OfferQuest(NPC, Spawn, ExploringTheChessboard)
  41. end
  42. function respawn(NPC)
  43. spawn(NPC)
  44. end