aussiebroadwan / tony

The Discord Bot for the TAB
0 stars 1 forks source link

Application: Snail Market #35

Open lcox74 opened 7 months ago

lcox74 commented 7 months ago

Requires:

Currently, each user possesses a single common rarity snail in their Deck, which has 25 usages. Once these usages are depleted, the snail is retired and replaced with a new common rarity snail with random stats and 25 usages.

To enhance the snail racing experience and provide users with more customization options, we propose implementing a Snail Market. This market will allow users to utilize their Credits (the in-game currency) to purchase snails of varying rarity. Prices will be adjusted based on the rarity of the snail, with higher rarity snails being more expensive.

Additionally, users should have the ability to sell their snails in the market. The sell price will be calculated as follows: sell_price = (buy_price * 0.9) * (usage / max_usage). This ensures that the sell price decreases as the snail's usage approaches its maximum limit.

To access the Snail Market, users can initiate the interface by running the command /snailrace market. This command will display their current balance, provide an explanation of how the market works, and present two buttons: BUY and SELL. Clicking the BUY button will prompt a select menu featuring options for different rarities and their corresponding prices. Users can only see and afford options within their budget. Upon selecting a rarity, a random snail of that rarity will be generated, and the user's account balance will be debited accordingly.

On the other hand, clicking the SELL button will present a select menu displaying the user's current snails along with their calculated sell prices. Users can choose a snail from this menu to remove it from their deck and receive credits in return.

Important: It's important to note that the market restricts users from selling common rarity snails to prevent abuse and exploitation of the system for infinite credits as @andrewj-brown and @peclarke would inevitably do.

lcox74 commented 7 months ago

The prices haven't been determined yet. I am open for suggestions, we have the following rarities: