forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2022-02-26 21:34:10 +02:00
parent 17aeb81713
commit 149e8e2636
7 changed files with 13 additions and 9 deletions

View File

@ -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).")

View File

@ -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).")

View File

@ -60,7 +60,7 @@
<label class="custom-control-label" for="{{badge.id}}"></label>
</div>
</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.description}}</td>
</tr>

View File

@ -60,7 +60,7 @@
<label class="custom-control-label" for="{{badge.id}}"></label>
</div>
</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.description}}</td>
</tr>

View File

@ -23,7 +23,7 @@
<tr>
<td>{{loop.index}}</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>
</tr>
{% endfor %}

View File

@ -14,7 +14,7 @@
<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><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>
{% endfor %}
</table>

View File

@ -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'),