9
3

TaraIronforge.lua 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. --[[
  2. Script Name : SpawnScripts/NorthQeynos/TaraIronforge.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.01.26 11:01:00
  5. Script Purpose : Jewelery Pickup for Taneran quest
  6. :
  7. --]]
  8. local Taneran = 5459
  9. function spawn(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. conversation = CreateConversation()
  13. FaceTarget(NPC, Spawn)
  14. PlayFlavor(NPC, "voiceover/english/tara_ironforge/qey_north/taraironforge.mp3", "", "", 1778772317, 1476685213, Spawn)
  15. if GetQuestStep (Spawn, Taneran)==1 then
  16. AddConversationOption(conversation, "I'm here to pick up an order for Taneran. Here is the order form.","Order")
  17. end
  18. AddConversationOption(conversation, "Thank you. I'll browse around.")
  19. StartConversation(conversation, NPC, Spawn, "Hello, friend! I've just received some fine gems from the hard-working dwarves in the village! Take a look. See if anything strikes your fancy.")
  20. end
  21. function respawn(NPC)
  22. spawn(NPC)
  23. end
  24. function Order(NPC, Spawn)
  25. conversation = CreateConversation()
  26. FaceTarget(NPC, Spawn)
  27. PlayFlavor(NPC, "", "", "agree", 0, 0, Spawn)
  28. AddConversationOption(conversation, "I'll get it to him. Thank you.","Pickup")
  29. StartConversation(conversation, NPC, Spawn, "Oh! Let's look. Yes, I believe I have just what he's looking for. Take this to him. I am certain he will be pleased.")
  30. end
  31. function Pickup(NPC, Spawn)
  32. SetStepComplete(Spawn, Taneran, 1)
  33. end