Skip to content

Commit

Permalink
New achievement: Devout
Browse files Browse the repository at this point in the history
Accumulate a year of play time
  • Loading branch information
AntumDeluge committed Jun 22, 2024
1 parent 07339e4 commit 78c00aa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ public Collection<Achievement> createAchievements() {
Achievement.HARD_BASE_SCORE, true,
new AgeGreaterThanCondition((MathHelper.MINUTES_IN_ONE_DAY * 182) - 1)));

achievements.add(createAchievement(
"age.hours.08760", "Devout",
"Accumulate a year of play time",
Achievement.EXTREME_BASE_SCORE, true,
new AgeGreaterThanCondition((MathHelper.MINUTES_IN_ONE_DAY * 365) - 1)));

return achievements;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,9 @@ public void testAcclimating() {
public void testSturdyFoundation() {
testAchievement(4368, Achievement.HARD_BASE_SCORE);
}

@Test
public void testDevout() {
testAchievement(8760, Achievement.EXTREME_BASE_SCORE);
}
}

0 comments on commit 78c00aa

Please sign in to comment.