From 149e8e26364bb0b70d5445aaf42bc94a3ea364bb Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 26 Feb 2022 21:34:10 +0200 Subject: [PATCH] carpet --- files/routes/admin.py | 1 + files/routes/settings.py | 6 ++++-- files/templates/admin/badge_grant.html | 2 +- files/templates/admin/badge_remove.html | 2 +- files/templates/badges.html | 2 +- files/templates/patrons.html | 2 +- seed-db.sql | 7 ++++--- 7 files changed, 13 insertions(+), 9 deletions(-) diff --git a/files/routes/admin.py b/files/routes/admin.py index d3bf8a6a9..68dd3cca2 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -415,6 +415,7 @@ def monthly(v): elif u.patron == 4: procoins = 25000 elif u.patron == 5: procoins = 50000 elif u.patron == 6: procoins = 125000 + elif u.patron == 7: procoins = 250000 u.procoins += procoins g.db.add(u) send_repeatable_notification(u.id, f"@{v.username} has given you {procoins} Marseybux for the month of {month}! You can use them to buy awards in the [shop](/shop).") diff --git a/files/routes/settings.py b/files/routes/settings.py index deb131112..cac67e5e6 100644 --- a/files/routes/settings.py +++ b/files/routes/settings.py @@ -26,8 +26,9 @@ tiers={ "(Renthog)": 2, "(Landchad)": 3, "(Terminally online turboautist)": 4, - "(Footpig)": 5, - "(Rich Bich)": 6, + "(Marsey's Sugar Daddy)": 5, + "(JIDF Bankroller)": 6, + "(Rich Bich)": 7, "(LlamaBean)": 1, } @@ -481,6 +482,7 @@ def gumroad(v): elif v.patron == 4: procoins = 25000 elif v.patron == 5: procoins = 50000 elif u.patron == 6: procoins = 125000 + elif u.patron == 7: procoins = 250000 v.procoins += procoins send_repeatable_notification(v.id, f"You have received {procoins} Marseybux! You can use them to buy awards in the [shop](/shop).") diff --git a/files/templates/admin/badge_grant.html b/files/templates/admin/badge_grant.html index 76e1e75e4..44325fd0a 100644 --- a/files/templates/admin/badge_grant.html +++ b/files/templates/admin/badge_grant.html @@ -60,7 +60,7 @@ - + {{badge.name}} {{badge.description}} diff --git a/files/templates/admin/badge_remove.html b/files/templates/admin/badge_remove.html index 99b84a3d3..77a20c433 100644 --- a/files/templates/admin/badge_remove.html +++ b/files/templates/admin/badge_remove.html @@ -60,7 +60,7 @@ - + {{badge.name}} {{badge.description}} diff --git a/files/templates/badges.html b/files/templates/badges.html index 0c541f79d..e200c81ef 100644 --- a/files/templates/badges.html +++ b/files/templates/badges.html @@ -23,7 +23,7 @@ {{loop.index}} {{badge.name}} - {{badge.name}} + {{badge.name}} {{badge.description}} {% endfor %} diff --git a/files/templates/patrons.html b/files/templates/patrons.html index 32cfe3cee..da75b91eb 100644 --- a/files/templates/patrons.html +++ b/files/templates/patrons.html @@ -14,7 +14,7 @@ {{loop.index}} {{u.username}} - 2{{u.patron}} + 2{{u.patron}} {% endfor %} diff --git a/seed-db.sql b/seed-db.sql index 01c299aac..5d2f578b4 100644 --- a/seed-db.sql +++ b/seed-db.sql @@ -53,10 +53,11 @@ INSERT INTO public.badge_defs VALUES (22,'Renthog','Contributed at least $10'), (23,'Landchad','Contributed at least $20'), (24,'Terminally online turboautist','Contributed at least $50'), -(25,'Footpig','Contributed at least $100'), -(26,'Rich Bich','Contributed at least $500'), -(27,'Lolcow','Beautiful and valid milk provider'), +(25,'Marsey''s Sugar Daddy','Contributed at least $100'), +(26,'JIDF Bankroller','Contributed at least $250'), +(27,'Rich Bich','Contributed at least $500'), (28,'Chud','Forced to use the chud theme'), +(59,'Lolcow','Beautiful and valid milk provider'), (60,'Unironically Retarded','Demonstrated a wholesale inability to read the room'), (61,'Lab Rat','Helped test features in development'), (62,'Master Baiter','For outstanding achievement in the field of catching fish'),