9
3

RozokalNibamok.lua 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. --[[
  2. Script Name : SpawnScripts/TimorousDeep/RozokalNibamok.lua
  3. Script Author : Ememjr
  4. Script Date : 2021.01.28 10:01:51
  5. Script Purpose :
  6. :
  7. --]]
  8. local BecomingACrafter = 5210
  9. function spawn(NPC)
  10. ProvidesQuest(NPC, 11)
  11. end
  12. function hailed(NPC, Spawn)
  13. if HasQuest(Spawn, BecomingACrafter) then
  14. SetStepComplete(Spawn, BecomingACrafter, 1)
  15. end
  16. FaceTarget(NPC, Spawn)
  17. local conversation = CreateConversation()
  18. if GetQuestStep(Spawn, HarvestTutorial) == 8 then
  19. SetStepComplete(Spawn, HarvestTutorial, 8)
  20. conversation = CreateConversation()
  21. else
  22. if HasQuest(Spawn, HarvestTutorial) then
  23. Say (NPC,"You can find harvests for making level 1-9 items in areas where level 1-9 adventures go to hunt.")
  24. end
  25. if not HasCompletedQuest(NPC,11) and not HasQuest(Spawn, HarvestTutorial) then
  26. AddConversationOption(conversation, "Yes please, I don't know much about that stuff.", "Option1")
  27. AddConversationOption(conversation, "Sure, I think I'm pretty comfortable with it all but I can always use a memory refresher.", "Option1")
  28. AddConversationOption(conversation, "No thanks, I have other things to do right now.")
  29. StartConversation(conversation, NPC, Spawn, "Hello, friend! I'm here to teach interested people a little bit about how to harvest crafting materials, and how to craft tradeskilled items. Are you interested?")
  30. end
  31. function Option1(NPC, Spawn)
  32. FaceTarget(NPC, Spawn)
  33. local conversation = CreateConversation()
  34. if not HasCompletedQuest(Spawn, 11) then
  35. OfferQuest(NPC, Spawn,11)
  36. AddConversationOption(conversation, "I'll get right on it.")
  37. StartConversation(conversation, NPC, Spawn, "Harvesting resources tend to be segregated by areas - for example, you'll be able to harvest items (often also called nodes) for making equipment for level 1-9 adventurers, in the same areas where you'll find level 1-9 adventurers hunting. There are seven types of harvestable item: wood, roots, ore, soft metal, animal dens, shrubs, and fish. I'd like you to get a few harvests from each type of harvestable item.")
  38. end
  39. end
  40. function respawn(NPC)
  41. end