From 90756ac07ab0ed6b3aab0a19af04e84c8d890096 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 18 Feb 2022 22:38:07 +0200 Subject: [PATCH] nvb --- files/routes/admin.py | 1 + files/routes/awards.py | 2 ++ files/routes/posts.py | 1 + files/routes/settings.py | 1 + 4 files changed, 5 insertions(+) diff --git a/files/routes/admin.py b/files/routes/admin.py index fa0e33604..de8ff0fd2 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -304,6 +304,7 @@ def monthly(v): elif u.patron == 3: procoins = 10000 elif u.patron == 4: procoins = 25000 elif u.patron == 5: procoins = 50000 + elif u.patron == 6: procoins = 125000 u.procoins += procoins g.db.add(u) send_repeatable_notification(u.id, f"You were given {procoins} Marseybux for the month of {month}! You can use them to buy awards in the [shop](/shop).") diff --git a/files/routes/awards.py b/files/routes/awards.py index e8b3300bf..5562faeb5 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -76,6 +76,7 @@ def shop(v): elif v.patron == 3: discount = 0.80 elif v.patron == 4: discount = 0.75 elif v.patron == 5: discount = 0.70 + elif v.patron == 6: discount = 0.65 else: discount = 1 for badge in [69,70,71,72,73]: @@ -105,6 +106,7 @@ def buy(v, award): elif v.patron == 3: discount = 0.80 elif v.patron == 4: discount = 0.75 elif v.patron == 5: discount = 0.70 + elif v.patron == 6: discount = 0.65 else: discount = 1 for badge in [69,70,71,72,73]: diff --git a/files/routes/posts.py b/files/routes/posts.py index 557ff930b..aada9ec48 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -48,6 +48,7 @@ def ghost_price(v): elif v.patron == 3: discount = 0.80 elif v.patron == 4: discount = 0.75 elif v.patron == 5: discount = 0.70 + elif v.patron == 6: discount = 0.65 else: discount = 1 for badge in [69,70,71,72,73]: if v.has_badge(badge): discount -= discounts[badge] diff --git a/files/routes/settings.py b/files/routes/settings.py index d2272716a..93af1791f 100644 --- a/files/routes/settings.py +++ b/files/routes/settings.py @@ -478,6 +478,7 @@ def gumroad(v): elif v.patron == 3: procoins = 10000 elif v.patron == 4: procoins = 25000 elif v.patron == 5: procoins = 50000 + elif u.patron == 6: procoins = 125000 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).")