Advertisement
ReshiStar

Untitled

Dec 27th, 2019
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.81 KB | None | 0 0
  1. What I need:
  2. a couple of scripts to make a quest feature on my server.
  3.  
  4. What does it do:
  5. Allows the player to get a scroll[a paper item, configurable] which will have a range of rarity scrolls it could give the player.
  6. Each scroll type has a chance for what it can give, decreasing in rarity.
  7.  
  8.  
  9. Master Scrolls can give:
  10. Fabled Quest Scroll, Mythic Quest Scroll, Legendary Quest Scroll
  11.  
  12. Expert Scrolls can give:
  13. Uncommon Quest Scroll, Rare Quest Scroll, Fabled Quest Scroll
  14.  
  15. Advanced Scrolls can give:
  16. Common Quest Scroll, Uncommon Quest Scroll, Rare Quest Scroll
  17.  
  18. Novice Scrolls can give:
  19. Beginner Quest Scroll, Common Quest Scroll
  20.  
  21. Scrolls like master, expert, advanced, ill reference at this point as Unknown scrolls.
  22. Scroll quests like beginner, common, uncommon, rare, ill reference at this point as Rarity Quests.
  23.  
  24. Unknown quest scrolls need to be able to be obtained by a command, and be able to be used by right clicking for a Rarity quest of relative rankings
  25. Rarity quests will contain a multitude of objectives depending on rarity.
  26.  
  27. For example;
  28. Beginner Quest Scroll could have 1-4 objectives on it
  29. Rare Quest Scroll could have 3-6 objectives on it.
  30.  
  31. These amounts need to be configurable if possible(meaning if i decide i want Beginner Quest Scrolls, to have 2-3 later, i want to be able to modify it myself)
  32. if not, let me know.
  33.  
  34. As for objectives, the difficulty and quantity of these objectives needs to be configurable by rarity.
  35. Objectives will go as follows:
  36. Walk on land
  37. Swim in water
  38. Cook in a furnace
  39. Craft items
  40. Place a specific block
  41. Enter a specific region(needs to be compatible with worldguard regions, or an alternative region selectior if you provide one)
  42. Fishing
  43. Breaking specific blocks
  44. Killing specific mobs(needs to be compatible with mythic mobs-no exceptions)
  45.  
  46. The quantity regarding these objectives as stated will need to be configurable by rarity,
  47. meaning a Beginner Quest Scroll could ask for;
  48. Walk 20 blocks on land
  49. Fish 2 things
  50.  
  51. and a Fabled Quest Scroll could ask for;
  52. Walk 2714 blocks on land
  53. Fish 128 things
  54. Kill 308 Pirates
  55.  
  56. and so on.
  57. Rarity scrolls need to be progress locked to the player, meaning if someone else picks it up, they cant make progress on it.
  58. exceptions being coop within a distance between players.
  59.  
  60. The Rarity scrolls need to be able to display the objective quantity and current progress like such;
  61. Fish 20 things: 12
  62.  
  63. and for objectives completed, to be crossed off and no longer counted for that Rarity scroll.
  64.  
  65. if a player has multiple quest scrolls that ask for the same objective, it should be completed based on inventory position.
  66. Meaning if slot 3 has a quest for walking 20 blocks, it takes priority over the quest in slot 22, which asks for walking 26 blocks.
  67. it needs to be able to check for position often, incase the player reorganizes their inventory.
  68.  
  69. Quest objectives need to be done in order or priority, and one objective at a time per quest.
  70. Meaning;
  71. if slot 3 has a quest:
  72. Fish 20 things
  73. Walk 210 blocks
  74.  
  75. and slot 12 has a quest:
  76. Fish 15 things
  77. Kill 15 pirates
  78. craft 12 items
  79. craft 2 daggers
  80.  
  81. and slot 15 has a quest:
  82. cook 2 things
  83. fish 2 things
  84. Walk 30 blocks
  85.  
  86. Using those numbers above, say the player fishes 23 things, crafts 1 thing, cooks 1 thing, and walks 200 blocks.
  87. the progress should go as follows:
  88. Fish 20 things: 20 - done
  89. Walk 210 blocks: 200
  90.  
  91. Fish 15 things: 3
  92. Kill 15 pirates: 0
  93. craft 12 items: 1
  94.  
  95. cook 2 things: 1
  96. fish 2 things: 0
  97. Walk 30 blocks: 0
  98.  
  99. Quest objectives need to be visible in the lore of the scroll its linked to, and should show updated progress when made.
  100.  
  101. and once all the objectives are completed, the player should then be able to right click the scroll in their hand, and should
  102. have access to a configurable reward menu.
  103.  
  104. If a player logs out, their progress should be saved.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement