diff --git a/files/helpers/const.py b/files/helpers/const.py index a9f188215..cadfd2596 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -616,7 +616,30 @@ AWARDS = { "color": "text-gold", "price": 50000 }, - + "snow": { + "kind": "snow", + "title": "Snow", + "description": "???", + "icon": "fas fa-snowflake", + "color": "text-gray", + "price": 300 + }, + "mistletoe": { + "kind": "mistletoe", + "title": "Mistletoe", + "description": "???", + "icon": "fas fa-mistletoe", + "color": "text-gray", + "price": 600 + }, + "mariah": { + "kind": "mariah", + "title": "Mariah", + "description": "???", + "icon": "fas fa-music", + "color": "text-gray", + "price": 800 + }, } AWARDS2 = { @@ -764,6 +787,30 @@ AWARDS2 = { "color": "text-gold", "price": 50000 }, + "snow": { + "kind": "snow", + "title": "Snow", + "description": "???", + "icon": "fas fa-snowflake", + "color": "text-gray", + "price": 300 + }, + "mistletoe": { + "kind": "mistletoe", + "title": "Mistletoe", + "description": "???", + "icon": "fas fa-mistletoe", + "color": "text-gray", + "price": 600 + }, + "mariah": { + "kind": "mariah", + "title": "Mariah", + "description": "???", + "icon": "fas fa-music", + "color": "text-gray", + "price": 800 + }, } TROLLTITLES = [ diff --git a/files/routes/awards.py b/files/routes/awards.py index 13f9cdd51..c29346ae1 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -210,6 +210,33 @@ def shop(v): "owned": 0, "price": 50000 }, + "snow": { + "kind": "snow", + "title": "Snow", + "description": "???", + "icon": "fas fa-snowflake", + "color": "text-gray", + "owned": 0, + "price": 300 + }, + "mistletoe": { + "kind": "mistletoe", + "title": "Mistletoe", + "description": "???", + "icon": "fas fa-mistletoe", + "color": "text-gray", + "owned": 0, + "price": 600 + }, + "mariah": { + "kind": "mariah", + "title": "Mariah", + "description": "???", + "icon": "fas fa-music", + "color": "text-gray", + "owned": 0, + "price": 800 + }, } for useraward in g.db.query(AwardRelationship).filter(AwardRelationship.user_id == v.id, AwardRelationship.submission_id == None, AwardRelationship.comment_id == None).all(): @@ -380,6 +407,30 @@ def buy(v, award): "color": "text-gold", "price": 50000 }, + "snow": { + "kind": "snow", + "title": "Snow", + "description": "???", + "icon": "fas fa-snowflake", + "color": "text-gray", + "price": 300 + }, + "mistletoe": { + "kind": "mistletoe", + "title": "Mistletoe", + "description": "???", + "icon": "fas fa-mistletoe", + "color": "text-gray", + "price": 600 + }, + "mariah": { + "kind": "mariah", + "title": "Mariah", + "description": "???", + "icon": "fas fa-music", + "color": "text-gray", + "price": 800 + }, } if award not in AWARDS: abort(400)