issues
search
whitep4nth3r
/
pantherworld
View your p4nth3rworld inventory, read the manual, and more!
https://p4nth3r.world
21
stars
6
forks
source link
[feat] Inventory limits
#41
Open
whitep4nth3r
opened
3 months ago
whitep4nth3r
commented
3 months ago
Ways we can limit:
number of items
wealth index
OR
total number based on rarity accumulation (but this is a moving limit based on some factors)
e.g. you can have a total of 15000 rarity points
e.g. if your inventory is at max 15000, you want to claim a sapphire (1000), you need to drop 1000 worth of rarity
would maybe need to calculate a current median of the current user inventories
@matthewbrandt says i.e. if the user base average is 100 points, you are allowed 120 (20% over)
this would need to be a cron job that updates ever 24 hours, it’s too expensive to calculate every time someone wants to claim
there could be a moving limit per day
Ways we can limit:
OR