Add achievements, profile and profile settings, add flash when accessing unathorized content

This commit is contained in:
csd4ni3l
2025-08-15 15:56:11 +02:00
parent 64263d1bd4
commit 3cca37f814
8 changed files with 380 additions and 34 deletions

View File

@@ -12,4 +12,18 @@ DATABASE_FILE = "data.db"
MINIMUM_OCR_SIMILARITY = 0.7
OCR_CHALLENGE_LENGTH = 1
ACHIEVEMENTS = [
[1, "I went outside!", "Brag to your friends with this one! You went outside the first time in your life. Continue on your journey."],
[3, "Keeping up the streak!", "You went outside 3 times. Great job! (You should get one, btw)"],
[7, "Out for a week!", "7 days of breathing fresh air, you're practically a nature veteran."],
[14, "Two Weeks in the Wild", "Careful, you might be starting to get a tan."],
[30, "One with the Outdoors", "An entire month! Are you sure youre still a gamer?"],
[50, "Grass Connoisseur", "You can now identify at least three different types of grass by touch alone."],
[100, "Master of Chlorophyll", "The grass respects you now."],
[200, "Photosynthesis Apprentice", "You spend so much time outside that plants start thinking you're one of them."],
[365, "Solar-Powered", "A whole year of going outside, you've unlocked infinite vitamin D."],
[500, "Grass Whisperer", "You hear the lawn speaking to you. It's weirdly supportive."],
[1000, "Legendary Lawn Treader", "Songs will be sung of your bravery and your sandals."],
]
UPLOAD_DIR = os.path.join(os.getcwd(), UPLOAD_DIR)