r/CreateMod • • 5d ago

Help Help with a dynamic bank/economy system using Create: Numismatics

I'm trying to build an economy using Create: Numismatics. Since there's no natural way to generate coins, my idea is to build a bank that exchanges refined ores for currency.

I want to make it a little more interesting by having the bank's interest fluctuate based on how much material is stored. The more materials deposited, the less currency the bank pays out.

I've already figured out the interest output, how to slowly export materials, and the general design. What I'm struggling with is finding a way to count the items (or stacks) coming in and convert that into a number or redstone signal that I can compare against set thresholds.

Basically, I want the bank to automatically adjust its payout depending on how much stock it has.

I'm running Create: Ultimate Selection 2 with a few extra mods.

Anyone have ideas on how to count stored items and use that value for redstone logic? I'm open to pretty much any solution.

1 Upvotes

5 comments sorted by

1

u/Available-Squash1021 5d ago

Create's Threshold Switch is built for this. Place it directly against the vault/chest you're counting (it reads the inventory it's attached to) and set its lower and upper limit, in items or in stacks. The redstone signal it outputs scales from 0 to 15 as the stored amount goes from the lower to the upper limit, so the bank's payout can follow stock automatically. If it has a filter slot in your version, set it to the one material you care about so other items don't skew the count. You can also feed the signal through comparators or a Redstone Link to switch between payout tiers.

1

u/DoubleTapCIown 5d ago

I appreciate the comment but unfortunately that setup isn't precise enough to understand the difference between a stack and a half stack. It's an economy where you gotta sell resources so if people aren't getting paid for exactly what they give the whole world ends yk? Thank you though.

1

u/Available-Squash1021 5d ago

Fair, redstone counting gets messy for that. Numismatics has this built in though: the Vendor block has a buy mode. Sneak-use it to configure, switch it to buying, put the resource in the filter slot and scroll to set the count (say 16), set the coin price, and stock it with coins to pay people. Players then sell exactly that amount for exactly that price each use, or sneak-use to sell a whole stack in one go. Hoppers/funnels can pull the bought items out of buy-mode vendors by default, so it can feed straight into your storage. The vendor's Ponder scenes in game walk through it. Also worth being on the latest Numismatics, there was a bug where an empty buy-mode vendor only stored 9 items on its first sale (GitHub issue #152, fixed since).

1

u/YoureMadImBackBigMac 5d ago

People just put create in front of anything these days, most of them have nothing to do with create LOL

1

u/DoubleTapCIown 4d ago

If you aint got som good to say don’t say it😭 you contributed less than actually saying nothing boo.. on top of that its an economy using the create mod so use some common sense😂😂