add: 4 more achievements

This commit is contained in:
trisua 2025-06-29 18:38:32 -04:00
parent 50f4592de2
commit b501a7c5f0
5 changed files with 52 additions and 7 deletions

View file

@ -490,7 +490,7 @@ pub struct ExternalConnectionData {
}
/// The total number of achievements needed to 100% Tetratto!
pub const ACHIEVEMENTS: usize = 24;
pub const ACHIEVEMENTS: usize = 28;
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq, Eq)]
pub enum AchievementName {
@ -518,6 +518,10 @@ pub enum AchievementName {
JoinCommunity,
CreateDraft,
EditPost,
Enable2fa,
EditNote,
CreatePostWithTitle,
CreateRepost,
}
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq, Eq)]
@ -554,6 +558,10 @@ impl AchievementName {
Self::JoinCommunity => "A sense of community...",
Self::CreateDraft => "Maybe later!",
Self::EditPost => "Grammar police?",
Self::Enable2fa => "Locked in",
Self::EditNote => "I take it back!",
Self::CreatePostWithTitle => "Must declutter",
Self::CreateRepost => "More than a like or a comment...",
}
}
@ -575,7 +583,7 @@ impl AchievementName {
Self::Get50Likes => "Get 50 likes on one post.",
Self::Get100Likes => "Get 100 likes on one post.",
Self::Get25Dislikes => "Get 25 dislikes on one post... :(",
Self::Get1Follower => "Get 1 follow. Cool!",
Self::Get1Follower => "Get 1 follower. Cool!",
Self::Get10Followers => "Get 10 followers. You're getting popular!",
Self::Get50Followers => "Get 50 followers. Okay, you're fairly popular!",
Self::Get100Followers => "Get 100 followers. You might be famous..?",
@ -583,6 +591,10 @@ impl AchievementName {
Self::JoinCommunity => "Join a community. Welcome!",
Self::CreateDraft => "Save a post as a draft.",
Self::EditPost => "Edit a post.",
Self::Enable2fa => "Enable TOTP 2FA.",
Self::EditNote => "Edit a note.",
Self::CreatePostWithTitle => "Create a post with a title.",
Self::CreateRepost => "Create a repost or quote.",
}
}
@ -614,6 +626,10 @@ impl AchievementName {
Self::JoinCommunity => Common,
Self::CreateDraft => Common,
Self::EditPost => Common,
Self::Enable2fa => Rare,
Self::EditNote => Uncommon,
Self::CreatePostWithTitle => Common,
Self::CreateRepost => Common,
}
}
}