Remove most badges
|
@ -46,60 +46,12 @@ INSERT INTO public.badge_defs VALUES
|
|||
(11,'Silver Recruiter','Recruited 10 friends to join the site'),
|
||||
(12,'Gold Recruiter','Recruited 100 friends to join the site'),
|
||||
(15,'Idea Maker','Had a good idea for the site which was implemented by the developers'),
|
||||
(16,'Marsey Master','Contributed 10 (or more!!!!) Marsey emojis ✨'),
|
||||
(17,'Marsey Artisan','Contributed a Marsey emoji ✨'),
|
||||
(18,'Artisan','Contributed to site artwork'),
|
||||
(21,'Paypig','Contributed at least $5'),
|
||||
(22,'Renthog','Contributed at least $10'),
|
||||
(23,'Landchad','Contributed at least $20'),
|
||||
(24,'Terminally online turboautist','Contributed at least $50'),
|
||||
(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'),
|
||||
(63,'Balls','I wrote carp on my balls as a sign of submission'),
|
||||
(64,'The Other Kind Of Good Journalist','Contributed positive media attention to the site'),
|
||||
(65,'2021 Spooooooky Marsey Artist','Contributed a VERY SCARY Marsey for Halloween 2021!'),
|
||||
(66,'Sk8r Boi','Certifies that this user is NOT a poser'),
|
||||
(67,'Unpausable','Spent 40,000 coins on an unpausable profile anthem'),
|
||||
(68,'Pause Button','Spent 20,000 coins on a profile anthem pause button'),
|
||||
(69,'Little Big Spender','Dropped 10,000 coins at the shop'),
|
||||
(70,'Big Spender','Dropped 100,000 coins at the shop'),
|
||||
(71,'Big Big Spender','Dropped 250,000 coins at the shop'),
|
||||
(72,'Big Big Big Spender','Dropped 500,000 coins at the shop'),
|
||||
(73,'Le Rich Gentlesir','Spent a fucking million coins at the shop'),
|
||||
(74,'Grass Toucher','Awarded for molesting plant life'),
|
||||
(75,'Halloween 21','Awarded for surviving Homoween 2021'),
|
||||
(76,'Low Roller','Bought 10 lootboxes'),
|
||||
(77,'Middle Roller','Bought 50 lootboxes'),
|
||||
(78,'High Roller','Bought 150 lootboxes'),
|
||||
(79,'Merchant','Contributed a new line of product to Marsey''s Coin Emporium'),
|
||||
(80,'Artist Laureate',''),
|
||||
(81,'Patron of the Arts','Sponsored the creation of an approved Marsey'),
|
||||
(83,'All-Seeing Eye','Can view private profiles'),
|
||||
(84,'Alt-Seeing Eye','Can see alts'),
|
||||
(85,'Sigma User',''),
|
||||
(86,'Holly Jolly Marsey Artist','Contributed a VERY JOLLY Marsey for Christmas 2021!'),
|
||||
(87,'Unblockable','This user is unblockable'),
|
||||
(88,'Provider','This user provided a bountiful feast for Thanksgiving'),
|
||||
(89,'Dinner','Yes, it is edible'),
|
||||
(90,'Fish','This user cannot be unfollowed'),
|
||||
(91,'Grinch','This user is a joyless grinch who pays money to avoid having fun'),
|
||||
(92,'NFT Artist','Drew a marsey that was used as an NFT'),
|
||||
(93,'NFT Owner','Bought a marsey NFT'),
|
||||
(94,'Progressive Stack Award','Upvotes/downvotes on this user''s posts and comments have double the ranking effect'),
|
||||
(95,'Bird Site Award','This user is limited to 140 characters'),
|
||||
(96,'Flairlock Award','This user''s flair has been locked by someone else'),
|
||||
(97,'Pizzashill Award','This user has to make their posts and comments more than 280 characters'),
|
||||
(98,'Marsey Award','This user is limited to posting marseys'),
|
||||
(99,'Sidebar Artist','Contributed artwork featured on the sidebar'),
|
||||
(100,'True Believer','This user sees through communist lies'),
|
||||
(101,'Banner Artist','Contributed a banner image to the site'),
|
||||
(102,'Christmas 21','Awarded for surviving Fistmas 2021'),
|
||||
(103,'Benefactor','Gave the Benefactor award to someone'),
|
||||
(104,'BADASS OUTLAW','Bad boy who does not play by the rules'),
|
||||
(105,'SCAM','lmao get fucked retard');
|
||||
(21,'Patron I','Contributed at least $5'),
|
||||
(22,'Patron II','Contributed at least $10'),
|
||||
(23,'Patron III','Contributed at least $20'),
|
||||
(24,'Patron IV','Contributed at least $50'),
|
||||
(25,'Patron V','Contributed at least $100'),
|
||||
(26,'Patron VI','Contributed at least $250'),
|
||||
(27,'Patron VII','Contributed at least $500'),
|
||||
(61,'Lab Rat','Helped test features in development');
|
||||
|
|
Before Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 128 KiB |
Before Width: | Height: | Size: 6.7 KiB |
Before Width: | Height: | Size: 5.5 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 6.8 KiB |
Before Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 4 KiB |
Before Width: | Height: | Size: 5 KiB |
Before Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 5 KiB |
Before Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 6.8 KiB |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 7.9 KiB |
Before Width: | Height: | Size: 54 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 3 KiB |
Before Width: | Height: | Size: 8.1 KiB |
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 6.1 KiB |
Before Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 6 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 229 KiB |
Before Width: | Height: | Size: 210 KiB |
Before Width: | Height: | Size: 290 KiB |
Before Width: | Height: | Size: 94 KiB |
Before Width: | Height: | Size: 61 KiB |
Before Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 5.1 KiB |
|
@ -68,8 +68,6 @@ class User(CreatedBase):
|
|||
received_award_count = Column(Integer, default=0, nullable=False)
|
||||
admin_level = Column(Integer, default=0, nullable=False)
|
||||
coins_spent = Column(Integer, default=0, nullable=False)
|
||||
lootboxes_bought = Column(Integer, default=0, nullable=False)
|
||||
agendaposter = Column(Integer, default=0, nullable=False)
|
||||
changelogsub = Column(Boolean, default=False, nullable=False)
|
||||
is_activated = Column(Boolean, default=False, nullable=False)
|
||||
shadowbanned = Column(String)
|
||||
|
|
|
@ -54,34 +54,6 @@ def buy(v, award):
|
|||
if v.coins < price: abort(400, "Not enough coins.")
|
||||
v.coins -= price
|
||||
v.coins_spent += price
|
||||
if v.coins_spent >= 1000000 and not v.has_badge(73):
|
||||
new_badge = Badge(badge_id=73, user_id=v.id)
|
||||
g.db.add(new_badge)
|
||||
g.db.flush()
|
||||
send_notification(v.id, f"@AutoJanny has given you the following profile badge:\n\n\n\n{new_badge.name}")
|
||||
elif v.coins_spent >= 500000 and not v.has_badge(72):
|
||||
new_badge = Badge(badge_id=72, user_id=v.id)
|
||||
g.db.add(new_badge)
|
||||
g.db.flush()
|
||||
send_notification(v.id, f"@AutoJanny has given you the following profile badge:\n\n\n\n{new_badge.name}")
|
||||
elif v.coins_spent >= 250000 and not v.has_badge(71):
|
||||
|
||||
new_badge = Badge(badge_id=71, user_id=v.id)
|
||||
g.db.add(new_badge)
|
||||
g.db.flush()
|
||||
send_notification(v.id, f"@AutoJanny has given you the following profile badge:\n\n\n\n{new_badge.name}")
|
||||
elif v.coins_spent >= 100000 and not v.has_badge(70):
|
||||
new_badge = Badge(badge_id=70, user_id=v.id)
|
||||
g.db.add(new_badge)
|
||||
g.db.flush()
|
||||
send_notification(v.id, f"@AutoJanny has given you the following profile badge:\n\n\n\n{new_badge.name}")
|
||||
elif v.coins_spent >= 10000 and not v.has_badge(69):
|
||||
new_badge = Badge(badge_id=69, user_id=v.id)
|
||||
g.db.add(new_badge)
|
||||
g.db.flush()
|
||||
send_notification(v.id, f"@AutoJanny has given you the following profile badge:\n\n\n\n{new_badge.name}")
|
||||
g.db.add(v)
|
||||
|
||||
|
||||
award_object = AwardRelationship(user_id=v.id, kind=award)
|
||||
g.db.add(award_object)
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
<h3 class="mt-4">Stir drama. Earn coins.</h5>
|
||||
<h5 class="mt-4">Total sales: {{sales}} coins</h5>
|
||||
<h5 class="mt-4">Coins spent by you: {{v.coins_spent}} coins</h5>
|
||||
<h5 class="mt-4">Lootboxes bought by you: {{v.lootboxes_bought}} lootbox{{'es' if v.lootboxes_bought != 1}}</h5>
|
||||
<h5 class="mt-4">Your current coins: {{v.coins}}</h5>
|
||||
<h5 class="mt-4">Your current marseybux: {{v.procoins}}</h3>
|
||||
</header>
|
||||
|
|