Commit Graph

8 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
deepend-tildeclub 9ab96e7eb0
Merge pull request #1 from Juliaria08/percentage
ducks-fine is now a percentage of the total
2024-01-13 19:23:24 -07: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 c216ac4b26
Create README.md 2024-01-13 13:59:32 -07:00
deepend-tildeclub a7df655291
Create ducks.py 2024-01-13 13:58:21 -07:00
deepend-tildeclub 71dd84c584
Initial commit 2024-01-13 13:57:38 -07:00