diff --git a/files/routes/settings.py b/files/routes/settings.py index 6fa0462e7..41ef545d0 100644 --- a/files/routes/settings.py +++ b/files/routes/settings.py @@ -337,6 +337,16 @@ def settings_profile_post(v): updated = True else: abort(400) + house = request.values.get("house") + if house and house in ("None","Furry","Femboy","Vampire","Racist"): + if v.coins > 500: v.coins -= 500 + elif v.procoins > 500: v.procoins -= 500 + else: abort(403) + + if house == "None": house = None + v.house = house + updated = True + quadrant = request.values.get("quadrant") if quadrant and request.host == 'pcmemes.net'.lower(): v.quadrant = quadrant diff --git a/files/templates/settings_profile.html b/files/templates/settings_profile.html index 6dc945500..302b9c65e 100644 --- a/files/templates/settings_profile.html +++ b/files/templates/settings_profile.html @@ -39,6 +39,54 @@ {% endif %} + + + + + +

House

+ +
+ +
+
+ +
+ +
+

Change your house (cost: 500 coins or marseybux).

+
+ +
+ +
+ +
+
+ + + + + + + + + + + + + + + + + +

Theme

diff --git a/files/templates/submit.html b/files/templates/submit.html index e0e43c966..a5fce15fd 100644 --- a/files/templates/submit.html +++ b/files/templates/submit.html @@ -174,10 +174,6 @@
-
- - -
{% if v.club_allowed != False %}
@@ -185,6 +181,12 @@
{% endif %} + +
+ + +
+