From fd1ffeff5ea8c7e5fbe09f66a4753ed60d33c419 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 1 Sep 2021 01:17:51 +0200 Subject: [PATCH] gfgf --- files/routes/users.py | 8 ++++---- files/templates/default.html | 2 +- files/templates/formatting.html | 2 +- files/templates/login.html | 2 +- files/templates/settings.html | 2 +- files/templates/settings2.html | 2 +- files/templates/sign_up.html | 2 +- files/templates/sign_up_failed_ref.html | 2 +- files/templates/submit.html | 2 +- 9 files changed, 12 insertions(+), 12 deletions(-) diff --git a/files/routes/users.py b/files/routes/users.py index 569387d39..815112ffc 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -44,13 +44,13 @@ def steal(v): return "You must have more than 100 coins in order to attempt stealing." u = get_account(253) if random.randint(1, 10) < 5: - v.coins += 1000 + v.coins += 700 v.steal_utc = int(time.time()) g.db.add(v) - u.coins -= 1000 + u.coins -= 700 g.db.add(u) - send_notification(NOTIFICATIONS_ACCOUNT, u, f"Some [grubby little rentoid](/@{v.username}) has absconded with 1000 of your hard-earned dramacoins to fuel his Funko Pop addiction. Stop being so trusting.") - send_notification(NOTIFICATIONS_ACCOUNT, v, f"You have successfully shorted your heroic landlord 1000 dramacoins in rent. You're slightly less materially poor, but somehow even moreso morally. Are you proud of yourself?") + send_notification(NOTIFICATIONS_ACCOUNT, u, f"Some [grubby little rentoid](/@{v.username}) has absconded with 700 of your hard-earned dramacoins to fuel his Funko Pop addiction. Stop being so trusting.") + send_notification(NOTIFICATIONS_ACCOUNT, v, f"You have successfully shorted your heroic landlord 700 dramacoins in rent. You're slightly less materially poor, but somehow even moreso morally. Are you proud of yourself?") else: if random.random() < 0.15: send_notification(NOTIFICATIONS_ACCOUNT, u, f"You caught [this sniveling little renthog](/@{v.username}) trying to rob you. After beating him within an inch of his life, you sold his Nintendo Switch for 500 dramacoins and called the cops. He was sentenced to one (1) day in renthog prison.") diff --git a/files/templates/default.html b/files/templates/default.html index f617dee4e..721d0282e 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -1161,7 +1161,7 @@ {% include "expanded_image_modal.html" %} - + diff --git a/files/templates/formatting.html b/files/templates/formatting.html index 9bfca0005..7e79915db 100644 --- a/files/templates/formatting.html +++ b/files/templates/formatting.html @@ -145,6 +145,6 @@ We also have some custom hooks for mentioning users and subreddits. Note that th {% include "expanded_image_modal.html" %} {% include "expanded_video_modal.html" %} - + {% endblock %} diff --git a/files/templates/login.html b/files/templates/login.html index 1b73d3fba..3b598009a 100644 --- a/files/templates/login.html +++ b/files/templates/login.html @@ -130,7 +130,7 @@ {% include "bootstrap.html" %} - + diff --git a/files/templates/settings.html b/files/templates/settings.html index 9b606f41d..1ecd09cfd 100644 --- a/files/templates/settings.html +++ b/files/templates/settings.html @@ -254,7 +254,7 @@ - + {% block onload %}{% endblock %} diff --git a/files/templates/settings2.html b/files/templates/settings2.html index 557d47b4e..52e1e7c81 100644 --- a/files/templates/settings2.html +++ b/files/templates/settings2.html @@ -226,7 +226,7 @@ }); - + {% block scripts %} {% endblock %} diff --git a/files/templates/sign_up.html b/files/templates/sign_up.html index ee14977df..006d48fe1 100644 --- a/files/templates/sign_up.html +++ b/files/templates/sign_up.html @@ -225,7 +225,7 @@ - + diff --git a/files/templates/sign_up_failed_ref.html b/files/templates/sign_up_failed_ref.html index 02f11b695..e8ff3d073 100644 --- a/files/templates/sign_up_failed_ref.html +++ b/files/templates/sign_up_failed_ref.html @@ -144,7 +144,7 @@ - + diff --git a/files/templates/submit.html b/files/templates/submit.html index 89a74798d..035e0eac0 100644 --- a/files/templates/submit.html +++ b/files/templates/submit.html @@ -409,7 +409,7 @@ - +