123ishaTest/ludiek

[Currency] Add maximum amount to CurrencyPlugin

Aperta

#132 aperta il 12 gen 2026

 (0 commenti) (0 reazioni) (0 assegnatari)TypeScript (4 fork)auto 404
good first issuehelp wantedplugin

Metriche repository

Star
 (12 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Currently there is no way to add a cap to currencies

Tasks

  • Expand the CurrencyDefinition with a cap: number
  • Create a test that asserts we cannot go over the cap

Future work

It seems reasonable to be able to add an upgrade that increases the cap, but I'm not sure if adding a modifier for it baked in is the right way to approach this....

Guida contributor