r/CreateMod • • 4h 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

3 comments sorted by

1

u/Available-Squash1021 3h 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 1h 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/YoureMadImBackBigMac 51m ago

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