add: 8 more achievements
This commit is contained in:
parent
8d70f65863
commit
a799c777ea
11 changed files with 121 additions and 18 deletions
|
@ -261,6 +261,9 @@ pub struct UserSettings {
|
|||
/// Increase the text size of buttons and paragraphs.
|
||||
#[serde(default)]
|
||||
pub large_text: bool,
|
||||
/// Disable achievements.
|
||||
#[serde(default)]
|
||||
pub disable_achievements: bool,
|
||||
}
|
||||
|
||||
fn mime_avif() -> String {
|
||||
|
@ -478,7 +481,7 @@ pub struct ExternalConnectionData {
|
|||
}
|
||||
|
||||
/// The total number of achievements needed to 100% Tetratto!
|
||||
pub const ACHIEVEMENTS: usize = 16;
|
||||
pub const ACHIEVEMENTS: usize = 24;
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq, Eq)]
|
||||
pub enum AchievementName {
|
||||
|
@ -498,6 +501,14 @@ pub enum AchievementName {
|
|||
Get50Likes,
|
||||
Get100Likes,
|
||||
Get25Dislikes,
|
||||
Get1Follower,
|
||||
Get10Followers,
|
||||
Get50Followers,
|
||||
Get100Followers,
|
||||
Follow10Users,
|
||||
JoinCommunity,
|
||||
CreateDraft,
|
||||
EditPost,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq, Eq)]
|
||||
|
@ -526,6 +537,14 @@ impl AchievementName {
|
|||
Self::Get50Likes => "banger post follow for more",
|
||||
Self::Get100Likes => "everyone liked that",
|
||||
Self::Get25Dislikes => "Sorry...",
|
||||
Self::Get1Follower => "Friends?",
|
||||
Self::Get10Followers => "Friends!",
|
||||
Self::Get50Followers => "50 WHOLE FOLLOWERS??",
|
||||
Self::Get100Followers => "Everyone is my friend!",
|
||||
Self::Follow10Users => "Big fan",
|
||||
Self::JoinCommunity => "A sense of community...",
|
||||
Self::CreateDraft => "Maybe later!",
|
||||
Self::EditPost => "Grammar police?",
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -547,6 +566,14 @@ 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::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..?",
|
||||
Self::Follow10Users => "Follow 10 other users. I'm sure people appreciate it!",
|
||||
Self::JoinCommunity => "Join a community. Welcome!",
|
||||
Self::CreateDraft => "Save a post as a draft.",
|
||||
Self::EditPost => "Edit a post.",
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -570,6 +597,14 @@ impl AchievementName {
|
|||
Self::Get50Likes => Uncommon,
|
||||
Self::Get100Likes => Rare,
|
||||
Self::Get25Dislikes => Uncommon,
|
||||
Self::Get1Follower => Common,
|
||||
Self::Get10Followers => Common,
|
||||
Self::Get50Followers => Uncommon,
|
||||
Self::Get100Followers => Rare,
|
||||
Self::Follow10Users => Common,
|
||||
Self::JoinCommunity => Common,
|
||||
Self::CreateDraft => Common,
|
||||
Self::EditPost => Common,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue