This commit is contained in:
Aevann1 2022-02-26 21:34:10 +02:00
parent 169c1176e4
commit 6bc1e0e738
11 changed files with 13 additions and 9 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 129 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

View file

@ -415,6 +415,7 @@ def monthly(v):
elif u.patron == 4: procoins = 25000 elif u.patron == 4: procoins = 25000
elif u.patron == 5: procoins = 50000 elif u.patron == 5: procoins = 50000
elif u.patron == 6: procoins = 125000 elif u.patron == 6: procoins = 125000
elif u.patron == 7: procoins = 250000
u.procoins += procoins u.procoins += procoins
g.db.add(u) 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).") 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).")

View file

@ -26,8 +26,9 @@ tiers={
"(Renthog)": 2, "(Renthog)": 2,
"(Landchad)": 3, "(Landchad)": 3,
"(Terminally online turboautist)": 4, "(Terminally online turboautist)": 4,
"(Footpig)": 5, "(Marsey's Sugar Daddy)": 5,
"(Rich Bich)": 6, "(JIDF Bankroller)": 6,
"(Rich Bich)": 7,
"(LlamaBean)": 1, "(LlamaBean)": 1,
} }
@ -481,6 +482,7 @@ def gumroad(v):
elif v.patron == 4: procoins = 25000 elif v.patron == 4: procoins = 25000
elif v.patron == 5: procoins = 50000 elif v.patron == 5: procoins = 50000
elif u.patron == 6: procoins = 125000 elif u.patron == 6: procoins = 125000
elif u.patron == 7: procoins = 250000
v.procoins += procoins 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).") send_repeatable_notification(v.id, f"You have received {procoins} Marseybux! You can use them to buy awards in the [shop](/shop).")

View file

@ -60,7 +60,7 @@
<label class="custom-control-label" for="{{badge.id}}"></label> <label class="custom-control-label" for="{{badge.id}}"></label>
</div> </div>
</td> </td>
<td><label for="badge-{{badge.id}}"><img alt="{{badge.name}}" loading="lazy" src="/static/assets/images/badges/{{badge.id}}.webp?a=1013" width=64.16 height=70></label></td> <td><label for="badge-{{badge.id}}"><img alt="{{badge.name}}" loading="lazy" src="/static/assets/images/badges/{{badge.id}}.webp?a=1014" width=64.16 height=70></label></td>
<td>{{badge.name}}</td> <td>{{badge.name}}</td>
<td>{{badge.description}}</td> <td>{{badge.description}}</td>
</tr> </tr>

View file

@ -60,7 +60,7 @@
<label class="custom-control-label" for="{{badge.id}}"></label> <label class="custom-control-label" for="{{badge.id}}"></label>
</div> </div>
</td> </td>
<td><label for="badge-{{badge.id}}"><img alt="{{badge.name}}" loading="lazy" src="/static/assets/images/badges/{{badge.id}}.webp?a=1013" width=64.16 height=70></label></td> <td><label for="badge-{{badge.id}}"><img alt="{{badge.name}}" loading="lazy" src="/static/assets/images/badges/{{badge.id}}.webp?a=1014" width=64.16 height=70></label></td>
<td>{{badge.name}}</td> <td>{{badge.name}}</td>
<td>{{badge.description}}</td> <td>{{badge.description}}</td>
</tr> </tr>

View file

@ -23,7 +23,7 @@
<tr> <tr>
<td>{{loop.index}}</td> <td>{{loop.index}}</td>
<td>{{badge.name}}</td> <td>{{badge.name}}</td>
<td><img alt="{{badge.name}}" loading="lazy" src="/static/assets/images/badges/{{badge.id}}.webp?a=1013" width=45.83 height=50> <td><img alt="{{badge.name}}" loading="lazy" src="/static/assets/images/badges/{{badge.id}}.webp?a=1014" width=45.83 height=50>
<td>{{badge.description}}</td> <td>{{badge.description}}</td>
</tr> </tr>
{% endfor %} {% endfor %}

View file

@ -14,7 +14,7 @@
<td>{{loop.index}}</td> <td>{{loop.index}}</td>
<td><a style="color:#{{u.namecolor}}" href="/@{{u.username}}"><img loading="lazy" src="{{u.profile_url}}" class="pp20"><span {% if u.patron %}class="patron" style="background-color:#{{u.namecolor}}"{% endif %}>{{u.username}}</span></a></td> <td><a style="color:#{{u.namecolor}}" href="/@{{u.username}}"><img loading="lazy" src="{{u.profile_url}}" class="pp20"><span {% if u.patron %}class="patron" style="background-color:#{{u.namecolor}}"{% endif %}>{{u.username}}</span></a></td>
<td><img alt="2{{u.patron}}" loading="lazy" width=29.33 height=32 src="/static/assets/images/badges/2{{u.patron}}.webp?a=1013"></td> <td><img alt="2{{u.patron}}" loading="lazy" width=29.33 height=32 src="/static/assets/images/badges/2{{u.patron}}.webp?a=1014"></td>
</tr> </tr>
{% endfor %} {% endfor %}
</table> </table>

View file

@ -53,10 +53,11 @@ INSERT INTO public.badge_defs VALUES
(22,'Renthog','Contributed at least $10'), (22,'Renthog','Contributed at least $10'),
(23,'Landchad','Contributed at least $20'), (23,'Landchad','Contributed at least $20'),
(24,'Terminally online turboautist','Contributed at least $50'), (24,'Terminally online turboautist','Contributed at least $50'),
(25,'Footpig','Contributed at least $100'), (25,'Marsey''s Sugar Daddy','Contributed at least $100'),
(26,'Rich Bich','Contributed at least $500'), (26,'JIDF Bankroller','Contributed at least $250'),
(27,'Lolcow','Beautiful and valid milk provider'), (27,'Rich Bich','Contributed at least $500'),
(28,'Chud','Forced to use the chud theme'), (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'), (60,'Unironically Retarded','Demonstrated a wholesale inability to read the room'),
(61,'Lab Rat','Helped test features in development'), (61,'Lab Rat','Helped test features in development'),
(62,'Master Baiter','For outstanding achievement in the field of catching fish'), (62,'Master Baiter','For outstanding achievement in the field of catching fish'),