9
3

GlumpMarrblade.lua 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. --[[
  2. Script Name : SpawnScripts/Castleview/GlumpMarrblade.lua
  3. Script Purpose : Glump Marrblade <Crafting Trainer>
  4. Script Author : Scatman
  5. Script Date : 2009.10.03
  6. Script Notes :
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericVoiceOvers.lua")
  9. function spawn(NPC, Spawn)
  10. end
  11. function respawn(NPC, Spawn)
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. GenericHail(NPC, Spawn)
  16. conversation = CreateConversation()
  17. -- artisan essentials volume 2
  18. if HasItem(Spawn, 31373, 1) then
  19. Say(NPC, "I have nothing else to teach you for the moment. Please return to me when you have earned enough experience to choose your profession.", Spawn)
  20. else
  21. AddConversationOption(conversation, "Yes, please teach me.", "TeachMe")
  22. AddConversationOption(conversation, "No, not at the moment.")
  23. StartConversation(conversation, NPC, Spawn, "You show interest in the crafting trade, good. We can always use talented artisans. I can help you get started, would you be interested?")
  24. end
  25. end
  26. function TeachMe(NPC, Spawn)
  27. FaceTarget(NPC, Spawn)
  28. conversation = CreateConversation()
  29. -- artisan essentials volume 2
  30. SummonItem(Spawn, 31373, 1)
  31. AddConversationOption(conversation, "I will start on that now.")
  32. StartConversation(conversation, NPC, Spawn, "There, you now have knowledge required to begin crafting. Speak to the Tradeskill Tutor for more detailed guidance on learning to craft, if you are interested in more information. Return to me when you are ready to select a crafting speciality.")
  33. end