remotes/1693045480750635534/spooky-22
Aevann1 2021-11-01 20:36:46 +02:00
parent a4925d623f
commit 08b1e1cef7
1 changed files with 0 additions and 182 deletions

View File

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