OrdinaryMinecraft / OrdinaryCoins

Minecraft Forge Mod. Simple coins for server economy.
MIT License
3 stars 4 forks source link

Requesting a configurable stack limit for coins #2

Open mkern1200 opened 6 years ago

mkern1200 commented 6 years ago

Hi! I love this mod, it's very simple and exactly what I was looking for to use as a currency for my game. Problem is, I utilize custom villagers for a sort of "marketplace" for players. Villagers can only trade a limited quantity of items (up to 2 stacks). So there is a gap when trading with these villagers between, for example, 1 silver coin and 64 bronze coins (assuming 1 bronze = $0.01) and 2 silver coins.

So, an item that can be purchased for $1.75 can't be bought from said villager, because the villager cannot accept anything between $1.64 and $2.00 if only two stacks can be traded. The same applies for every dollar after $1 (cannot purchase items with up to 2 stacks if the price is between $1.64-$2.00 or $2.64-$3.00 or $3.64-$4.00, etc.).

What I would like to do is set the stack limit for each type of coin at 50 instead of 64, which will allow a maximum payment to villagers of $6,400.00 (more than enough for my purposes), while retaining ease of calculations. Is there a way to do this already, and if not, would it be possible to add one for 1.12.2?

Thanks in advance, Mike

flametaichou commented 6 years ago

Hi! Thanks for the feedback! I added stack conversion rate to settings (ordinarycoins.cfg) in latest version. Try to set the value to 64. Could it be the solution to your issue?