djessy5001 / luckywheel

4 stars 2 forks source link

Suggestion: Add the ability to only use the LuckyWheel from a specific item #1

Open rackgaming opened 1 year ago

rackgaming commented 1 year ago

Basically, person A. needs let's say a custom item named "LuckyWheel Token" or "Scrap" and upon using the luckywheel, they have to have this special token(whether it be custom NBT data with a custom lore) and when they spin the wheel it takes this token and then activates the wheel. Similiar to graves, you can basically put the item into a crafting table and add glow to the token indicating that it's a token

rackgaming commented 1 year ago

So essentially you're paying for the wheel for good items or to possibly win more of that token.

rackgaming commented 1 year ago

And the server owner can set how many of that token you must use, "this would be good for towny servers to let the towny owner have control over how many tokens you need.

rackgaming commented 1 year ago

e.g. 1 wheel is 5 tokens, another wheel is 10 tokens ect ect

djessy5001 commented 1 year ago

Hi, this could be a good idea, but I would like to get it right, so I can estimate if it can be done easily enough, or it will require a lot of work.

The first part, you are saying that it would be nice to have custom token (item with modified NBT) that could be used to spin the wheel (and would be then removed from the user's inventory).

Then, the next part you talk about being able to craft it (I am not sure ?), and that it increments the chances of having good loots ?

rackgaming commented 1 year ago

Like you put a specified item in this example any item set in config for example Emerald in crafting table to glowing emerald with the custom name specified in config by owner like Token LW Token

rackgaming commented 1 year ago

This doesnt increment chances of loot, it makes people work to use it

rackgaming commented 1 year ago

To be allowed to spin it

rackgaming commented 1 year ago

The other one is that they use 5 of these tokens, they get 5 spins

djessy5001 commented 1 year ago

Okay, I think that's a great idea, and I can manage that without changing too much code. I'll work on it !