From 08b1e1cef77caa15b1623df22bd9ccec8cb88aa9 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 1 Nov 2021 20:36:46 +0200 Subject: [PATCH] fdsfds --- files/routes/awards.py | 182 ----------------------------------------- 1 file changed, 182 deletions(-) diff --git a/files/routes/awards.py b/files/routes/awards.py index 8c604c871..ffd767bc0 100755 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -166,69 +166,6 @@ def shop(v): "owned": 0, "price": 40000 }, - "haunt": { - "kind": "haunt", - "title": "Haunt", - "description": "???", - "icon": "fas fa-book-dead", - "color": "text-warning", - "owned": 0, - "price": 500 - }, - "upsidedown": { - "kind": "upsidedown", - "title": "The Upside Down", - "description": "???", - "icon": "fad fa-lights-holiday", - "color": "", - "owned": 0, - "price": 400 - }, - "stab": { - "kind": "stab", - "title": "Stab", - "description": "???", - "icon": "fas fa-knife-kitchen", - "color": "text-red", - "owned": 0, - "price": 300 - }, - "ghosts": { - "kind": "ghosts", - "title": "Ghosts", - "description": "???", - "icon": "fas fa-ghost", - "color": "text-white", - "owned": 0, - "price": 200 - }, - "spiders": { - "kind": "spiders", - "title": "Spiders", - "description": "???", - "icon": "fas fa-spider", - "color": "text-black", - "owned": 0, - "price": 200 - }, - "fog": { - "kind": "fog", - "title": "Fog", - "description": "???", - "icon": "fas fa-smoke", - "color": "text-gray", - "owned": 0, - "price": 200 - }, - "lootbox": { - "kind": "lootbox", - "title": "Homoween Lootbox", - "description": "???", - "icon": "fas fa-treasure-chest", - "color": "text-orange", - "owned": 0, - "price": 1000 - }, } else: AWARDS = { @@ -425,62 +362,6 @@ def buy(v, award): "color": "text-success", "price": 40000 }, - "haunt": { - "kind": "haunt", - "title": "Haunt", - "description": "???", - "icon": "fas fa-book-dead", - "color": "text-warning", - "price": 500 - }, - "upsidedown": { - "kind": "upsidedown", - "title": "The Upside Down", - "description": "???", - "icon": "fad fa-lights-holiday", - "color": "", - "price": 400 - }, - "stab": { - "kind": "stab", - "title": "Stab", - "description": "???", - "icon": "fas fa-knife-kitchen", - "color": "text-red", - "price": 300 - }, - "ghosts": { - "kind": "ghosts", - "title": "Ghosts", - "description": "???", - "icon": "fas fa-ghost", - "color": "text-white", - "price": 200 - }, - "spiders": { - "kind": "spiders", - "title": "Spiders", - "description": "???", - "icon": "fas fa-spider", - "color": "text-black", - "price": 200 - }, - "fog": { - "kind": "fog", - "title": "Fog", - "description": "???", - "icon": "fas fa-smoke", - "color": "text-gray", - "price": 200 - }, - "lootbox": { - "kind": "lootbox", - "title": "Homoween Lootbox", - "description": "???", - "icon": "fas fa-treasure-chest", - "color": "text-orange", - "price": 1000 - }, } else: AWARDS = { @@ -1018,69 +899,6 @@ def items(v): "owned": 0, "price": 40000 }, - "haunt": { - "kind": "haunt", - "title": "Haunt", - "description": "???", - "icon": "fas fa-book-dead", - "color": "text-warning", - "owned": 0, - "price": 500 - }, - "upsidedown": { - "kind": "upsidedown", - "title": "The Upside Down", - "description": "???", - "icon": "fad fa-lights-holiday", - "color": "", - "owned": 0, - "price": 400 - }, - "stab": { - "kind": "stab", - "title": "Stab", - "description": "???", - "icon": "fas fa-knife-kitchen", - "color": "text-red", - "owned": 0, - "price": 300 - }, - "ghosts": { - "kind": "ghosts", - "title": "Ghosts", - "description": "???", - "icon": "fas fa-ghost", - "color": "text-white", - "owned": 0, - "price": 200 - }, - "spiders": { - "kind": "spiders", - "title": "Spiders", - "description": "???", - "icon": "fas fa-spider", - "color": "text-black", - "owned": 0, - "price": 200 - }, - "fog": { - "kind": "fog", - "title": "Fog", - "description": "???", - "icon": "fas fa-smoke", - "color": "text-gray", - "owned": 0, - "price": 200 - }, - "lootbox": { - "kind": "lootbox", - "title": "Homoween Lootbox", - "description": "???", - "icon": "fas fa-treasure-chest", - "color": "text-orange", - "owned": 0, - "price": 1000 - }, } for useraward in g.db.query(AwardRelationship).filter(AwardRelationship.user_id == v.id, AwardRelationship.submission_id == None, AwardRelationship.comment_id == None).all(): AWARDS[useraward.kind]["owned"] += 1