9
3

RozokalNibamok.lua 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. require "SpawnScripts/Generic/DialogModule"
  9. local BecomingACrafter = 5210
  10. local HarvestTutorial = 11
  11. function spawn(NPC)
  12. ProvidesQuest(NPC, HarvestTutorial)
  13. end
  14. function hailed(NPC, Player)
  15. if HasQuest(Player, BecomingACrafter) then
  16. SetStepComplete(Player, BecomingACrafter, 1)
  17. --gave 150 TSexp
  18. end
  19. Say (NPC,"1")
  20. FaceTarget(NPC, Player)
  21. --greetings
  22. Dialog.New(NPC,Player)
  23. Dialog.AddDialog("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?")
  24. Dialog.AddRequirement(REQ_QUEST_NOT_HAS_COMPLETED_QUEST, HarvestTutorial)
  25. Dialog.AddRequirement(REQ_QUEST_DOESNT_HAVE_QUEST, HarvestTutorial)
  26. Dialog.AddOption("Yes please, I don't know much about that stuff.", "Option1")
  27. Dialog.AddOption("Sure, I think I'm pretty comfortable with it all but I can always use a memory refresher.", "Option1")
  28. Dialog.AddOption("No thanks, I have other things to do right now.")
  29. Dialog.AddDialog("You can find harvest for making level 1-9 items in areas where level 1-9 adventures go to hunt.")
  30. Dialog.Start()
  31. end
  32. function Option1(NPC, Player)
  33. FaceTarget(NPC, Player)
  34. OfferQuest(NPC, Player, HarvestTutorial)
  35. --Dialog.New(NPC,Player)
  36. -- Dialog.AddDialog("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.")
  37. -- Dialog.AddOption("I'll get right on it.")
  38. -- Dialog.Start()
  39. end
  40. function respawn(NPC)
  41. end