feat(achievements): implement unlocking, saving and notification
This commit is contained in:
@@ -82,6 +82,11 @@ export const useContactStore = defineStore("contact", {
|
||||
{ notificationsYOffset: 20 },
|
||||
{ notificationsYOffset: 0, duration: 0.075 },
|
||||
);
|
||||
|
||||
if (this.notifications.length === 36) {
|
||||
const achievements = useAchievementsStore();
|
||||
achievements.unlock("contact_36_notifications");
|
||||
}
|
||||
},
|
||||
|
||||
animateOutro() {
|
||||
|
||||
Reference in New Issue
Block a user