Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- What I need:
- a couple of scripts to make a quest feature on my server.
- What does it do:
- Allows the player to get a scroll[a paper item, configurable] which will have a range of rarity scrolls it could give the player.
- Each scroll type has a chance for what it can give, decreasing in rarity.
- Master Scrolls can give:
- Fabled Quest Scroll, Mythic Quest Scroll, Legendary Quest Scroll
- Expert Scrolls can give:
- Uncommon Quest Scroll, Rare Quest Scroll, Fabled Quest Scroll
- Advanced Scrolls can give:
- Common Quest Scroll, Uncommon Quest Scroll, Rare Quest Scroll
- Novice Scrolls can give:
- Beginner Quest Scroll, Common Quest Scroll
- Scrolls like master, expert, advanced, ill reference at this point as Unknown scrolls.
- Scroll quests like beginner, common, uncommon, rare, ill reference at this point as Rarity Quests.
- 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
- Rarity quests will contain a multitude of objectives depending on rarity.
- For example;
- Beginner Quest Scroll could have 1-4 objectives on it
- Rare Quest Scroll could have 3-6 objectives on it.
- 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)
- if not, let me know.
- As for objectives, the difficulty and quantity of these objectives needs to be configurable by rarity.
- Objectives will go as follows:
- Walk on land
- Swim in water
- Cook in a furnace
- Craft items
- Place a specific block
- Enter a specific region(needs to be compatible with worldguard regions, or an alternative region selectior if you provide one)
- Fishing
- Breaking specific blocks
- Killing specific mobs(needs to be compatible with mythic mobs-no exceptions)
- The quantity regarding these objectives as stated will need to be configurable by rarity,
- meaning a Beginner Quest Scroll could ask for;
- Walk 20 blocks on land
- Fish 2 things
- and a Fabled Quest Scroll could ask for;
- Walk 2714 blocks on land
- Fish 128 things
- Kill 308 Pirates
- and so on.
- Rarity scrolls need to be progress locked to the player, meaning if someone else picks it up, they cant make progress on it.
- exceptions being coop within a distance between players.
- The Rarity scrolls need to be able to display the objective quantity and current progress like such;
- Fish 20 things: 12
- and for objectives completed, to be crossed off and no longer counted for that Rarity scroll.
- if a player has multiple quest scrolls that ask for the same objective, it should be completed based on inventory position.
- 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.
- it needs to be able to check for position often, incase the player reorganizes their inventory.
- Quest objectives need to be done in order or priority, and one objective at a time per quest.
- Meaning;
- if slot 3 has a quest:
- Fish 20 things
- Walk 210 blocks
- and slot 12 has a quest:
- Fish 15 things
- Kill 15 pirates
- craft 12 items
- craft 2 daggers
- and slot 15 has a quest:
- cook 2 things
- fish 2 things
- Walk 30 blocks
- Using those numbers above, say the player fishes 23 things, crafts 1 thing, cooks 1 thing, and walks 200 blocks.
- the progress should go as follows:
- Fish 20 things: 20 - done
- Walk 210 blocks: 200
- Fish 15 things: 3
- Kill 15 pirates: 0
- craft 12 items: 1
- cook 2 things: 1
- fish 2 things: 0
- Walk 30 blocks: 0
- Quest objectives need to be visible in the lore of the scroll its linked to, and should show updated progress when made.
- and once all the objectives are completed, the player should then be able to right click the scroll in their hand, and should
- have access to a configurable reward menu.
- If a player logs out, their progress should be saved.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement