remotes/1693045480750635534/spooky-22
Aevann1 2022-02-18 22:38:07 +02:00
parent 85eb520e6f
commit 90756ac07a
4 changed files with 5 additions and 0 deletions

View File

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

View File

@ -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]:

View File

@ -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]

View File

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