Commit Graph

5 Commits

Author SHA1 Message Date
Julian Marcos ca5c6d68d0
Make total_coins function and deduplicate code
Made a total_coins function and refactored code
to not duplicate statement.
2024-01-14 03:55:31 +01:00
Julian Marcos b2777b8e71
Rename ducks-fine to clarify things 2024-01-14 03:15:05 +01:00
Julian Marcos ddbef430e4
Limit fine percentage from 0% to 100% 2024-01-14 03:14:24 +01:00
Julian Marcos a19aed852a
ducks-fine is now a percentage of the total
The old behaviour is removed, and this is a
BREAKING change, as the config option was
mentioning a amount, while now mentions a
percentage of the total.

It also rounds the number to the acceptable
units, that's why I imported decimal.
2024-01-14 01:52:58 +01:00
deepend-tildeclub a7df655291
Create ducks.py 2024-01-13 13:58:21 -07:00