9
3

DylanIronforge.lua 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. --[[
  2. Script Name : SpawnScripts/qeynos_combined01/DylanIronforge.lua
  3. Script Purpose : Dylan Ironforge Dialog
  4. Script Author : premierio015
  5. Script Date : 03.05.2020
  6. Script Notes :
  7. --]]
  8. local CalcifiedBoneOfTheTortured = 527
  9. function spawn (NPC)
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. FaceTarget(NPC, Spawn)
  16. conversation = CreateConversation()
  17. PlayFlavor(NPC, "voiceover/english/dylan_ironforge/qey_north/dylanironforge001.mp3", "", "", 1912505605, 686002494, Spawn)
  18. AddConversationOption(conversation, "I agree.")
  19. AddConversationOption(conversation, "I don't think so.")
  20. if HasQuest(Spawn, CalcifiedBoneOfTheTortured) and GetQuestStep(Spawn, CalcifiedBoneOfTheTortured) == 2 then
  21. AddConversationOption(conversation, "Brawler Bently said to bring this bone to you.", "Bone")
  22. else
  23. end
  24. StartConversation(conversation, NPC, Spawn, "Nothing's cozier than a nice hot forge!")
  25. end
  26. function Bone(NPC, Spawn)
  27. FaceTarget(NPC, Spawn)
  28. conversation = CreateConversation()
  29. PlayFlavor(NPC, "voiceover/english/dylan_ironforge/qey_north/dylanironforge002.mp3", "", "", 1305798957, 3393168774, Spawn)
  30. AddConversationOption(conversation, "Can you make it into a weapon?", "Weapon")
  31. StartConversation(conversation, NPC, Spawn, "He did, did he? I suppose he means to collect on that favor, eh? Let me see that bone. Hmm ... I've never worked with bone before, but this is incredibly strong. Yes ... I can make something out of it. What would you like?")
  32. end
  33. function Weapon(NPC, Spawn)
  34. FaceTarget(NPC, Spawn)
  35. conversation = CreateConversation()
  36. PlayFlavor(NPC, "voiceover/english/dylan_ironforge/qey_north/dylanironforge003.mp3", "", "", 2500945418, 3245432018, Spawn)
  37. AddConversationOption(conversation, "Thank you Dylan.", "Reward")
  38. StartConversation(conversation, NPC, Spawn, "All right, this shouldn't take long. A little carving here ... a little shaping there ... and ... voila! Not too bad for one of my first works of bone, if I do say so myself. Now Bently can stop bugging me about that favor. HAHA!")
  39. end
  40. function Reward(NPC, Spawn)
  41. FaceTarget(NPC, Spawn)
  42. SetStepComplete(Spawn, CalcifiedBoneOfTheTortured, 2)
  43. end