add: 8 more achievements

This commit is contained in:
trisua 2025-06-27 14:21:42 -04:00
parent 8d70f65863
commit a799c777ea
11 changed files with 121 additions and 18 deletions

View file

@ -265,6 +265,33 @@ impl DataManager {
self.add_achievement(&mut other_user, AchievementName::FollowedByStaff.into())
.await?;
}
// other achivements
self.add_achievement(&mut other_user, AchievementName::Get1Follower.into())
.await?;
if other_user.follower_count >= 9 {
self.add_achievement(&mut other_user, AchievementName::Get10Followers.into())
.await?;
}
if other_user.follower_count >= 49 {
self.add_achievement(&mut other_user, AchievementName::Get50Followers.into())
.await?;
}
if other_user.follower_count >= 99 {
self.add_achievement(&mut other_user, AchievementName::Get100Followers.into())
.await?;
}
if initiator.following_count >= 9 {
self.add_achievement(
&mut initiator.clone(),
AchievementName::Follow10Users.into(),
)
.await?;
}
}
// ...